You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Julian Foad <ju...@btopenworld.com> on 2003/11/13 17:55:06 UTC

libtool: link: warning: `libdb-4.1.la' seems to be moved

I have just upgraded from SuSE Linux 8.1 to 9.0.  Now, when I build Subversion, I am getting these warnings:

libtool: link: warning: `/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../..//libdb-4.1.la' seems to be moved

That file exists:

~> ls -op /usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../..//libdb-4.1.la
-rw-r--r--    1 root          703 2003-09-23 16:32 /usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../..//libdb-4.1.la

but it was created by libtool 1.4, and I now have libtool 1.5.

Does that need to be updated and, if so, how?  I tried:

linux:/home/julianfoad # ldconfig
[there was no output]

I tried "make distclean" in my build directory (which is separate from my source directory):

~/build/subversion> make distclean
[...]
~/build/subversion> make
[...]
cd subversion/libsvn_subr && /bin/sh /home/julianfoad/build/subversion/libtool --silent --mode=link gcc  -g -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -DNEON_ZLIB -DSVN_DEBUG -DAP_DEBUG -Wpointer-arith -Wwrite-strings -Wshadow -std=c89    -rpath /usr/local/lib -o libsvn_subr-1.la auth.lo cmdline.lo config.lo config_auth.lo config_file.lo config_win.lo error.lo getdate.lo hash.lo io.lo md5.lo opt.lo path.lo pool.lo quoprint.lo sorts.lo stream.lo subst.lo svn_base64.lo svn_string.lo target.lo time.lo utf.lo validate.lo xml.lo /home/julianfoad/build/subversion/apr-util/libaprutil-1.la -ldb-4.1 -lexpat /home/julianfoad/build/subversion/apr/libapr-1.la -lrt -lm -lcrypt -lnsl  -lpthread -ldl
cd subversion/libsvn_delta && /bin/sh /home/julianfoad/build/subversion/libtool --silent --mode=link gcc  -g -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -DNEON_ZLIB -DSVN_DEBUG -DAP_DEBUG -Wpointer-arith -Wwrite-strings -Wshadow -std=c89    -rpath /usr/local/lib -o libsvn_delta-1.la cancel.lo compose_delta.lo default_editor.lo path_driver.lo svndiff.lo text_delta.lo vdelta.lo ../../subversion/libsvn_subr/libsvn_subr-1.la /home/julianfoad/build/subversion/apr-util/libaprutil-1.la -ldb-4.1 -lexpat /home/julianfoad/build/subversion/apr/libapr-1.la -lrt -lm -lcrypt -lnsl  -lpthread -ldl
libtool: link: warning: `/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../..//libdb-4.1.la' seems to be moved
[...]

The build completes in spite of these warnings.  Some of the link stages give no warning, such as the first one pasted above, and some give more than one, but all of the warnings are identical as far as I can see.

Can anyone tell me what I should do?  Apologies if it is not a Subversion-specific question.

- Julian


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: libtool: link: warning: `libdb-4.1.la' seems to be moved

Posted by Julian Foad <ju...@btopenworld.com>.
Joe Orton wrote:
> On Thu, Nov 13, 2003 at 03:10:08PM -0800, Justin Erenkrantz wrote:
> 
>>--On Thursday, November 13, 2003 17:55:06 +0000 Julian Foad 
>><ju...@btopenworld.com> wrote:
>>
>>>libtool: link: warning:
>>>`/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../..//libdb-4.1.la' seems to
>>>be moved
>>
>>This has nothing to do with SVN.  It's that GNU libtool records where the 
>>libraries should be installed, and if it sees that the .la file is in a 
>>different path, it emits this warning.
>>
>>You should check your libdb-4.1.la file and see if the 'install_path' (or 
>>whatever it's called, I forget) matches the path where libdb-4.1.la 
>>actually exists.  -- justin

The only likely-looking line within that file (/usr/lib/libdb-4.1.la, pasted below) is:

  libdir='/usr/lib'


> Yeah, the check is triggering false positives in libtool 1.5, it seems
> because of the // in the path, I've seen this too with other libraries.

So, are you saying that this is a bug in libtool 1.5, so I should just ignore it until it gets fixed, or do you think there is something that I could do locally to avoid the warning?  I don't know what is generating the path that has "//" in it.

- Julian


The whole file (/usr/lib/libdb-4.1.la):

# libdb-4.1.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4.2 (1.922.2.53 2001/09/11 03:18:52)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libdb-4.1.so'

# Names of this library.
library_names='libdb-4.1.so libdb-4.1.so libdb-4.1.so'

# The name of the static archive.
old_library='libdb-4.1.a'

# Libraries that this one depends upon.
dependency_libs=''

# Version information for libdb-4.1.
current=0
age=0
revision=0

# Is this an already installed library?
installed=yes

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/lib'


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: libtool: link: warning: `libdb-4.1.la' seems to be moved

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Thu, Nov 13, 2003 at 03:10:08PM -0800, Justin Erenkrantz wrote:
> --On Thursday, November 13, 2003 17:55:06 +0000 Julian Foad 
> <ju...@btopenworld.com> wrote:
> 
> >libtool: link: warning:
> >`/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../..//libdb-4.1.la' seems to
> >be moved
> 
> This has nothing to do with SVN.  It's that GNU libtool records where the 
> libraries should be installed, and if it sees that the .la file is in a 
> different path, it emits this warning.
> 
> You should check your libdb-4.1.la file and see if the 'install_path' (or 
> whatever it's called, I forget) matches the path where libdb-4.1.la 
> actually exists.  -- justin

Yeah, the check is triggering false positives in libtool 1.5, it seems
because of the // in the path, I've seen this too with other libraries.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: libtool: link: warning: `libdb-4.1.la' seems to be moved

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
--On Thursday, November 13, 2003 17:55:06 +0000 Julian Foad 
<ju...@btopenworld.com> wrote:

> libtool: link: warning:
> `/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../..//libdb-4.1.la' seems to
> be moved

This has nothing to do with SVN.  It's that GNU libtool records where the 
libraries should be installed, and if it sees that the .la file is in a 
different path, it emits this warning.

You should check your libdb-4.1.la file and see if the 'install_path' (or 
whatever it's called, I forget) matches the path where libdb-4.1.la 
actually exists.  -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org