libtool
[Top][All Lists]
Advanced

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

Install test failures (Harcode/tagdemo-exec) on OpenBSD3.5


From: cw
Subject: Install test failures (Harcode/tagdemo-exec) on OpenBSD3.5
Date: Tue, 07 Sep 2004 16:14:27 +0100
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

Hi folks,
I'm trying to install libtool 1.5.8 on a machine I'm setting up. As with everything at the moment, libtool is giving me problems. 3 test are failing at make check (I also tried gmake as a couple of other apps have had problems with BSD make but no difference).
First one is hardcode.test
After running prerequisites, this is the output of that script:

=== Running hardcode.test
= Running make hardcode in ../demo
You may ignore any linking errors from the following command:
gcc -g -O2 -o hc-direct main.o ./.libs/libhello.so.3.12 -lm -Wl,-rpath,/home/libtool-1.5.8/tests/_inst/lib || echo unsupported > hc-direct gcc -g -O2 -o hc-libflag main.o -Wl,-rpath,/home/libtool-1.5.8/demo/.libs -L/home/libtool-1.5.8/tests/_inst/lib -lhello -lm
You may ignore any linking errors from the following command:
LD_LIBRARY_PATH=./.libs gcc -g -O2 -o hc-libpath main.o -lhello -lm -Wl,-rpath,/home/libtool-1.5.8/tests/_inst/lib || echo unsupported > hc-libpath
/usr/bin/ld: cannot find -lhello
collect2: ld returned 1 exit status
gcc -g -O2 -o hc-minusL main.o -L./.libs -lhello -lm -Wl,-rpath,/home/libtool-1.5.8/tests/_inst/lib || echo unsupported > hc-minusL
= Finding libtool.m4's guesses at hardcoding values
= Searching for hardcoded library directories in each program
.libs was hardcoded in `hc-direct', as libtool expected
.libs was hardcoded in `hc-libflag', as libtool expected
`hc-libpath' was not linked properly, which fooled libtool
.libs was not hardcoded in `hc-minusL', as libtool expected

Second/third is tagdemo-exec which fails in two places as below:

PASS: tagdemo-static.test
PASS: tagdemo-make.test
PASS: tagdemo-exec.test
PASS: tagdemo-conf.test
PASS: tagdemo-make.test
FAIL: tagdemo-exec.test
PASS: tagdemo-shared.test
PASS: tagdemo-make.test
FAIL: tagdemo-exec.test

Running individually, or the tests in the order as above produces:

=== Running tagdemo-exec.test
Executing uninstalled programs in ../tagdemo
/home/libtool-1.5.8/tagdemo/.libs/tagdemo: can't load library './.libs/libbaz.so.0.0'
./tagdemo-exec.test: cannot execute ../tagdemo/tagdemo

libbaz.so.0.0 is in the directory specified.

Can anyone help? Do you need more info for troubleshooting?

Regards,
Colin.

P.S. Please ensure you cc me on any replies as I am not subscribed to the list.




reply via email to

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