[Top][All Lists]

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

Re: Static Library Linking Issue

From: Gavin Norman
Subject: Re: Static Library Linking Issue
Date: Fri, 28 Nov 2008 12:00:50 +1100
User-agent: RoundCube Webmail/0.1-rc1

If I try and link the static libs with LDFLAGS -version-info, rather then
static, I get a large amount of undefined reference errors from the shared
object file:

../../common/.libs/ undefined reference to
../../common/.libs/ undefined reference to
../../common/.libs/ undefined reference to
../../common/.libs/ undefined reference to
../../common/.libs/ undefined reference to
../../common/.libs/ undefined reference to
collect2: ld returned 1 exit status  

On Mon, 24 Nov 2008 11:43:39 -0600 (CST), Bob Friesenhahn
<address@hidden> wrote:
> On Mon, 24 Nov 2008, Gavin Norman wrote:
>> I'm trying to link a module library that can be used for dlopen against
>> a static lib. This is the issue I get:
> Libtool will not allow that since it can't assure that the static
> library has been built appropriately to do anything more than core
> dump.  However, you can use a libtool convenience library, which is
> always assured to have been built appropriately for use in a shared
> library or module.
> Bob
> ======================================
> Bob Friesenhahn
> address@hidden,
> GraphicsMagick Maintainer,
Gavin Norman
M: +614 0935 4020
E: address@hidden

reply via email to

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