bug-libtool
[Top][All Lists]
Advanced

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

Re: Bug in generation of static link lines for three specific libraries


From: Eric S. Raymond
Subject: Re: Bug in generation of static link lines for three specific libraries
Date: Thu, 17 May 2007 17:44:33 -0400
User-agent: Mutt/1.5.12-2006-07-14

Noah Misch <address@hidden>:
> It looks like the system integrator built these libraries with
> --disable-shared.  Do any of /usr/lib/libg{module,thread,lib}-2.0.a
> exist?  If so, please post the contents of /usr/lib/libglib-2.0.la.

They do exist.

address@hidden:~$ ls /usr/lib/libg{module,thread,lib}-2.0.a
/usr/lib/libglib-2.0.a  /usr/lib/libgmodule-2.0.a  /usr/lib/libgthread-2.0.a

Here is the contents of the .la file:

address@hidden:~$ cat /usr/lib/libglib-2.0.la
# libglib-2.0.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libglib-2.0.so.0'

# Names of this library.
library_names='libglib-2.0.so.0.1200.4 libglib-2.0.so.0 libglib-2.0.so'

# The name of the static archive.
old_library=''

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

# Version information for libglib-2.0.
current=1200
age=1200
revision=4

# Is this an already installed library?
installed=yes

# Should we warn about portability when linking against -modules?
shouldnotlink=no

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

# Directory that this library needs to be installed in:
libdir='/usr/lib'
address@hidden:~$ 

> Libtool currently tries to use a dynamic library when there is no
> static library available, even when attempting a fully static link.
> I imagine this fails on most systems.  It should probably print a
> message and fail, instead.

Agreed.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>




reply via email to

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