[Top][All Lists]

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

Re: -dlopen self on AIX

From: Albert Chin
Subject: Re: -dlopen self on AIX
Date: Sun, 30 Oct 2005 21:56:22 -0600
User-agent: Mutt/1.5.6i

On Sun, Oct 30, 2005 at 12:10:23PM -0800, Howard Chu wrote:
> Albert Chin wrote:
> > [snip ...]
> >
> >Dynamic module support in openldap-2.3.x isn't working on AIX for the
> >above reason. Using -bexpall or -bE when linking the main binary does
> >work though. While the main binary, slapd, doesn't dlopen itself,
> >modules it dlopen()'s cannot resolve symbols in slapd because they
> >weren't exported.
> I don't recall what particular hacks we've done to libtool for this on 
> AIX, but Symas builds everything as dynamic modules on all of our 
> platforms, and mostly It Just Works. (Including IBM AIX and z/OS, as 
> well as Solaris, HPUX, Linux, Windows, etc.) In general the only thing 
> I've hacked was to prevent build directories from being embedded into 
> the generated files, and to eliminate all relinking. I've submitted most 
> of our changes back to this list in the past; a lot may have fallen on 
> the floor since those were patches against libtool 1.4.

I'll follow up on the OpenLDAP mailing list. I can reproduce my error
with a virgin build/install of 2.3.11.

albert chin (address@hidden)

reply via email to

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