LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   libtool error (http://www.linuxquestions.org/questions/slackware-14/libtool-error-347347/)

xushi 07-27-2005 12:59 PM

libtool error
 
Hmm, i'm not sure what to do here..

Trying to compile, but i keep getting this error
Code:

libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved

My ld.so.conf file
Code:

/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
/usr/lib/qt/lib
/usr/lib/firefox

And i have libtool 1.5.14 installed.

Searching for these missing files, they are all found in
/usr/lib/

So i'm kind of in a mint twister here... heh

EDIT:
Sorry for not mentioning this, but everything does compile successfully.. I just get tons and tons of the above messages every time. That's why i'm asking (incase if its something serious)

Andrew Benton 07-27-2005 01:09 PM

What error? Libtool warnings are not errors, that's just libtool being flaky as usual

keefaz 07-27-2005 01:51 PM

Try add /usr/lib in /etc/ld.so.conf, then run ldconfig

xushi 07-27-2005 01:54 PM

Quote:

Originally posted by Andrew Benton
What error? Libtool warnings are not errors, that's just libtool being flaky as usual
This error :)
Code:

libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libxml2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libxml2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libxml2.la' seems to be moved
g++: ../../../../../subversion/libsvn_repos/.libs/libsvn_repos-1.so: No such file or directory
g++: ../../../../../subversion/libsvn_client/.libs/libsvn_client-1.so: No such file or directory
g++: ../../../../../subversion/libsvn_wc/.libs/libsvn_wc-1.so: No such file or directory
g++: ../../../../../subversion/libsvn_ra/.libs/libsvn_ra-1.so: No such file or directory
g++: ../../../../../subversion/libsvn_delta/.libs/libsvn_delta-1.so: No such file or directory
g++: ../../../../../subversion/libsvn_subr/.libs/libsvn_subr-1.so: No such file or directory
make: *** [subversion/bindings/java/javahl/native/libsvnjavahl-1.la] Error 1

edit:
Adding /usr/lib to ld.so.conf seems to have solved it. I'll double check now.
Thanks

EDIT:
Quote:

Libtool warnings are not errors, that's just libtool being flaky as usual
But is that normal/safe ? Because what i get is somewhat like this
Code:

libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libxml2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libxml2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libdb-4.2.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..//libxml2.la' seems to be moved
/download/subversion-1.2.1/ac-helpers/install-sh -c .libs/libsvnjavahl-1.so.0.0.0T /usr/local/lib/libsvnjavahl-1.so.0.0.0
(cd /usr/local/lib && rm -f libsvnjavahl-1.so.0 && ln -s libsvnjavahl-1.so.0.0.0 libsvnjavahl-1.so.0)
(cd /usr/local/lib && rm -f libsvnjavahl-1.so && ln -s libsvnjavahl-1.so.0.0.0 libsvnjavahl-1.so)
/download/subversion-1.2.1/ac-helpers/install-sh -c .libs/libsvnjavahl-1.lai /usr/local/lib/libsvnjavahl-1.la
/download/subversion-1.2.1/ac-helpers/install-sh -c .libs/libsvnjavahl-1.a /usr/local/lib/libsvnjavahl-1.a
ranlib /usr/local/lib/libsvnjavahl-1.a
chmod 644 /usr/local/lib/libsvnjavahl-1.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
  /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
  - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
    during execution
  - add LIBDIR to the `LD_RUN_PATH' environment variable
    during linking
  - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
  - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------


djmitche 01-27-2009 02:28 PM

There's nothing wrong with these warnings - they're spurious. libtool's getting confused by the "../" in the library paths, but these are entirely normal and come from using multilib.

Hopefully libtool will fix this warning soon, as the warnings are verbose and make it hard to spot real errors. However, note that upgrading a piece of software to a new version of libtool is *very* difficult and developers usually won't undertake to do so unless they must to solve a significant error.


All times are GMT -5. The time now is 08:11 PM.