problem with building libraries on AIX 5.3

Matthew Andrews matt at slackers.net
Fri Aug 24 22:57:37 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthew Andrews wrote:
> Sam Hartman wrote:
>> Question: Why do we want to link rtl libraries at all?  When that
>> patch went in I never understood it.
> 
>> --Sam

so, I looked into this a bit further. If I change the AIX xlc section of
shlib.conf as follows:

SHLIBVEXT='.a.$(LIBMAJOR).$(LIBMINOR)'
SHLIBEXT=.a

builds fail when trying to build the db2 kdb plugin(make complains of no
rule to create db2.so). If I then change the value of SO_EXT in
plugins/kdb/db2/Makefile.in to .a the build completes but when I run
kdb5_util it can't find the plugin. if I then rename the plugin to
.so(or no extension at all) kdb5_util runs as expected.

so, my question is, if we were to revert the -rtl patches, would it make
more sense to make the plugin code look for .a files as well as .so
files, or would it be preferable to add rules to generate .so files for
plugins even though normal linking on AIX expects .a files unless you
are doing run-time linking.

- -Matt Andrews
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGz5qhpLF3UzlwZVgRAmtJAKDBewSYRH8DTE/zB7bVxFnGpphNTgCbBff9
yc0L2jPSjPbhUa/Cr987JfA=
=vl4+
-----END PGP SIGNATURE-----



More information about the krbdev mailing list