[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AIX 5.2 module without AR container?
From: |
Kent Boortz |
Subject: |
Re: AIX 5.2 module without AR container? |
Date: |
Tue, 12 Sep 2006 17:14:04 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.2 (darwin) |
Ralf Wildenhues <address@hidden> writes:
<snip>
>> - How do I prevent the AR version to be installed with "make install",
>> but instead get the ".so" version, i.e. a module I can load?
>
> Use runtimelinking when compiling libltdl:
> ./configure LDFLAGS=-Wl,-brtl
>
> If in doubt, use that always, as runtimelinking is closer to what people
> used to ELF semantics expect.
Works great, thanks!
>> - I saw there are some versions, or hacked versions, of "ltdl.c"
>> floating round that sets RTLD_MEMBER on AIX, enabling opening
>> a "module" inside a AR container. As far as I can see, this never
>> made it to the official source, why not?
>
> Please post a reference.
Found it in KDE and unixODBC, see RTLD_MEMBER
http://unixodbc.cvs.sourceforge.net/unixodbc/unixODBC/libltdl/ltdl.c?revision=1.18&view=markup
http://distro.ibiblio.org/pub/linux/distributions/sourcemage/codex/stable/database/unixodbc/ltdl.diff
Again, thanks,
kent
--
Kent Boortz, Senior Software Developer
MySQL AB, www.mysql.com
Office: +46 18 174400 ext. 4450 (VoIP)
Office: +46 19 182931
Mobile: +46 70 2791171