On Wed, Jan 25, 2006 at 02:14:08PM +0100, Ralf Wildenhues wrote:
> [...[
> Please rerun the relink with --debug added (add it manually to the
> respective line in the uninstalled libtestb.la file).  
ok, in the attached relink-with-debug.log file the output of
libtool --mode=install with libtestb.la manually modified to
call libtool --debug --mode=relink... hope it's fine.

> Also please post `../../libtool --config' (preferably packed).
ok, it is attached to the mail in the file config.log. In
commands.log, the exact list of commands I run to compile
the test case. Also note that I'm using x86-openbsd in
the sourceforge compile farm.

> Please also show how you configured the package.
what do you mean? which package :)? the parameters passed to the
configure script that generated the libtool I'm using? 

> Well, it can't really be added to the Makefile (because that won't see
> the DESTDIR path in its final location: when /usr/local/lib is really
> where the system sees these libraries).  
ok :) this is what I thought..

> This warning may not apply to
> you in this case; but in some cases `libtool --finish' is really
> necessary: for example to run `ldconfig' or similar, if you're
> installing system libraries.
ok, good to know. Note that the libtool I'm using is version 1.5.22
from debian, with the patch you sent me in the Debian BTS.

TIA,
Cheers,
Carlo

-- 
  GPG Fingerprint: 2383 7B14 4D08 53A4 2C1A CA29 9E98 5431 1A68 6975
                        -------------
I know it's weird, but it does make it easier to write poetry in perl.    :-)
             -- Larry Wall in <[EMAIL PROTECTED]>
../libtool --mode=compile gcc -c -o ./test2.lo ./test2.c
../libtool --mode=compile gcc -c -o ./test1.lo ./test1.c
../libtool --mode=link gcc -o libtesta.la -rpath /usr/local/lib -version-info 
0:0:0 ./test1.lo test2.lo
../libtool --mode=link gcc -o libtestb.la -rpath /usr/local/lib -version-info 
0:0:0 ./test1.lo test2.lo ../libtesta/libtesta.la

../libtool --mode=install install ./libtesta.la ~/root.openbsd/usr/local/lib/
../libtool --mode=install install ./libtestb.la ~/root.openbsd/usr/local/lib/

libtool: install: warning: relinking `./libtestb.la'
(cd /home/users/c/cc/ccontavalli/tmp/test/libtestb; /bin/sh ../libtool  
--mode=relink gcc -o libtestb.la -rpath /usr/local/lib -version-info 0:0:0 
./test1.lo test2.lo ../libtesta/libtesta.la -inst-prefix-dir 
/home/users/c/cc/ccontavalli/root.openbsd)
gcc -shared  -fPIC -DPIC -o .libs/libtestb.so.0.0  ./.libs/test1.o 
.libs/test2.o  /usr/local/lib/libtesta.so.0.0
gcc: /usr/local/lib/libtesta.so.0.0: No such file or directory
libtool: install: error: relink `./libtestb.la' with the above command before 
installing it

# Libtool was configured on host x86-openbsd1.cf.sourceforge.net:

# Shell to use when invoking shell scripts.
SHELL="/bin/sh"

# Whether or not to build shared libraries.
build_libtool_libs=yes

# Whether or not to build static libraries.
build_old_libs=yes

# Whether or not to add -lc for building shared libraries.
build_libtool_need_lc=yes

# Whether or not to disallow shared libs when runtime libs are static
allow_libtool_libs_with_static_runtimes=no

# Whether or not to optimize for fast installation.
fast_install=needless

# The host system.
host_alias=
host=i386-unknown-openbsd3.8
host_os=openbsd3.8

# The build system.
build_alias=
build=i386-unknown-openbsd3.8
build_os=openbsd3.8

# An echo program that does not interpret backslashes.
echo="/bin/echo"

# The archiver.
AR="ar"
AR_FLAGS="cru"

# A C compiler.
LTCC="gcc"

# LTCC compiler flags.
LTCFLAGS="-g -O2"

# A language-specific compiler.
CC="gcc"

# Is the compiler the GNU C compiler?
with_gcc=yes

# An ERE matcher.
EGREP="grep -E"

# The linker used to build libraries.
LD="/usr/bin/ld"

# Whether we need hard or soft links.
LN_S="ln -s"

# A BSD-compatible nm program.
NM="/usr/bin/nm -B"

# A symbol stripping program
STRIP="strip"

# Used to examine libraries when file_magic_cmd begins "file"
MAGIC_CMD=file

# Used on cygwin: DLL creation program.
DLLTOOL="dlltool"

# Used on cygwin: object dumper.
OBJDUMP="objdump"

# Used on cygwin: assembler.
AS="as"

# The name of the directory that contains temporary libtool files.
objdir=.libs

# How to create reloadable object files.
reload_flag=" -r"
reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"

# How to pass a linker flag through the compiler.
wl="-Wl,"

# Object file suffix (normally "o").
objext="o"

# Old archive suffix (normally "a").
libext="a"

# Shared library suffix (normally ".so").
shrext_cmds='.so'

# Executable file suffix (normally "").
exeext=""

# Additional compiler flags for building library objects.
pic_flag=" -fPIC -DPIC"
pic_mode=default

# What is the maximum length of a command?
max_cmd_len=196608

# Does compiler simultaneously support -c and -o options?
compiler_c_o="yes"

# Must we lock files when doing compilation?
need_locks="no"

# Do we need the lib prefix for modules?
need_lib_prefix=no

# Do we need a version for libraries?
need_version=no

# Whether dlopen is supported.
dlopen_support=unknown

# Whether dlopen of programs is supported.
dlopen_self=unknown

# Whether dlopen of statically linked programs is supported.
dlopen_self_static=unknown

# Compiler flag to prevent dynamic linking.
link_static_flag="-static"

# Compiler flag to turn off builtin functions.
no_builtin_flag=" -fno-builtin"

# Compiler flag to allow reflexive dlopens.
export_dynamic_flag_spec="\${wl}-E"

# Compiler flag to generate shared objects directly from archives.
whole_archive_flag_spec=""

# Compiler flag to generate thread-safe objects.
thread_safe_flag_spec=""

# Library versioning type.
version_type=sunos

# Format of library name prefix.
libname_spec="lib\$name"

# List of archive names.  First name is the real one, the rest are links.
# The last name is the one that the linker finds with -lNAME.
library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix 
\${libname}\${shared_ext}\$versuffix"

# The coded name of the library, if different from the real name.
soname_spec=""

# Commands used to build and install an old-style archive.
RANLIB="ranlib"
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs~\$RANLIB 
\$oldlib"
old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB -t \$oldlib"
old_postuninstall_cmds=""

# Create an old-style archive from a shared archive.
old_archive_from_new_cmds=""

# Create a temporary old-style archive to link instead of a shared archive.
old_archive_from_expsyms_cmds=""

# Commands used to build and install a shared archive.
archive_cmds="\$CC -shared \$pic_flag -o \$lib \$libobjs \$deplibs 
\$compiler_flags"
archive_expsym_cmds="\$CC -shared \$pic_flag -o \$lib \$libobjs \$deplibs 
\$compiler_flags \${wl}-retain-symbols-file,\$export_symbols"
postinstall_cmds=""
postuninstall_cmds=""

# Commands used to build a loadable module (assumed same as above if empty)
module_cmds=""
module_expsym_cmds=""

# Commands to strip libraries.
old_striplib="strip --strip-debug"
striplib="strip --strip-unneeded"

# Dependencies to place before the objects being linked to create a
# shared library.
predep_objects=""

# Dependencies to place after the objects being linked to create a
# shared library.
postdep_objects=""

# Dependencies to place before the objects being linked to create a
# shared library.
predeps=""

# Dependencies to place after the objects being linked to create a
# shared library.
postdeps=""

# The library search path used internally by the compiler when linking
# a shared library.
compiler_lib_search_path=""

# Method to check whether dependent libraries are shared objects.
deplibs_check_method="match_pattern 
/lib[^/]+(\\.so\\.[0-9]+\\.[0-9]+|\\.so|_pic\\.a)\$"

# Command to use when deplibs_check_method == file_magic.
file_magic_cmd="\$MAGIC_CMD"

# Flag that allows shared libraries with undefined symbols to be built.
allow_undefined_flag=""

# Flag that forces no undefined symbols.
no_undefined_flag=""

# Commands used to finish a libtool library installation in a directory.
finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -m \$libdir"

# Same as above, but a single script fragment to be evaled but not shown.
finish_eval=""

# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe="sed -n -e 's/^.*[   ]\\([BCDEGRST][BCDEGRST]*\\)[   ][      
]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'"

# Transform the output of nm in a proper C declaration
global_symbol_to_cdecl="sed -n -e 's/^. .* \\(.*\\)\$/extern int \\1;/p'"

# Transform the output of nm in a C name address pair
global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\) \$/  {\\\"\\1\\\", 
(lt_ptr) 0},/p' -e 's/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/  {\"\\2\", 
(lt_ptr) \\&\\2},/p'"

# This is the shared library runtime path variable.
runpath_var=

# This is the shared library path variable.
shlibpath_var=LD_LIBRARY_PATH

# Is shlibpath searched before the hard-coded library search path?
shlibpath_overrides_runpath=yes

# How to hardcode a shared library path into an executable.
hardcode_action=immediate

# Whether we should hardcode library paths into libraries.
hardcode_into_libs=no

# Flag to hardcode $libdir into a binary during linking.
# This must work even if $libdir does not exist.
hardcode_libdir_flag_spec="\${wl}-rpath,\$libdir"

# If ld is used when linking, flag to hardcode $libdir into
# a binary during linking. This must work even if $libdir does
# not exist.
hardcode_libdir_flag_spec_ld=""

# Whether we need a single -rpath flag with a separated argument.
hardcode_libdir_separator=""

# Set to yes if using DIR/libNAME during linking hardcodes DIR into the
# resulting binary.
hardcode_direct=yes

# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
# resulting binary.
hardcode_minus_L=no

# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
# the resulting binary.
hardcode_shlibpath_var=no

# Set to yes if building a shared library automatically hardcodes DIR into the 
library
# and all subsequent libraries and executables linked against it.
hardcode_automatic=no

# Variables whose values should be saved in libtool wrapper scripts and
# restored at relink time.
variables_saved_for_relink="PATH LD_LIBRARY_PATH  GCC_EXEC_PREFIX COMPILER_PATH 
LIBRARY_PATH"

# Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=unknown

# Compile-time system search path for libraries
sys_lib_search_path_spec=" /usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5/ 
/usr/lib/gcc/i386-unknown-openbsd3.8/3.3.5/ 
/usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5/../../../../i386-unknown-openbsd3.8/lib/i386-unknown-openbsd3.8/3.3.5/
 
/usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5/../../../../i386-unknown-openbsd3.8/lib/
 
/usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5//usr/lib/i386-unknown-openbsd3.8/3.3.5/
 /usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5//usr/lib/ 
/lib/i386-unknown-openbsd3.8/3.3.5/ /lib/ 
/usr/lib/i386-unknown-openbsd3.8/3.3.5/ /usr/lib/"

# Run-time system search path for libraries
sys_lib_dlsearch_path_spec="/usr/lib"

# Fix the shell variable $srcfile for the compiler.
fix_srcfile_path=""

# Set to yes if exported symbols are required.
always_export_symbols=no

# The commands to list exported symbols.
export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | 
\$SED 's/.* //' | sort | uniq > \$export_symbols"

# The commands to extract the exported symbol list from a shared archive.
extract_expsyms_cmds=""

# Symbols that should not be listed in the preloaded symbols.
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"

# Symbols that must always be exported.
include_expsyms=""

libtool: install: warning: relinking `./libtestb.la'
(cd /home/users/c/cc/ccontavalli/tmp/test/libtestb; /bin/sh ../libtool --debug 
--mode=relink gcc -o libtestb.la -rpath /usr/local/lib -version-info 0:0:0 
./test1.lo test2.lo ../libtesta/libtesta.la -inst-prefix-dir 
/home/users/c/cc/ccontavalli/root.openbsd)
libtool: enabling shell trace mode
+ preserve_args= --debug
+ test 13 -gt 0
+ arg=--mode=relink
+ shift
+ /bin/echo X--mode=relink
+ /usr/bin/sed -e 1s/^X// -e s/[-_a-zA-Z0-9]*=//
+ optarg=relink
+ test -n 
+ mode=relink
+ test 12 -gt 0
+ arg=gcc
+ shift
+ optarg=
+ test -n 
+ nonopt=gcc
+ break
+ test -n 
+ exec_cmd=
+ test -z 
+ test -z relink
+ test -n 
+ generic_help=Try `libtool --help' for more information.
+ help=Try `libtool --help --mode=relink' for more information.
+ modename=libtool: link
+ allow_undefined=yes
+ libtool_args=gcc
+ base_compile=gcc -o libtestb.la -rpath /usr/local/lib -version-info 0:0:0 
./test1.lo test2.lo ../libtesta/libtesta.la -inst-prefix-dir 
/home/users/c/cc/ccontavalli/root.openbsd
+ compile_command=gcc
+ finalize_command=gcc
+ compile_rpath=
+ finalize_rpath=
+ compile_shlibpath=
+ finalize_shlibpath=
+ convenience=
+ old_convenience=
+ deplibs=
+ old_deplibs=
+ compiler_flags=
+ linker_flags=
+ dllsearchpath=
+ pwd
+ lib_search_path=/home/users/c/cc/ccontavalli/tmp/test/libtestb
+ inst_prefix_dir=
+ avoid_version=no
+ dlfiles=
+ dlprefiles=
+ dlself=no
+ export_dynamic=no
+ export_symbols=
+ export_symbols_regex=
+ generated=
+ libobjs=
+ ltlibs=
+ module=no
+ no_install=no
+ objs=
+ non_pic_objects=
+ notinst_path=
+ precious_files_regex=
+ prefer_static_libs=no
+ preload=no
+ prev=
+ prevarg=
+ release=
+ rpath=
+ xrpath=
+ perm_rpath=
+ temp_rpath=
+ thread_safe=no
+ vinfo=
+ vinfo_number=no
+ func_infer_tag gcc -o libtestb.la -rpath /usr/local/lib -version-info 0:0:0 
./test1.lo test2.lo ../libtesta/libtesta.la -inst-prefix-dir 
/home/users/c/cc/ccontavalli/root.openbsd
+ test -n 
+ test 11 -gt 0
+ arg=-o
+ shift
+ qarg=-o
+ libtool_args=gcc -o
+ test -n 
+ prevarg=-o
+ prev=output
+ test -n -o
+ compile_command=gcc -o
+ finalize_command=gcc -o
+ test 10 -gt 0
+ arg=libtestb.la
+ shift
+ qarg=libtestb.la
+ libtool_args=gcc -o libtestb.la
+ test -n output
+ compile_command=gcc -o @OUTPUT@
+ finalize_command=gcc -o @OUTPUT@
+ eval output="$arg"
+ output=libtestb.la
+ prev=
+ continue
+ test 9 -gt 0
+ arg=-rpath
+ shift
+ qarg=-rpath
+ libtool_args=gcc -o libtestb.la -rpath
+ test -n 
+ prevarg=-rpath
+ prev=rpath
+ continue
+ test 8 -gt 0
+ arg=/usr/local/lib
+ shift
+ qarg=/usr/local/lib
+ libtool_args=gcc -o libtestb.la -rpath /usr/local/lib
+ test -n rpath
+ test rpath = rpath
+ rpath= /usr/local/lib
+ prev=
+ continue
+ test 7 -gt 0
+ arg=-version-info
+ shift
+ qarg=-version-info
+ libtool_args=gcc -o libtestb.la -rpath /usr/local/lib -version-info
+ test -n 
+ prevarg=-version-info
+ prev=vinfo
+ continue
+ test 6 -gt 0
+ arg=0:0:0
+ shift
+ qarg=0:0:0
+ libtool_args=gcc -o libtestb.la -rpath /usr/local/lib -version-info 0:0:0
+ test -n vinfo
+ eval vinfo="$arg"
+ vinfo=0:0:0
+ prev=
+ continue
+ test 5 -gt 0
+ arg=./test1.lo
+ shift
+ qarg=./test1.lo
+ libtool_args=gcc -o libtestb.la -rpath /usr/local/lib -version-info 0:0:0 
./test1.lo
+ test -n 
+ prevarg=./test1.lo
+ > /dev/null 
+ 2>&1 
+ pic_object=
+ non_pic_object=
+ . ./test1.lo
+ pic_object=.libs/test1.o
+ non_pic_object=test1.o
+ test -z .libs/test1.o
+ test -z test1.o
+ test .libs/test1.o = none
+ /bin/echo X./test1.lo
+ /usr/bin/sed -e 1s/^X// -e s%/[^/]*$%%
+ xdir=.
+ test X. = X./test1.lo
+ xdir=./
+ test .libs/test1.o != none
+ pic_object=./.libs/test1.o
+ test  = dlfiles
+ test  = dlprefiles
+ libobjs= ./.libs/test1.o
+ arg=./.libs/test1.o
+ test test1.o != none
+ non_pic_object=./test1.o
+ non_pic_objects= ./test1.o
+ test -z ./.libs/test1.o
+ test ./.libs/test1.o = none
+ test -n ./.libs/test1.o
+ compile_command=gcc -o @OUTPUT@ ./.libs/test1.o
+ finalize_command=gcc -o @OUTPUT@ ./.libs/test1.o
+ test 4 -gt 0
+ arg=test2.lo
+ shift
+ qarg=test2.lo
+ libtool_args=gcc -o libtestb.la -rpath /usr/local/lib -version-info 0:0:0 
./test1.lo test2.lo
+ test -n 
+ prevarg=test2.lo
+ > /dev/null 
+ 2>&1 
+ pic_object=
+ non_pic_object=
+ . ./test2.lo
+ pic_object=.libs/test2.o
+ non_pic_object=test2.o
+ test -z .libs/test2.o
+ test -z test2.o
+ test .libs/test2.o = none
+ /bin/echo Xtest2.lo
+ /usr/bin/sed -e 1s/^X// -e s%/[^/]*$%%
+ xdir=test2.lo
+ test Xtest2.lo = Xtest2.lo
+ xdir=
+ test .libs/test2.o != none
+ pic_object=.libs/test2.o
+ test  = dlfiles
+ test  = dlprefiles
+ libobjs= ./.libs/test1.o .libs/test2.o
+ arg=.libs/test2.o
+ test test2.o != none
+ non_pic_object=test2.o
+ non_pic_objects= ./test1.o test2.o
+ test -z .libs/test2.o
+ test .libs/test2.o = none
+ test -n .libs/test2.o
+ compile_command=gcc -o @OUTPUT@ ./.libs/test1.o .libs/test2.o
+ finalize_command=gcc -o @OUTPUT@ ./.libs/test1.o .libs/test2.o
+ test 3 -gt 0
+ arg=../libtesta/libtesta.la
+ shift
+ qarg=../libtesta/libtesta.la
+ libtool_args=gcc -o libtestb.la -rpath /usr/local/lib -version-info 0:0:0 
./test1.lo test2.lo ../libtesta/libtesta.la
+ test -n 
+ prevarg=../libtesta/libtesta.la
+ test  = dlfiles
+ test  = dlprefiles
+ deplibs= ../libtesta/libtesta.la
+ continue
+ test 2 -gt 0
+ arg=-inst-prefix-dir
+ shift
+ qarg=-inst-prefix-dir
+ libtool_args=gcc -o libtestb.la -rpath /usr/local/lib -version-info 0:0:0 
./test1.lo test2.lo ../libtesta/libtesta.la -inst-prefix-dir
+ test -n 
+ prevarg=-inst-prefix-dir
+ prev=inst_prefix
+ continue
+ test 1 -gt 0
+ arg=/home/users/c/cc/ccontavalli/root.openbsd
+ shift
+ qarg=/home/users/c/cc/ccontavalli/root.openbsd
+ libtool_args=gcc -o libtestb.la -rpath /usr/local/lib -version-info 0:0:0 
./test1.lo test2.lo ../libtesta/libtesta.la -inst-prefix-dir 
/home/users/c/cc/ccontavalli/root.openbsd
+ test -n inst_prefix
+ inst_prefix_dir=/home/users/c/cc/ccontavalli/root.openbsd
+ prev=
+ continue
+ test 0 -gt 0
+ test -n 
+ test no = yes
+ oldlibs=
+ /bin/echo Xlibtestb.la
+ /usr/bin/sed -e 1s/^X// -e s%^.*/%%
+ outputname=libtestb.la
+ libobjs_save= ./.libs/test1.o .libs/test2.o
+ test -n LD_LIBRARY_PATH
+ eval shlib_search_path=`$echo "X${LD_LIBRARY_PATH}" | $Xsed -e 's/:/ /g'`
+ /bin/echo X
+ /usr/bin/sed -e 1s/^X// -e s/:/ /g
+ shlib_search_path=
+ eval sys_lib_search_path=" /usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5/ 
/usr/lib/gcc/i386-unknown-openbsd3.8/3.3.5/ 
/usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5/../../../../i386-unknown-openbsd3.8/lib/i386-unknown-openbsd3.8/3.3.5/
 
/usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5/../../../../i386-unknown-openbsd3.8/lib/
 
/usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5//usr/lib/i386-unknown-openbsd3.8/3.3.5/
 /usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5//usr/lib/ 
/lib/i386-unknown-openbsd3.8/3.3.5/ /lib/ 
/usr/lib/i386-unknown-openbsd3.8/3.3.5/ /usr/lib/"
+ sys_lib_search_path= /usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5/ 
/usr/lib/gcc/i386-unknown-openbsd3.8/3.3.5/ 
/usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5/../../../../i386-unknown-openbsd3.8/lib/i386-unknown-openbsd3.8/3.3.5/
 
/usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5/../../../../i386-unknown-openbsd3.8/lib/
 
/usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5//usr/lib/i386-unknown-openbsd3.8/3.3.5/
 /usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5//usr/lib/ 
/lib/i386-unknown-openbsd3.8/3.3.5/ /lib/ 
/usr/lib/i386-unknown-openbsd3.8/3.3.5/ /usr/lib/
+ eval sys_lib_dlsearch_path="/usr/lib"
+ sys_lib_dlsearch_path=/usr/lib
+ /bin/echo Xlibtestb.la
+ /usr/bin/sed -e 1s/^X// -e s%/[^/]*$%%
+ output_objdir=libtestb.la
+ test Xlibtestb.la = Xlibtestb.la
+ output_objdir=.libs
+ test ! -d .libs
+ linkmode=lib
+ duplicate_compiler_generated_deps=no
+ specialdeplibs=
+ libs=
+ test Xno = Xyes
+ libs= ../libtesta/libtesta.la
+ test lib = lib
+ libs=  ../libtesta/libtesta.la  
+ pre_post_deps=
+ test Xno = Xyes
+ pre_post_deps=
+ deplibs=
+ newdependency_libs=
+ newlib_search_path=
+ need_relink=no
+ notinst_deplibs=
+ passes=conv link
+ test lib,conv = lib,link
+ test lib,conv = prog,scan
+ test lib = prog
+ test conv = dlopen
+ lib=
+ found=no
+ lib=../libtesta/libtesta.la
+ test no = yes
+ test -f ../libtesta/libtesta.la
+ :
+ > /dev/null 
+ 2>&1 
+ :
+ /bin/echo X../libtesta/libtesta.la
+ /usr/bin/sed -e 1s/^X// -e s%/[^/]*$%%
+ ladir=../libtesta
+ test X../libtesta = X../libtesta/libtesta.la
+ dlname=
+ dlopen=
+ dlpreopen=
+ libdir=
+ library_names=
+ old_library=
+ installed=yes
+ shouldnotlink=no
+ avoidtemprpath=
+ . ../libtesta/libtesta.la
+ dlname=libtesta.so.0.0
+ library_names=libtesta.so.0.0 libtesta.so.0.0
+ old_library=libtesta.a
+ dependency_libs=
+ current=0
+ age=0
+ revision=0
+ installed=no
+ shouldnotlink=no
+ dlopen=
+ dlpreopen=
+ libdir=/usr/local/lib
+ test lib,conv = lib,link
+ test lib,conv = prog,scan
+ test lib != prog
+ test lib != lib
+ test conv = conv
+ deplibs=../libtesta/libtesta.la 
+ test -z /usr/local/lib
+ test lib != prog
+ test lib != lib
+ continue
+ dependency_libs=
+ test conv = dlpreopen
+ test conv != dlopen
+ test conv != conv
+ test lib,conv != prog,link
+ vars=deplibs
+ eval tmp_libs="$deplibs"
+ tmp_libs=../libtesta/libtesta.la 
+ new_libs=
+ new_libs=../libtesta/libtesta.la 
+ tmp_libs=
+ tmp_libs= ../libtesta/libtesta.la
+ eval deplibs=" ../libtesta/libtesta.la"
+ deplibs= ../libtesta/libtesta.la
+ eval tmp_libs="$dependency_libs"
+ tmp_libs=
+ new_libs=
+ tmp_libs=
+ eval dependency_libs=""
+ dependency_libs=
+ tmp_libs=
+ dependency_libs=
+ test lib,link = lib,link
+ libs= ../libtesta/libtesta.la
+ deplibs=
+ test lib = prog
+ test link = dlopen
+ lib=
+ found=no
+ lib=../libtesta/libtesta.la
+ test no = yes
+ test -f ../libtesta/libtesta.la
+ :
+ > /dev/null 
+ 2>&1 
+ :
+ /bin/echo X../libtesta/libtesta.la
+ /usr/bin/sed -e 1s/^X// -e s%/[^/]*$%%
+ ladir=../libtesta
+ test X../libtesta = X../libtesta/libtesta.la
+ dlname=
+ dlopen=
+ dlpreopen=
+ libdir=
+ library_names=
+ old_library=
+ installed=yes
+ shouldnotlink=no
+ avoidtemprpath=
+ . ../libtesta/libtesta.la
+ dlname=libtesta.so.0.0
+ library_names=libtesta.so.0.0 libtesta.so.0.0
+ old_library=libtesta.a
+ dependency_libs=
+ current=0
+ age=0
+ revision=0
+ installed=no
+ shouldnotlink=no
+ dlopen=
+ dlpreopen=
+ libdir=/usr/local/lib
+ test lib,link = lib,link
+ test -n 
+ test -n 
+ test link = conv
+ linklib=
+ linklib=libtesta.a
+ linklib=libtesta.so.0.0
+ linklib=libtesta.so.0.0
+ test -z libtesta.so.0.0
+ test link = dlopen
+ cd ../libtesta
+ pwd
+ abs_ladir=/home/users/c/cc/ccontavalli/tmp/test/libtesta
+ test -z /home/users/c/cc/ccontavalli/tmp/test/libtesta
+ /bin/echo X../libtesta/libtesta.la
+ /usr/bin/sed -e 1s/^X// -e s%^.*/%%
+ laname=libtesta.la
+ test Xno = Xyes
+ test ! -f ../libtesta/.libs/libtesta.so.0.0
+ dir=../libtesta/.libs
+ absdir=/home/users/c/cc/ccontavalli/tmp/test/libtesta/.libs
+ notinst_path= /home/users/c/cc/ccontavalli/tmp/test/libtesta
+ /bin/echo Xlibtesta.la
+ /usr/bin/sed -e 1s/^X// -e s/\.la$// -e s/^lib//
+ name=testa
+ test link = dlpreopen
+ test -z /usr/local/lib
+ test lib = prog
+ test lib,link = prog,link
+ link_static=no
+ use_static_libs=no
+ test no = built
+ test -n libtesta.so.0.0 libtesta.so.0.0
+ test no = no
+ test no = no
+ notinst_deplibs= ../libtesta/libtesta.la
+ need_relink=yes
+ test no = yes
+ test lib = lib
+ test no = yes
+ test -n 
+ test lib = prog
+ test relink != relink
+ test lib = prog
+ test relink = relink
+ add_shlibpath=
+ add_dir=
+ add=
+ test yes = yes
+ add=/usr/local/lib/libtesta.so.0.0
+ test lib = prog
+ test -n 
+ test -n /usr/local/lib/libtesta.so.0.0
+ deplibs=/usr/local/lib/libtesta.so.0.0 
+ test lib = lib
+ test -n 
+ newlib_search_path= /home/users/c/cc/ccontavalli/tmp/test/libtesta/.libs
+ test no = no
+ newdependency_libs=/home/users/c/cc/ccontavalli/tmp/test/libtesta/libtesta.la 
+ tmp_libs=
+ test unknown != no
+ dependency_libs=/home/users/c/cc/ccontavalli/tmp/test/libtesta/libtesta.la 
+ test link = dlpreopen
+ test link != dlopen
+ test link != conv
+ lib_search_path=
+ lib_search_path= /home/users/c/cc/ccontavalli/tmp/test/libtesta/.libs
+ newlib_search_path=
+ test lib,link != prog,link
+ vars=deplibs
+ eval tmp_libs="$deplibs"
+ tmp_libs=/usr/local/lib/libtesta.so.0.0 
+ new_libs=
+ new_libs=/usr/local/lib/libtesta.so.0.0 
+ tmp_libs=
+ tmp_libs= /usr/local/lib/libtesta.so.0.0
+ eval deplibs=" /usr/local/lib/libtesta.so.0.0"
+ deplibs= /usr/local/lib/libtesta.so.0.0
+ eval tmp_libs="$dependency_libs"
+ tmp_libs=/home/users/c/cc/ccontavalli/tmp/test/libtesta/libtesta.la 
+ new_libs=
+ new_libs=/home/users/c/cc/ccontavalli/tmp/test/libtesta/libtesta.la 
+ tmp_libs=
+ tmp_libs= /home/users/c/cc/ccontavalli/tmp/test/libtesta/libtesta.la
+ eval dependency_libs=" 
/home/users/c/cc/ccontavalli/tmp/test/libtesta/libtesta.la"
+ dependency_libs= /home/users/c/cc/ccontavalli/tmp/test/libtesta/libtesta.la
+ tmp_libs=
+ test -n /home/users/c/cc/ccontavalli/tmp/test/libtesta/libtesta.la
+ tmp_libs= /home/users/c/cc/ccontavalli/tmp/test/libtesta/libtesta.la
+ dependency_libs= /home/users/c/cc/ccontavalli/tmp/test/libtesta/libtesta.la
+ test lib = prog
+ /bin/echo Xlibtestb.la
+ /usr/bin/sed -e 1s/^X// -e s/\.la$// -e s/^lib//
+ name=testb
+ eval shared_ext=".so"
+ shared_ext=.so
+ eval libname="lib$name"
+ libname=libtestb
+ test -n 
+ test no != no
+ set dummy /usr/local/lib
+ test 2 -gt 2
+ install_libdir=/usr/local/lib
+ oldlibs=
+ test -z  /usr/local/lib
+ save_ifs=     

+ IFS=:
+ set dummy 0 0 0 0 0 0
+ IFS=  

+ test -n 
+ current=0
+ revision=0
+ age=0
+ test 0 -gt 0
+ major=
+ versuffix=
+ verstring=
+ major=.0
+ versuffix=.0.0
+ test -z 0:0:0
+ test no = yes
+ test yes = yes
+ test  = unsupported
+ test relink != relink
+ test yes = yes
+ test yes != convenience
+ oldlibs= .libs/libtestb.a
+ /bin/echo X ./.libs/test1.o .libs/test2.o
+ tr \040 \012
+ /usr/bin/sed -e 1s/^X// -e /\.a$/d -e s/\.lo$/.o/
+ tr \015\012 \040\040
+ oldobjs=  ./.libs/test1.o .libs/test2.o 
+ /bin/echo  /home/users/c/cc/ccontavalli/tmp/test/libtesta/.libs 
+ /usr/bin/sed -e s% /home/users/c/cc/ccontavalli/tmp/test/libtesta % %g
+ lib_search_path= /home/users/c/cc/ccontavalli/tmp/test/libtesta/.libs 
+ /bin/echo  /usr/local/lib/libtesta.so.0.0 
+ /usr/bin/sed -e s% -L/home/users/c/cc/ccontavalli/tmp/test/libtesta % %g
+ deplibs= /usr/local/lib/libtesta.so.0.0 
+ /bin/echo  /home/users/c/cc/ccontavalli/tmp/test/libtesta/libtesta.la 
+ /usr/bin/sed -e s% -L/home/users/c/cc/ccontavalli/tmp/test/libtesta % %g
+ dependency_libs= /home/users/c/cc/ccontavalli/tmp/test/libtesta/libtesta.la 
+ test -n 
+ old_dlfiles=
+ dlfiles=
+ old_dlprefiles=
+ dlprefiles=
+ test yes = yes
+ test -n  /usr/local/lib
+ name_save=testb
+ libname_save=libtestb
+ release_save=
+ versuffix_save=.0.0
+ major_save=.0
+ release=
+ versuffix=
+ major=
+ newdeplibs=
+ droppeddeps=no
+ set dummy match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$
+ expr match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$ : 
match_pattern \(.*\)
+ match_pattern_regex=/lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$
+ expr /usr/local/lib/libtesta.so.0.0 : -l\(.*\)
+ name=
+ test -n 
+ newdeplibs= /usr/local/lib/libtesta.so.0.0
+ versuffix=.0.0
+ major=.0
+ release=
+ libname=libtestb
+ name=testb
+ test no = yes
+ deplibs= /usr/local/lib/libtesta.so.0.0
+ new_libs=
+ new_libs= /usr/local/lib/libtesta.so.0.0
+ deplibs= /usr/local/lib/libtesta.so.0.0
+ library_names=
+ old_library=
+ dlname=
+ test yes = yes
+ test no = yes
+ shlibpath=
+ test relink != relink
+ test -n 
+ eval shared_ext=".so"
+ shared_ext=.so
+ eval library_names="${libname}${release}${shared_ext}$versuffix 
${libname}${shared_ext}$versuffix"
+ library_names=libtestb.so.0.0 libtestb.so.0.0
+ set dummy libtestb.so.0.0 libtestb.so.0.0
+ realname=libtestb.so.0.0
+ shift
+ shift
+ test -n 
+ soname=libtestb.so.0.0
+ test -z 
+ dlname=libtestb.so.0.0
+ lib=.libs/libtestb.so.0.0
+ linknames=
+ linknames= libtestb.so.0.0
+ test -z  -fPIC -DPIC
+ test -z 
+ test no = yes
+ test -n 
+ test -n 
+ tmp_deplibs=
+ tmp_deplibs= /usr/local/lib/libtesta.so.0.0
+ deplibs= /usr/local/lib/libtesta.so.0.0
+ test -n 
+ test no = yes
+ test relink = relink
+ eval (cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)
+ cd .libs
+ rm -f libtestb.so.0.0U
+ mv -f libtestb.so.0.0 libtestb.so.0.0U
+ test no = yes
+ test -n 
+ eval test_cmds="$CC -shared $pic_flag -o $lib $libobjs $deplibs 
$compiler_flags"
+ test_cmds=gcc -shared  -fPIC -DPIC -o .libs/libtestb.so.0.0  ./.libs/test1.o 
.libs/test2.o  /usr/local/lib/libtesta.so.0.0 
+ cmds=$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags
+ test X != X:
+ expr Xgcc -shared  -fPIC -DPIC -o .libs/libtestb.so.0.0  ./.libs/test1.o 
.libs/test2.o  /usr/local/lib/libtesta.so.0.0  : .*
+ 2> /dev/null 
+ len=114
+ test 114 -le 196608
+ :
+ save_ifs=     

+ IFS=~
+ IFS=  

+ eval cmd="$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags"
+ cmd=gcc -shared  -fPIC -DPIC -o .libs/libtestb.so.0.0  ./.libs/test1.o 
.libs/test2.o  /usr/local/lib/libtesta.so.0.0 
+ /bin/echo gcc -shared  -fPIC -DPIC -o .libs/libtestb.so.0.0  ./.libs/test1.o 
.libs/test2.o  /usr/local/lib/libtesta.so.0.0 
gcc -shared  -fPIC -DPIC -o .libs/libtestb.so.0.0  ./.libs/test1.o 
.libs/test2.o  /usr/local/lib/libtesta.so.0.0 
+ eval gcc -shared  -fPIC -DPIC -o .libs/libtestb.so.0.0  ./.libs/test1.o 
.libs/test2.o  /usr/local/lib/libtesta.so.0.0 
+ gcc -shared -fPIC -DPIC -o .libs/libtestb.so.0.0 ./.libs/test1.o 
.libs/test2.o /usr/local/lib/libtesta.so.0.0
gcc: /usr/local/lib/libtesta.so.0.0: No such file or directory
+ lt_exit=1
+ test relink = relink
+ eval (cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)
+ cd .libs
+ rm -f libtestb.so.0.0T
+ mv -f libtestb.so.0.0U libtestb.so.0.0
+ exit 1
libtool: install: error: relink `./libtestb.la' with the above command before 
installing it
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to