bug-libtool
[Top][All Lists]
Advanced

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

AIX, PHP, and libtool


From: Christopher Boyce
Subject: AIX, PHP, and libtool
Date: Tue, 19 Feb 2002 09:58:29 -0800 (PST)

To libtool developer:

I am using AIX 4.3.2, with all of the gnu tools from
freeware.bull.net.  I have downloaded libtool 1.4.2
and compiled from source, no real problems there,
until I run 'make check' and 2 of the test's fail.

Test #1 that fails: mdemo-inst.test
Test #2 that fails: link-2.test

Bug submitted to the PHP folks:
http://bugs.php.net/bug.php?id=15561, they told me
that this is a libtool problem.  The problem seems to
be that libtool never produces the binary for php.

Please find attached the output from 'make check'.

Thanks for any help with this,

Chris

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
######### start make check ##########
bash-2.04# make check
Making check in .
make[1]: Entering directory `/usr/local/install/compile_tools/libtool-1.4.2'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/usr/local/install/compile_tools/libtool-1.4.2'
Making check in libltdl
make[1]: Entering directory 
`/usr/local/install/compile_tools/libtool-1.4.2/libltdl'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory 
`/usr/local/install/compile_tools/libtool-1.4.2/libltdl'
Making check in doc
make[1]: Entering directory `/usr/local/install/compile_tools/libtool-1.4.2/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/usr/local/install/compile_tools/libtool-1.4.2/doc'
Making check in tests
make[1]: Entering directory 
`/usr/local/install/compile_tools/libtool-1.4.2/tests'
make  check-TESTS
make[2]: Entering directory 
`/usr/local/install/compile_tools/libtool-1.4.2/tests'
PASS: cdemo-static.test
PASS: cdemo-make.test
PASS: cdemo-exec.test
PASS: demo-static.test
PASS: demo-make.test
PASS: demo-exec.test
PASS: demo-inst.test
PASS: demo-unst.test
PASS: depdemo-static.test
PASS: depdemo-make.test
PASS: depdemo-exec.test
PASS: depdemo-inst.test
PASS: depdemo-unst.test
PASS: mdemo-static.test
PASS: mdemo-make.test
PASS: mdemo-exec.test
PASS: mdemo-inst.test
PASS: mdemo-unst.test
PASS: demo-nofast.test
PASS: demo-make.test
PASS: demo-exec.test
PASS: demo-inst.test
PASS: demo-unst.test
PASS: demo-pic.test
PASS: demo-make.test
PASS: demo-exec.test
PASS: demo-nopic.test
PASS: demo-make.test
PASS: demo-exec.test
PASS: depdemo-nofast.test
PASS: depdemo-make.test
PASS: depdemo-exec.test
PASS: depdemo-inst.test
PASS: depdemo-unst.test
PASS: cdemo-shared.test
PASS: cdemo-make.test
PASS: cdemo-exec.test
PASS: demo-shared.test
PASS: demo-make.test
PASS: demo-exec.test
PASS: demo-inst.test
PASS: hardcode.test
PASS: build-relink.test
PASS: noinst-link.test
PASS: demo-unst.test
PASS: depdemo-shared.test
PASS: depdemo-make.test
PASS: depdemo-exec.test
PASS: depdemo-inst.test
PASS: build-relink2.test
PASS: depdemo-unst.test
PASS: mdemo-shared.test
PASS: mdemo-make.test
PASS: mdemo-exec.test
FAIL: mdemo-inst.test
PASS: mdemo-unst.test
PASS: assign.test
PASS: link.test
FAIL: link-2.test
PASS: nomode.test
PASS: quote.test
PASS: sh.test
PASS: suffix.test
====================
2 of 63 tests failed
====================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory 
`/usr/local/install/compile_tools/libtool-1.4.2/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory 
`/usr/local/install/compile_tools/libtool-1.4.2/tests'
make: *** [check-recursive] Error 1

######### end make check  ###########

######### start link-2.test #########
bash-2.04# ./link-2.test 
=== Running link-2.test
mkdir .libs
gcc -o something foo.o hell.lo 
./link-2.test: .lo files should not be linked into programs

######### end link-2.test ###########

######### start mdemo-inst.test #####
bash-2.04# ./mdemo-inst.test
=== Running mdemo-inst.test
= Running make install in ../mdemo
make[1]: Entering directory 
`/usr/local/install/compile_tools/libtool-1.4.2/mdemo'
/bin/sh 
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../mkinstalldirs 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib
mkdir /usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib
/bin/sh ./libtool  --mode=install 
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../install-sh -c 
libsub.la 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/libsub.la
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../install-sh -c 
.libs/libsub.a 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/libsub.a
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../install-sh -c 
.libs/libsub.lai 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/libsub.la
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib

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,-bnolibpath -Wl,-blibpath:LIBDIR:/usr/lib:/lib' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ./libtool  --mode=install 
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../install-sh -c 
foo1.la /usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/foo1.la
libtool: install: warning: relinking `foo1.la'
cd /usr/local/install/compile_tools/libtool-1.4.2/mdemo; /bin/sh ./libtool 
--mode=relink gcc -g -O2 -o foo1.la -rpath 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib -module 
-avoid-version foo1.lo -lm libsub.la
generating symbol list for `libfoo1.la'
/usr/ccs/bin/nm -B  foo1.o   | sed -n -e 's/^.*[        ]\([BCDT][BCDT]*\)[     
][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | sed 's/.* //' | sort 
| uniq > .libs/libfoo1.exp
gcc -shared -o .libs/libfoo1.so.0  foo1.o   -lm 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/libsub.a  -lc  
${wl}-berok -Wl,-bnoentry -Wl,-bexport:.libs/libfoo1.exp 
ar -crlo .libs/libfoo1.a .libs/libfoo1.so.0
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../install-sh -c 
.libs/libfoo1.aT 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/libfoo1.a
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../install-sh -c 
.libs/foo1.lai 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/foo1.la
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib

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,-bnolibpath -Wl,-blibpath:LIBDIR:/usr/lib:/lib' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ./libtool  --mode=install 
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../install-sh -c 
libfoo2.la 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/libfoo2.la
libtool: install: warning: relinking `libfoo2.la'
cd /usr/local/install/compile_tools/libtool-1.4.2/mdemo; /bin/sh ./libtool 
--mode=relink gcc -g -O2 -o libfoo2.la -rpath 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib -no-undefined 
-module -export-symbols-regex "libfoo2.*" foo2.lo -lm libsub.la
generating symbol list for `libfoo2.la'
/usr/ccs/bin/nm -B  foo2.o   | sed -n -e 's/^.*[        ]\([BCDT][BCDT]*\)[     
][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | sed 's/.* //' | sort 
| uniq > .libs/libfoo2.exp
egrep -e "libfoo2.*" ".libs/libfoo2.exp" > ".libs/libfoo2.expT"
mv -f ".libs/libfoo2.expT" ".libs/libfoo2.exp"
gcc -shared -o .libs/libfoo2.so.0  foo2.o   -lm 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/libsub.a  -lc   
-Wl,-bnoentry -Wl,-bexport:.libs/libfoo2.exp 
ar -crlo .libs/libfoo2.a .libs/libfoo2.so.0
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../install-sh -c 
.libs/libfoo2.aT 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/libfoo2.a
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../install-sh -c 
.libs/libfoo2.lai 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/libfoo2.la
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib

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,-bnolibpath -Wl,-blibpath:LIBDIR:/usr/lib:/lib' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh 
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../mkinstalldirs 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/bin
mkdir /usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/bin
 /bin/sh ./libtool  --mode=install 
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../install-sh -c  
mdemo /usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/bin/mdemo
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../install-sh -c 
.libs/mdemo /usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/bin/mdemo
 /bin/sh ./libtool  --mode=install 
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../install-sh -c  
mdemo.static 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/bin/mdemo.static
/usr/local/install/compile_tools/libtool-1.4.2/tests/../mdemo/../install-sh -c 
.libs/mdemo.static 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/bin/mdemo.static
make[1]: Nothing to be done for `install-data-am'.
make[1]: Leaving directory 
`/usr/local/install/compile_tools/libtool-1.4.2/mdemo'
= Executing installed programs
Welcome to GNU libtool mdemo!
can't open the module 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/foo1.la!
error was: No such file or directory
can't open the module 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/libfoo2.la!
error was: No such file or directory
myfunc returned: 57616
myfunc is ok!
./mdemo-inst.test: cannot execute 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/bin/mdemo.static
Welcome to GNU libtool mdemo!
can't open the module 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/foo1.la!
error was: No such file or directory
can't open the module 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/lib/libfoo2.la!
error was: No such file or directory
myfunc returned: 57616
myfunc is ok!
./mdemo-inst.test: cannot execute 
/usr/local/install/compile_tools/libtool-1.4.2/tests/_inst/bin/mdemo

######### end mdemo-inst.test #######

reply via email to

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