[Top][All Lists]

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

Re: AIX shared libraries, make install misses them

From: Michael Perzl
Subject: Re: AIX shared libraries, make install misses them
Date: Fri, 29 Jan 2010 19:46:57 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100120 Fedora/3.0.1-1.fc12 Thunderbird/3.0.1

Hello Ralf,

On 01/28/2010 09:22 PM, Ralf Wildenhues wrote:
Hello Daniel,

* Daniel Pocock wrote on Thu, Jan 28, 2010 at 03:21:24PM CET:
We have been working on getting the Ganglia tarball to work out of
the box for AIX
When Michael does `make install', the *.so files for our modules
are not installed.  Instead, he sees output like this from `make

/opt/freeware/bin/bash ../../../libtool   --mode=install
../../../build/install-sh -c  ''
../../../build/install-sh -c .libs/modcpu.a
../../../build/install-sh -c .libs/modcpu.lai
I've looked at the file gmond/modules/cpu/.libs/ on AIX:

library_names='modcpu.a modcpu.a'
Is that without or with runtimelinking enabled (LDFLAGS=-Wl,-brtl passed
to configure)?  If without, then libtool puts the file into
the modcpu.a archive (the way AIX does with its system modules as well)
and that is to be expected.

With runtimelinking, the .so file should be a separate file.

BTW, you didn't specify any bug or misbehavior that you see, so maybe
everything else works as expected?
That is without the "-Wl,-brtl" passed to LDFLAGS, so libtool is behaving correctly on AIX to put the into the modcpu.a library archive.

The "misbehavior" is that the "*.a" containing the "*.so" files are not installed as expected:

/opt/freeware/bin/bash ../../../libtool --mode=install ../../../build/install-sh -c '' '/var/tmp/gg/lib/ganglia/'
../../../build/install-sh -c .libs/modcpu.a /var/tmp/gg/lib/ganglia/modcpu.a
../../../build/install-sh -c .libs/modcpu.lai /var/tmp/gg/lib/ganglia/
Libraries have been installed in:

I also don't like a generic setting of "-Wl,-brtl" to LDFLAGS as not all required libraries (zlib, libpng etc.) for AIX are available in rtl-format but instead in the default AIX shared library format.



reply via email to

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