[Top][All Lists]

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

Install of libtool module on AIX 4.2 does not work.

From: Peter Ekberg
Subject: Install of libtool module on AIX 4.2 does not work.
Date: Tue, 11 Jan 2005 18:31:19 +0100


When installing a "libtool module" on aix 4.2, the .so file is not
installed, even though the .la file specifies:

Copying to the intended directory makes it work. However, trying to
dlopen more than one such DSO does not work for some reason yet unknown
to me. But one is better than none, no?

Below is the output from a "make install" run.

make[1]: Entering directory `/tmp_mnt/home/peda/ggi/aix4.2/gii/input/x'
make[1]: Nothing to be done for `install-exec-am'.
test -z "/home/peda/ggi/aix4.2/root/lib/ggi/input" || mkdir -p --
 /bin/sh ../../libtool --mode=install /sw/local/bin/install -c  ''
libtool: install: warning: relinking `'
(cd /tmp_mnt/home/peda/ggi/aix4.2/gii/input/x; /bin/sh
/tmp_mnt/home/peda/ggi/aix4.2/gii/libtool  --tag CC --mode=relink gcc -g
-O2 -Wall -pedantic -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -std=gnu99
-Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch
-Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs
-Wredundant-decls -o -rpath
/home/peda/ggi/aix4.2/root/lib/ggi/input -module -no-undefined
-avoid-version -export-symbols
../../../../ggi-core/libgii/input/x/EXPSYMS input.lo xev.lo
../../gii/ ../../gg/ -lX11 )
gcc -shared -o .libs/  .libs/input.o .libs/xev.o
../..:/usr/lib:/lib -L/tmp_mnt/home/peda/ggi/aix4.2/gii/gg/lib
/home/peda/ggi/aix4.2/root/lib/libgg.a -ldl -lX11 -lc
-Wl,-bE:../../../../ggi-core/libgii/input/x/EXPSYMS -Wl,-bnoentry
ar cru .libs/x.a .libs/
/sw/local/bin/install -c .libs/x.aT
/sw/local/bin/install -c .libs/x.lai
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
w/local/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/3.2/../../..:/usr/lib:/lib '
linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and manual pages.
make[1]: Leaving directory `/tmp_mnt/home/peda/ggi/aix4.2/gii/input/x'


reply via email to

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