Subject: Re: Libtool only building static libraries.
To: Nate Hill <vugdeox@freeshell.org>
From: Thomas Klausner <wiz@netbsd.org>
List: tech-pkg
Date: 08/07/2003 08:19:08
On Wed, Aug 06, 2003 at 07:12:10PM -0500, Nate Hill wrote:
> I've been having problems building the latest version of Kopete (I'm 
> making a package of 0.7) and it seems to be a problem with libtool:
> 
> *** Warning: This library needs some functionality provided by -lXss.
> *** I have the capability to make that library automatically link in 
> when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> *** The inter-library dependencies that have been dropped here will be
> *** automatically added whenever a program is linked with this library
> *** or is declared to -dlopen it.
> 
> *** Since this library must not contain undefined symbols,
> *** because either the platform does not support them or
> *** it was explicitly requested with -no-undefined,
> *** libtool will only create a static version of it.
> 
> These appear in many places during the build (s/-lXss/foo/). Does 
> anyone know exactly what it's doing and/or how to fix it?

It's pretty explicit in its message: It wants to build a shared
library, but one dependency, in this case libXss, is only
available as a static library, so it can only build a static library.

There's not much you can do about this, except provide a shared
libXss.
 Thomas