[openfabrics-ewg] RC7 sles9 sp3 ibutils compile error

Hoang-Nam Nguyen HNGUYEN at de.ibm.com
Mon Oct 9 03:10:22 PDT 2006


Hi,
> The error file is very big ...
> See the error below,
> Any one knows why it trys to find
/var/tmp/OFED/usr/local/ofed/lib64/libibdm.so as 32 bit .
> It was compiled as 64 bits .
Don't know. But if the executable is 64/32 bit then the system should look
for required libs
in 64/32 bit respectively. That's what I've observed on ppc64 systems when
I called
eg ibv_ud_pingpong in 64/32 bit.

Anyway we have tested OFED-1.1-rc7 on ppc64 kernel 2.6.18 and encountered
similar problems
after having called install.sh:

* ibv_ud/uc/rc_pingpong64 are stored in /usr/local/bin
#file /usr/local/bin/ibv_ud_pingpong64
/usr/local/bin/ibv_ud_pingpong64: ELF 64-bit MSB executable, cisco 7500,
version 1 (SYSV), for GNU/Linux 2.4.21, dynamically linked (uses shared
libs), not stripped

* There is no corresponding 32 bit versions of them

* In /usr/local/ofed/lib all libs are compiled as 32 bit
#file libibverbs.so.1.0.0
libibverbs.so.1.0.0: ELF 32-bit MSB shared object, PowerPC or cisco 4500,
version 1 (SYSV), not stripped
#file infiniband/mthca.so
infiniband/mthca.so: ELF 32-bit MSB shared object, PowerPC or cisco 4500,
version 1 (SYSV), not stripped
I have tested with mthca and ehca and saw the same issue. I haven't look at
in build.sh etc, but any
any hints/comments are appreciated!
BTW: Is it better to create libmthca.so instead mthca.so?

Nam Nguyen





More information about the ewg mailing list