So I don't understand it then... Why are my RPMs only containing one of the two 
versions. I'm running on ES and not AS but that shouldn't really matter...
 
This output that you list :
 
[EMAIL PROTECTED] 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

Is exactly what I would have expected as well, but my RPM says :
 
[EMAIL PROTECTED] redhat-release-4ES-5.5]# pwd
/root/OFED-1.2-rc2/RPMS/redhat-release-4ES-5.5
[EMAIL PROTECTED] 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

I'm lookin through the build log (/tmp/OFED.build.xxx.log) and both versions 
get compiled, but it looks like the 32bit libraries (which gets compiled last) 
overwrites the 64bit libraries in the "make install" section because both ends 
up in /usr/lib :
 
(64bit section of the build) :
 
/usr/bin/install -c src/.libs/libibverbs.so.1.0.0 
/var/tmp/OFED/usr/lib/libibverbs.so.1.0.0
(cd /var/tmp/OFED/usr/lib && { ln -s -f libibverbs.so.1.0.0 libibverbs.so.1 || 
{ rm -f libibverbs.so.1 && ln -s libibverbs.so.1.0.0 libibverbs.so.1; }; })
(cd /var/tmp/OFED/usr/lib && { ln -s -f libibverbs.so.1.0.0 libibverbs.so || { 
rm -f libibverbs.so && ln -s libibverbs.so.1.0.0 libibverbs.so; }; })

 
(32bit section of the build) :
/usr/bin/install -c src/.libs/libibverbs.so.1.0.0 
/var/tmp/OFED/usr/lib/libibverbs.so.1.0.0
(cd /var/tmp/OFED/usr/lib && { ln -s -f libibverbs.so.1.0.0 libibverbs.so.1 || 
{ rm -f libibverbs.so.1 && ln -s libibverbs.so.1.0.0 libibverbs.so.1; }; })
(cd /var/tmp/OFED/usr/lib && { ln -s -f libibverbs.so.1.0.0 libibverbs.so || { 
rm -f libibverbs.so && ln -s libibverbs.so.1.0.0 libibverbs.so; }; })

 
So the question is, why is the 64bit section ending up in <buildpath>/usr/lib 
in the first place ???
 
I do see this though :
 
/bin/rm -f /var/tmp/OFEDRPM/BUILD/ofa_user-1.2/configure.cache
cd /var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/libibverbs
Running: env ac_cv_lib_ibverbs_ibv_get_device_list=yes 
ac_cv_header_infiniband_driver_h=yes ac_cv_func_ibv_read_sysfs_file=yes 
ac_cv_func_ibv_dontfork_range=
yes ac_cv_func_ibv_dofork_range=yes ac_cv_func_ibv_register_driver=yes 
HAVE_IBV_DEVICE_LIBRARY_EXTENSION_TRUE=yes  ./configure 
--cache-file=/var/tmp/OFEDRPM/
BUILD/ofa_user-1.2/configure.cache --disable-libcheck --prefix /usr --libdir 
/usr/lib --mandir=/usr/man --sysconfdir=/usr/etc 
CPPFLAGS="-I../libibverbs/include"

 
--libdir /usr/lib ??? shouldn't that be --libdir /usr/lib64 for the 64bit 
section ?
 
Cheers,
Steffen Persvold
Technical Director Americas
tel. 508-281-7100 x401
fax. 508-281-7171

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

________________________________

From: Chieng Etta [mailto:[EMAIL PROTECTED]
Sent: Thu 5/3/2007 3:26 PM
To: Steffen Persvold; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [ewg] OFED 1.2 RC2 on rhel4u4 x86_64



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

[EMAIL PROTECTED] etc]# cat /etc/*release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
[EMAIL PROTECTED] 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

[EMAIL PROTECTED] lib64]# pwd
/usr/lib64
[EMAIL PROTECTED] lib64]# ll libibverbs*
ls: libibverbs*: No such file or directory

[EMAIL PROTECTED] lib64]# rpm -aq |grep libibverbs

[EMAIL PROTECTED] lib64]# cd -
/root/images/OFED-1.2-rc2/RPMS/redhat-release-4AS-5.5
[EMAIL PROTECTED] 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

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

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

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

[EMAIL PROTECTED] 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

[EMAIL PROTECTED] 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

[EMAIL PROTECTED] lib]# cd /usr/lib
[EMAIL PROTECTED] 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

[EMAIL PROTECTED] etc]# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/ofed/lib64

[EMAIL PROTECTED] etc]# cat /etc/ld.so.conf.d/ofed.conf
/usr/lib64
/usr/lib
   

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steffen Persvold
Sent: Thursday, May 03, 2007 10:26 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
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:[EMAIL PROTECTED]
> Sent: Thursday, May 03, 2007 9:07 AM
> To: Steffen Persvold
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > 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: [EMAIL PROTECTED] on behalf of Steffen
Persvold
> > Sent: Wed 5/2/2007 10:20 AM
> > To: Vladimir Sokolovsky
> > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > 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: [EMAIL PROTECTED] on behalf of Vladimir
> > Sokolovsky
> > Sent: Wed 5/2/2007 10:05 AM
> > To: Steffen Persvold
> > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > 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
> > > [EMAIL PROTECTED]
> > > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
> >
> > _______________________________________________
> > ewg mailing list
> > [EMAIL PROTECTED]
> > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
> >
> >
> >

_______________________________________________
ewg mailing list
[EMAIL PROTECTED]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg



_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to