I'm trying to build Ganglia using the --enable-static-build option which
has the description:

Statically link libGanglia, APR, Expat and Confuse libraries (may
disable some metric modules)

[builder ~]$ ./configure --with-gmetad --enable-static-build
--disable-python

However, when I ldd gmond, I get:

        libresolv.so.2 => /lib64/libresolv.so.2 (0x000000381ed00000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x000000381f100000)
        libexpat.so.0 => /usr/lib64/libexpat.so.0 (0x000000381e700000)
        libconfuse.so.0 => /usr/lib64/libconfuse.so.0
(0x0000002a95560000)
        libapr-1.so.0 => /usr/lib64/libapr-1.so.0 (0x0000002a9566b000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x000000381e500000)
        librt.so.1 => /lib64/tls/librt.so.1 (0x0000002a95797000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000002a958b1000)
        libdl.so.2 => /lib64/libdl.so.2 (0x000000381df00000)
        libpthread.so.0 => /lib64/tls/libpthread.so.0
(0x000000381e900000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x000000381dc00000)
        /lib64/ld-linux-x86-64.so.2 (0x000000381da00000)

So it is linking them against the shared objects instead of the static
libraries, e.g. /usr/lib64/libapr-1.a; any ideas as to what I'm doing
wrong?

Thanks.

------------
Wadud Miah
Scientific Computing Systems Support, eScience
Rutherford Appleton Laboratory, STFC
01235 446 794
------------


-- 
Scanned by iCritical.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to