[ewg] OFED 1.2 RC2 on rhel4u4 x86_64

Chieng Etta etta at systemfabricworks.com
Thu May 3 12:26:05 PDT 2007


Hi Steffen,

After removing all the OFED packages by using ./uninstall.sh, I tried
./build.sh to build the RPMs then installed libibverbs-1.1-0.x86_64.rpm onto
system.  "libibverbs.so.1.0.0" was installed under the right directories
(/usr/lib and /usr/lib64).  Please see the output below.  
Thanks,
Etta

[root at sfw1 etc]# cat /etc/*release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
[root at sfw1 etc]# uname -a
Linux sfw1.sfw.int 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64
x86_64 x86_64 GNU/Linux

[root at sfw1 lib64]# pwd
/usr/lib64
[root at sfw1 lib64]# ll libibverbs*
ls: libibverbs*: No such file or directory

[root at sfw1 lib64]# rpm -aq |grep libibverbs

[root at sfw1 lib64]# cd - 
/root/images/OFED-1.2-rc2/RPMS/redhat-release-4AS-5.5
[root at sfw1 redhat-release-4AS-5.5]# rpm -qpl libibverbs-1.1-0.x86_64.rpm
/etc/ld.so.conf.d/ofed.conf
/usr/lib/libibverbs.so.1
/usr/lib/libibverbs.so.1.0.0
/usr/lib64/libibverbs.so.1
/usr/lib64/libibverbs.so.1.0.0

[root at sfw1 redhat-release-4AS-5.5]# rpm -ivh libibverbs-1.1-0.x86_64.rpm
Preparing...             ########################################### [100%]
   1:libibverbs          ########################################### [100%]

[root at sfw1 redhat-release-4AS-5.5]# rpm -qp --qf "%{arch}\n"
libibverbs-1.1-0.x86_64.rpm
x86_64

[root at sfw1 redhat-release-4AS-5.5]# cd -
/usr/lib64
[root at sfw1 lib64]# rpm -aq |grep libibverbs
libibverbs-1.1-0

[root at sfw1 lib64]# ll libibverbs*
lrwxrwxrwx  1 root root     19 May  3 13:50 libibverbs.so.1 ->
libibverbs.so.1.0.0
-rwxr-xr-x  1 root root 200993 May  3 13:18 libibverbs.so.1.0.0

[root at sfw1 lib64]# file libibverbs.so.1.0.0
libibverbs.so.1.0.0: ELF 64-bit LSB shared object, AMD x86-64, version 1
(SYSV), not stripped

[root at sfw1 lib]# cd /usr/lib
[root at sfw1 lib]# file libibverbs.so.1.0.0
libibverbs.so.1.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1
(SYSV), not stripped

[root at sfw1 etc]# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/ofed/lib64

[root at sfw1 etc]# cat /etc/ld.so.conf.d/ofed.conf
/usr/lib64
/usr/lib
    

-----Original Message-----
From: ewg-bounces at lists.openfabrics.org
[mailto:ewg-bounces at lists.openfabrics.org] On Behalf Of Steffen Persvold
Sent: Thursday, May 03, 2007 10:26 AM
To: vlad at dev.mellanox.co.il
Cc: openfabrics-ewg at openib.org; openib-general at openib.org
Subject: RE: [ewg] OFED 1.2 RC2 on rhel4u4 x86_64

Vladimir,

Nope. Still the same issue. The RPMs will only contain one set of
libraries and it is always in /usr/lib (if I set the build_32bit=0
option I get the 64bit libraries but in the wrong directory).

Seriously, am I the only one seeing this ? I would think rhel4 u4 was a
very normal test platform ?

Cheers,

Steffen Persvold
Technical Director Americas
tel. 508-281-7100 x401
fax. 508-281-7171

http://www.scali.com/
Scaling the Linux datacenter


> -----Original Message-----
> From: Vladimir Sokolovsky [mailto:vlad at dev.mellanox.co.il]
> Sent: Thursday, May 03, 2007 9:07 AM
> To: Steffen Persvold
> Cc: openfabrics-ewg at openib.org; openib-general at openib.org
> Subject: RE: [ewg] OFED 1.2 RC2 on rhel4u4 x86_64
> 
> Please see if this happens in OFED-1.2-20070503-0600.
> But first uninstall the previous OFED version with ofed_uninstall.sh
> command.
> 
> Thanks,
> 
> Regards,
> Vladimir
> 
> On Wed, 2007-05-02 at 11:30 -0400, Steffen Persvold wrote:
> > Hmm,
> >
> > so I tried something. I put :
> >
> > build_32bit=0
> >
> > into my ofed.conf file and rebuilt (build.sh -c ofed.conf). This
time
> > it built 64bit libraries, but it puts them in the wrong directory :
> >
> > # rpm -qpl ../libibverbs-1.1-0.x86_64.rpm
> > /etc/ld.so.conf.d/ofed.conf
> > /usr/lib/libibverbs.so.1
> > /usr/lib/libibverbs.so.1.0.0
> >
> > # file /usr/lib/libibverbs.so.1.0.0
> > /usr/lib/libibverbs.so.1.0.0: ELF 64-bit LSB shared object, AMD
> > x86-64, version 1 (SYSV), not stripped
> >
> > So what's up ??
> >
> > Cheers,
> > Steffen Persvold
> > Technical Director Americas
> > tel. 508-281-7100 x401
> > fax. 508-281-7171
> >
> > http://www.scali.com/
> > Scaling the Linux datacenter
> >
> >
> >
______________________________________________________________________
> > From: Steffen Persvold
> > Sent: Wed 5/2/2007 10:30 AM
> > To: Steffen Persvold; Vladimir Sokolovsky
> > Cc: openfabrics-ewg at openib.org; openib-general at openib.org
> > Subject: RE: [ewg] OFED 1.2 RC2 on rhel4u4 x86_64
> >
> >
> > Also,
> >
> > If I look at the /etc/ld.so.conf/ofed.conf file I have :
> >
> > # cat ofed.conf
> > /usr/lib
> > /usr/lib
> >
> >
> > which seems kinda weird ? :)
> >
> > Cheers,
> >
> > Steffen Persvold
> > Technical Director Americas
> > tel. 508-281-7100 x401
> > fax. 508-281-7171
> >
> > http://www.scali.com/
> > Scaling the Linux datacenter
> >
> >
> >
______________________________________________________________________
> > From: ewg-bounces at lists.openfabrics.org on behalf of Steffen
Persvold
> > Sent: Wed 5/2/2007 10:20 AM
> > To: Vladimir Sokolovsky
> > Cc: openfabrics-ewg at openib.org; openib-general at openib.org
> > Subject: RE: [ewg] OFED 1.2 RC2 on rhel4u4 x86_64
> >
> >
> > Nope :
> >
> >
> > [redhat-release-4ES-5.5]# rpm -qpl libibverbs-1.1-0.x86_64.rpm
> > /etc/ld.so.conf.d/ofed.conf
> > /usr/lib/libibverbs.so.1
> > /usr/lib/libibverbs.so.1.0.0
> > [redhat-release-4ES-5.5]#
> >
> > So the RPM got built, but without 64bit libraries. Now if it was the
> > other way around (i.e no 32bit libraries) I could have understood it
> > (as 32bit is an option on x86_64), but not having the native 64bit
> > libraries is not so easy to understand :)
> >
> > cheers,
> > Steffen Persvold
> > Technical Director Americas
> > tel. 508-281-7100 x401
> > fax. 508-281-7171
> >
> > http://www.scali.com/
> > Scaling the Linux datacenter
> >
> >
> >
______________________________________________________________________
> > From: ewg-bounces at lists.openfabrics.org on behalf of Vladimir
> > Sokolovsky
> > Sent: Wed 5/2/2007 10:05 AM
> > To: Steffen Persvold
> > Cc: openfabrics-ewg at openib.org; openib-general at openib.org
> > Subject: Re: [ewg] OFED 1.2 RC2 on rhel4u4 x86_64
> >
> >
> > Don't you have /usr/lib64/libibverbs.so.1.0.0?
> >
> > Regards,
> > Vladimir
> >
> > On Wed, 2007-05-02 at 10:00 -0400, Steffen Persvold wrote:
> > > Folks,
> > >
> > > I used the build.sh script to build the above mentioned packages
on
> > > rhel4u4 x86_64, but for some reason it only compiles 32bit
libraries
> > > (even if the packages are named x86_64) :
> > >
> > > # rpm -qp --qf "%{arch}\n" libibverbs-1.1-0.x86_64.rpm
> > > x86_64
> > >
> > > (after installing it) :
> > >
> > > # file /usr/lib/libibverbs.so.1.0.0
> > > /usr/lib/libibverbs.so.1.0.0: ELF 32-bit LSB shared object, Intel
> > > 80386, version 1 (SYSV), not stripped
> > >
> > > What did I do wrong ??
> > >
> > > Cheers,
> > > Steffen Persvold
> > > Technical Director Americas
> > > tel. 508-281-7100 x401
> > > fax. 508-281-7171
> > >
> > > http://www.scali.com/
> > > Scaling the Linux datacenter
> > > _______________________________________________
> > > ewg mailing list
> > > ewg at lists.openfabrics.org
> > > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
> >
> > _______________________________________________
> > ewg mailing list
> > ewg at lists.openfabrics.org
> > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
> >
> >
> >

_______________________________________________
ewg mailing list
ewg at lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg




More information about the ewg mailing list