libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SGI IRIX: wrong version of lib is linked


From: Liwei Peng
Subject: SGI IRIX: wrong version of lib is linked
Date: Mon, 5 Aug 2002 08:42:52 -0700 (PDT)

Hi,

I am using libtool as part of autoconf to build a C++
library on SGI IRIX 6.5. The library depends on
libtiff.
Unfortunately, if I didn't put the absolute path for
libtiff, libtool will link a wrong libtiff.so for me.

I am using libtool 1.4e from cvs tree (7/10/2002),
automake 1.6.2, autoconf 2.53.

Here is the build message:

--------------------------------------------------------
/bin/sh ../libtool --mode=link CC -O2 -n32 -w  -o
libEM.la -rpath
/homes/lpeng/EMAN/lib -version-info "1:0:0" 
Cylinder.lo EMPif.lo -ltiff 

creating reloadable object files...
creating a temporary reloadable object file:
.libs/libEM.la-3.o
CC -n32 -r -o .libs/libEM.la-1.o .libs/Cylinder.o
CC -n32 -r -o .libs/libEM.la-2.o .libs/EMPif.o
.libs/libEM.la-1.o
CC -n32 -r -o .libs/libEM.la-3.o .libs/EMIcos.o
.libs/libEM.la-2.o

CC -n32 -shared .libs/libEM.la-3.o 
/3demshare/irix6.2/lib32/libtiff.so
-lc  -soname libEM.so.2 `test -n "sgi2.0" && echo
-set_version sgi2.0`
-update_registry .libs/so_locations -o
.libs/libEM.so.2.0

--------------------------------------------------------

The right library should be: /usr/lib32/libtiff.so.
Can anyone
tell me why it linked to
/3demshare/irix6.2/lib32/libtiff.so?

Thanks.

Liwei


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]