Re: [suse-sles-e] Compiling against openldap2-devel-2.2.6-37.19

From: J.H.M. Dassen (Ray) (rdassen_at_novell.com)
Date: Tue May 16 2006 - 09:11:43 CEST


Date: Tue, 16 May 2006 09:11:43 +0200
From: "J.H.M. Dassen (Ray)" <rdassen@novell.com>
Message-ID: <20060516071143.GA23901@tapir.cpl.novell.com>
Subject: Re: [suse-sles-e] Compiling against openldap2-devel-2.2.6-37.19

On Mon, May 15, 2006 at 15:53:27 -0500, Dominic J. Eidson wrote:
> Is there any reason that openldap2-devel-2.2.6-37.19's libldap.a was not
> compiled with -fPIC?

Yes. It's a statically linked library; building it -fPIC makes little sense.
The real question is why the linker is trying to use the statically linked
library here instead of the dynamically linked one (libldap.so) which is in
the same package.

-- 
Ray Dassen
Technical Support Engineer, EMEA Services Center, Novell Technical Services
Novell, Inc.  Software for the Open Enterprise   http://www.novell.com/open
---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com


This archive was generated by hypermail 2.1.7 : Tue May 16 2006 - 09:12:11 CEST