On Fri, 2006-02-10 at 13:06, Michael Di Domenico wrote: > On 10 Feb 2006 12:11:03 -0500, Hal Rosenstock <[EMAIL PROTECTED]> wrote: > > Hi Michael, > > > > On Fri, 2006-02-10 at 10:11, Michael Di Domenico wrote: > > > trying to compile libibmad, but not installing to /usr/local i'm > > > installing to /opt/openib. libibcommon and libibumad compiled just > > > fine with the same configure syntax > > > > > > (cd libibmad && ./autogen.sh && ./configure --prefix=/opt/openib > > > LDFLAGS=-L/opt/openib/lib CFLAGS=-I/opt/openib/include && make && make > > > install) > > > > > > /bin/sh ./libtool --mode=link --tag=CC gcc -I/opt/openib/include > > > -L/opt/openib/lib -o libibmad.la -rpath /opt/openib/lib -version-info > > > 1 -export-dynamic -Wl,--version-script=./src/libibmad.map > > > libibmad_la-dump.lo libibmad_la-fields.lo libibmad_la-mad.lo > > > libibmad_la-portid.lo libibmad_la-resolve.lo libibmad_la-rpc.lo > > > libibmad_la-sa.lo libibmad_la-smp.lo libibmad_la-gs.lo > > > libibmad_la-serv.lo libibmad_la-register.lo libibmad_la-vendor.lo > > > -libumad -libcommon > > > grep: /usr/local/lib/libibcommon.la: No such file or directory > > > /bin/sed: can't read /usr/local/lib/libibcommon.la: No such file or > > > directory > > > libtool: link: `/usr/local/lib/libibcommon.la' is not a valid libtool > > > archive > > > make[2]: *** [libibmad.la] Error 1 > > > make[2]: Leaving directory > > > `/usr/src/trunk/src/userspace/management/libibmad' > > > make[1]: *** [all-recursive] Error 1 > > > make[1]: Leaving directory > > > `/usr/src/trunk/src/userspace/management/libibmad' > > > make: *** [all] Error 2 > > > > > > I worked around the problem by linking /usr/local/lib to > > > /opt/openib/lib temp. and it seemed to go through just fine... I'm > > > not sure if this is a hardcode somewhere or if this particuliar > > > library is picking up something strange that the others didnot > > > > It looks like libibcommon is not installed in /opt/openib/lib for some > > reason. What is is that directory ? Also, what is in /opt/openib/include > > ? Did you do make install the other libraries and in what order (and did > > those work) ? > > Hal, > > It definately was installed in the directory. I'm not exactly sure > what caused the problem. I ended up just removing the installation in > /opt/openib and doing a make clean, and then remake'ing the everything > and it seemed to go through just fine, so perhaps there was an old .o > file lying around. I managed to pull this from libtool --debug, but > i'm not sure what caused it > > After the make clean, everything seemed to go in smoothly, so i'm not > sure what happened.
That makes two of us :-( Some others may have experienced this as well and when they cleaned and rebuilt everything was OK. I'm not sure what causes this but haven't been able to recreate this. -- Hal > ++ echo X/opt/openib/lib/libibumad.la > ++ /bin/sed -e '1s/^X//' -e 's%/[^/]*$%%' > + ladir=/opt/openib/lib > + test X/opt/openib/lib = X/opt/openib/lib/libibumad.la > + dlname= > + dlopen= > + dlpreopen= > + libdir= > + library_names= > + old_library= > + installed=yes > + shouldnotlink=no > + case $lib in > + . /opt/openib/lib/libibumad.la > ++ dlname=libibumad.so.1 > ++ library_names='libibumad.so.1.0.0 libibumad.so.1 libibumad.so' > ++ old_library=libibumad.a > ++ dependency_libs=' -L/opt/openib/lib /usr/local/lib/libibcommon.la' > ++ current=1 > ++ age=0 > ++ revision=0 > ++ installed=yes > ++ shouldnotlink=no > ++ dlopen= > ++ dlpreopen= > ++ libdir=/opt/openib/lib > + test prog,scan = lib,link > + test prog,scan = prog,scan > + test -n '' > + test -n '' > + test scan = conv > + linklib= > + for l in '$old_library' '$library_names' > _______________________________________________ > openib-general mailing list > [email protected] > http://openib.org/mailman/listinfo/openib-general > > To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
