libtool
[Top][All Lists]
Advanced

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

Re: only static libraries created


From: Bernhard . Rumpler
Subject: Re: only static libraries created
Date: Tue, 30 Sep 2003 10:23:38 +0200

On 26.09.2003 02:44:28 address@hidden wrote:
>Bob Friesenhahn wrote:
>> On Thu, 25 Sep 2003, Bernhard Rumpler wrote:
>>>When I try to link static libraries, then a warning "Linking the shared
>>>library libgtkhtml-2.la against a loadable module - libhtmllayouthtml.a 
is
>>>not portable!" is displayed. What does "not portable" mean in this
>>>context?
>>
>> I suspect that this complaint is because the library doesn't have
>> versioning information as part of its name.
>
>This complaint is because libhtmllayouthtml.la was linked with the
>-module flag to libtool, which means it is meant to be a dlopenable
>module, and on some platforms (Mac OS X/darwin NetBSD/a.out) may not be
>used as input to the linker.
>
>If libhtmllayouthtml.la was not linked with the -module flag, it is a 
bug.

no, it is not linked with the -module flag. Could the problem be caused by
my modifications of the respective ".la"-file, as described in another
message of this thread:

Bernhard Rumpler wrote:
>For now I always have to modify the respective .la files of the
>.a files in the subdirectories, to be able to link them. For this
>I set library_name (?? is this OK??) to the name of the .a file,
>installed=yes and the libdir to the respective .libs directory
>containing the .a file. Not a very good solution, and I'm also quite
>unsure, if this can cause problems.

thanks,
Bernhard




reply via email to

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