[Top][All Lists]

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

Re: AIX shared libraries, make install misses them

From: Daniel Pocock
Subject: Re: AIX shared libraries, make install misses them
Date: Thu, 28 Jan 2010 14:21:24 +0000
User-agent: Mozilla-Thunderbird (X11/20090707)

Daniel Pocock wrote:

We have been working on getting the Ganglia tarball to work out of the box for AIX

The tarball is bootstrapped using autotools on Debian 5.

When Michael does `make install', the *.so files for our modules are not installed. Instead, he sees output like this from `make install':

/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:

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
  - add LIBDIR to the `LIBPATH' environment variable
    during execution
- use the `-Wl,-blibpath:LIBDIR:/opt/freeware/lib:/usr/vac/lib:/usr/lib/threads:/usr/lib:/lib ' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and manual pages.


I've looked at the file gmond/modules/cpu/.libs/ on AIX:

library_names='modcpu.a modcpu.a'

and when I run make && make install on Linux (a RHEL4 box), gmond/modules/cpu/.libs/ has:


Finally, Michael reports that if he bootstraps again with his own autoconf, make install does work.

Here is Michael's autotools versions:


And here are the versions on Debian 5 (used for bootstrapping the release tarball):

autoconf 2.61-8
automake 1:1.10.1-3
libtool 1.5.26-4
m4 1.4.11-1

Is there any way we can get this working using the existing autotools version?

Another problem I have just discovered, on Cygwin, I have to patch libtool, adding the line


otherwise I get lot's of errors along the lines of "Xgcc command not found"

Previous Ganglia tarballs bootstrapped with older autotools were fine on Cygwin

reply via email to

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