[Top][All Lists]

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

Re: Relinking to wrong version

From: Dustin J. Mitchell
Subject: Re: Relinking to wrong version
Date: Thu, 11 Oct 2007 17:39:42 -0500

On 10/11/07, Ralf Wildenhues <address@hidden> wrote:
> 1) Because ../common-src/ was an uninstalled library
> (it has "installed=no" inside), libtool expects that, upon installation
> of a library (, all its dependent uninstalled libraries
> ( have already been installed.  So it expects that
> /A/p/lib/ does exist (and is the just-installed library).
> Is that the case?

address@hidden /A/b/perl $ ls /A/p/lib/amanda/libamanda[-.]*
/A/p/lib/amanda/  /A/p/lib/amanda/libamanda.a
/A/p/lib/amanda/  /A/p/lib/amanda/

> 2) /A/p/lib/libamanda would be found by the relink command that libtool
> generates, except that your mode=link command happened to put -L/usr/lib
> early in the path.  Why is that, I can't see why that would be needed?
> Please try to execute the mode=link command that you posted, but remove
> the -L/usr/lib.  Then try the mode=install command.  Does the relink
> work right now?
> If yes, then it remains to find out where that originally came from.

Just removing -L/usr/lib from the mode=link command left -L/usr/lib
and -L/usr/lib64 in the file, and thus didn't help the
situation.  However, manually editing these options out of caused the mode=install command to produce a correctly
installed executable.

It turns out that this cruft is coming from libcurl's configuration tool:
  address@hidden /A/b $ curl-config --libs
  -L/usr/lib64 -lcurl -L/usr/lib -lssl -lcrypto -ldl -lz
So I'll trek on over there to see what that's about.

Also, your point #1 suggests that this won't be a problem for users
installing over an older version, because the new libamanda.{so,la}
will already be installed when the new gets relinked.  So
I'll happy hack around this in some way gets me back to coding.

Thanks for your spot-on analysis!


Storage Software Engineer

reply via email to

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