bug-libtool
[Top][All Lists]
Advanced

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

Re: [libtool 2.2] testsuite: 34 failed


From: Ralf Wildenhues
Subject: Re: [libtool 2.2] testsuite: 34 failed
Date: Thu, 6 Mar 2008 07:46:58 +0100
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Hello Roberto,

your posts are good sources of bug reports ...

* Roberto Bagnara wrote on Sun, Mar 02, 2008 at 08:48:07AM CET:
> ## ----------------------- ##
> ## libtool 2.2 test suite. ##
> ## ----------------------- ##
[...]
> ## ------------------------ ##
> ## Summary of the failures. ##
> ## ------------------------ ##
> Failed tests:
> libtool 2.2 test suite test groups:
> 
>  NUM: FILE-NAME:LINE     TEST-GROUP-NAME
>       KEYWORDS
> 
>   34: old-m4-iface.at:107 AC_WITH_LTDL
>       libtoolize automake autoconf
[...]
> 34. old-m4-iface.at:107: testing ...
> libtoolize: putting auxiliary files in `.'.
[...]
> checking whether libtool supports -dlopen/-dlpreopen... yes
> checking for ltdl.h... yes
> checking whether lt_dlinterface_register is declared... yes
> checking for lt_dlinterface_register in -lltdl... yes
> checking where to find libltdl headers... 
> checking where to find libltdl library... -lltdl
[...]

> ./old-m4-iface.at:153: $MAKE  
[...]
> /bin/sh ./libtool --mode=link gcc -no-undefined -g -O2  -o ltdldemo main.o 
> -dlopen module.la -lltdl
> libtool: link: rm -f .libs/ltdldemo.nm .libs/ltdldemo.nmS .libs/ltdldemo.nmT
> libtool: link: (cd .libs && gcc -g -O2 -c -fno-builtin "ltdldemoS.c")
> libtool: link: rm -f ".libs/ltdldemoS.c" ".libs/ltdldemo.nm" 
> ".libs/ltdldemo.nmS" ".libs/ltdldemo.nmT"
> libtool: link: gcc -g -O2 -o ltdldemo main.o .libs/ltdldemoS.o  -lltdl
> libtool: link: rm -f ".libs/ltdldemoS.o"
> make[4]: Leaving directory 
> `/usr/local/distrib/libtool-2.2/tests/testsuite.dir/34'
> ./old-m4-iface.at:156: ./ltdldemo; lt_status=$?; if test $lt_status -eq 0; 
> then :;
>          elif test "X$host" != "X$build" && \
>               { test -x "./ltdldemo" || test -x "./ltdldemo"$EXEEXT; }
>          then (exit 77); else (exit $lt_status); fi
> --- /dev/null 2008-02-27 15:51:00.483962769 +0100
> +++ /usr/local/distrib/libtool-2.2/tests/testsuite.dir/at-stderr      
> 2008-03-02 08:28:27.000000000 +0100
> @@ -0,0 +1 @@
> +./ltdldemo: error while loading shared libraries: libltdl.so.7: cannot open 
> shared object file: No such file or directory
> stdout:
> ./old-m4-iface.at:156: exit code was 127, expected 0
> 34. old-m4-iface.at:107: 34. AC_WITH_LTDL (old-m4-iface.at:107): FAILED 
> (old-m4-iface.at:156)

I can reproduce this error under the following circumstances:

A libltdl 2.1 or newer has previously been installed in a place where
the preprocessor and the link editor can find headers resp. library
(suitable CPPFLAGS=-I... and LDFLAGS=-L... count, too), but the
libltdl.la file is missing in the installation, and also the runtime
linker does not search the installed location of libltdl.so.7 by
default (and -R.../-Wl,-rpath,... have not been added).

Does that match your setup?  If yes, who removed the installed
libltdl.la file, and why?

Thanks,
Ralf




reply via email to

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