libtool
[Top][All Lists]
Advanced

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

Re: reference to libgcc_s.so.1 without a corresponding run path


From: Bruce Korb
Subject: Re: reference to libgcc_s.so.1 without a corresponding run path
Date: Wed, 01 Oct 2008 11:50:49 -0700
User-agent: Thunderbird 2.0.0.12 (X11/20071114)

Ralf Wildenhues wrote:
Hi Bruce,

* Bruce Korb wrote on Wed, Oct 01, 2008 at 04:11:41AM CEST:
cd ../getdefs ; gmake getdefs
gmake[4]: Entering directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/getdefs'
top_builddir=.. top_srcdir=../.. PATH=`cd ../columns >/dev/null && pwd`:$PATH ; 
export top_builddir top_srcdir PATH ; 
/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5/autogen -L../../autoopts 
../../getdefs/opts.def
ld.so.1: /home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5/.libs/autogen: 
fatal: libgcc_s.so.1: open failed: No such file or directory

Please post full output of this:
  cd /home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b
  find . -name \*.la | xargs ./libtool --mode=clean rm -f agen5/autogen
  gmake

plus
  ./libtool --config

(if your code uses C++ then add '--tag=CXX' before '--config').

Hi Ralf,

No C++.  Typescript attached.  Thank you! - Bruce
mns'
for f in config.h opts.h columns.c opts.c ; do echo "#include \"$f\"" ; done > 
cols.c
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../columns -I.. -I.. -I../.. 
-I../autoopts -I../../autoopts    -O0 -MT cols.o -MD -MP -MF .deps/cols.Tpo -c 
-o cols.o cols.c
mv -f .deps/cols.Tpo .deps/cols.Po
/bin/bash ../libtool --tag=CC   --mode=link gcc -std=gnu99  -O0   -o columns 
cols.o ../autoopts/libopts.la -L/home/usr/bkorb/SunOS-sun4u/lib -lguile 
-lguile-ltdl -lsocket -lnsl -lm -lm -lgen -lm -ldl
libtool: link: gcc -std=gnu99 -O0 -o .libs/columns cols.o  
../autoopts/.libs/libopts.so -L/home/usr/bkorb/SunOS-sun4u/lib 
/home/usr/bkorb/SunOS-sun4u/lib/libguile.so 
/home/usr/bkorb/SunOS-sun4u/lib/libguile-ltdl.so -lsocket -lnsl -lgen -lm -ldl 
-R/home/usr/bkorb/SunOS-sun4u/lib
gmake[4]: Leaving directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/columns'
cd ../getdefs ; gmake getdefs
gmake[4]: Entering directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/getdefs'
top_builddir=.. top_srcdir=../.. PATH=`cd ../columns >/dev/null && pwd`:$PATH ; 
export top_builddir top_srcdir PATH ; 
/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5/autogen -L../../autoopts 
../../getdefs/opts.def
ld.so.1: /home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5/.libs/autogen: 
fatal: libgcc_s.so.1: open failed: No such file or directory
gmake[4]: *** [opts.h] Error 137
gmake[4]: Leaving directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/getdefs'
gmake[3]: *** [/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/getdefs/getdefs] 
Error 2
gmake[3]: Leaving directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b'
gmake: *** [all] Error 2
~/tools/ag/autogen-5.9.6pre15/_b
$ ldd /home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5/.libs/autogen
        libopts.so.25 =>         /home/usr/bkorb/SunOS-sun4u/lib/libopts.so.25
        libguile.so.12 =>        /home/usr/bkorb/SunOS-sun4u/lib/libguile.so.12
        libguile-ltdl.so.1 =>    
/home/usr/bkorb/SunOS-sun4u/lib/libguile-ltdl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
~/tools/ag/autogen-5.9.6pre15/_b
$ cd /home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b
~/tools/ag/autogen-5.9.6pre15/_b
$   find . -name \*.la | xargs ./libtool --mode=clean rm -f agen5/autogen
libtool: clean: rm -f agen5/autogen agen5/.libs/autogen agen5/.libs/autogenS.o
libtool: clean: rm -f ./autoopts/.libs/libopts.la 
./autoopts/.libs/.libs/libopts.so.25.7.0 ./autoopts/.libs/.libs/libopts.so.25 
./autoopts/.libs/.libs/libopts.so ./autoopts/.libs/.libs/libopts.a 
./autoopts/.libs/.libs/libopts.la ./autoopts/.libs/.libs/libopts.lai
libtool: clean: rm -f ./autoopts/.libs/libguileopts.la 
./autoopts/.libs/.libs/libguileopts.so.0.0.1 
./autoopts/.libs/.libs/libguileopts.so.0 ./autoopts/.libs/.libs/libguileopts.so 
./autoopts/.libs/.libs/libguileopts.a ./autoopts/.libs/.libs/libguileopts.la 
./autoopts/.libs/.libs/libguileopts.lai
libtool: clean: rm -f ./autoopts/libopts.la ./autoopts/.libs/libopts.so.25.7.0 
./autoopts/.libs/libopts.so.25 ./autoopts/.libs/libopts.so 
./autoopts/.libs/libopts.a ./autoopts/.libs/libopts.la 
./autoopts/.libs/libopts.lai
libtool: clean: rm -f ./autoopts/libguileopts.la 
./autoopts/.libs/libguileopts.so.0.0.1 ./autoopts/.libs/libguileopts.so.0 
./autoopts/.libs/libguileopts.so ./autoopts/.libs/libguileopts.a 
./autoopts/.libs/libguileopts.la ./autoopts/.libs/libguileopts.lai
libtool: clean: rm -f ./snprintfv/.libs/libsnprintfv.la 
./snprintfv/.libs/.libs/libsnprintfv.a
libtool: clean: rm -f ./snprintfv/libsnprintfv.la 
./snprintfv/.libs/libsnprintfv.a
libtool: clean: rmdir agen5/.libs >/dev/null 2>&1
libtool: clean: rmdir ./autoopts/.libs >/dev/null 2>&1
libtool: clean: rmdir ./snprintfv/.libs >/dev/null 2>&1
~/tools/ag/autogen-5.9.6pre15/_b
$   gmake
gmake  all-recursive
gmake[1]: Entering directory `/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b'
Making all in compat
gmake[2]: Entering directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/compat'
:
gmake[2]: Leaving directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/compat'
Making all in snprintfv
gmake[2]: Entering directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/snprintfv'
/bin/bash ../libtool --tag=CC   --mode=link gcc -std=gnu99  -O0 -no-undefined  
-o libsnprintfv.la  snv.lo  -lm -lgen -lm -ldl
libtool: link: ar cru .libs/libsnprintfv.a .libs/snv.o
libtool: link: ranlib .libs/libsnprintfv.a
libtool: link: ( cd ".libs" && rm -f "libsnprintfv.la" && ln -s 
"../libsnprintfv.la" "libsnprintfv.la" )
gmake[2]: Leaving directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/snprintfv'
Making all in autoopts
gmake[2]: Entering directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/autoopts'
Making all in test
gmake[3]: Entering directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/autoopts/test'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/autoopts/test'
gmake[3]: Entering directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/autoopts'
/bin/bash ../libtool --tag=CC   --mode=link gcc -std=gnu99 
-DPKGDATADIR='"/home/usr/bkorb/SunOS-sun4u/share/autogen"' -O0 -version-info 
32:0:7  -o libopts.la -rpath /home/usr/bkorb/SunOS-sun4u/lib  
libopts_la-libopts.lo ../snprintfv/libsnprintfv.la -lm -lgen -lm -ldl
libtool: link: gcc -shared -Wl,-z -Wl,text -Wl,-h -Wl,libopts.so.25 -o 
.libs/libopts.so.25.7.0  .libs/libopts_la-libopts.o  -Wl,-z -Wl,allextract 
../snprintfv/.libs/libsnprintfv.a -Wl,-z -Wl,defaultextract  -lgen -lm -ldl -lc
libtool: link: (cd ".libs" && rm -f "libopts.so.25" && ln -s 
"libopts.so.25.7.0" "libopts.so.25")
libtool: link: (cd ".libs" && rm -f "libopts.so" && ln -s "libopts.so.25.7.0" 
"libopts.so")
libtool: link: (cd .libs/libopts.lax/libsnprintfv.a && ar x 
"/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/autoopts/../snprintfv/.libs/libsnprintfv.a")
libtool: link: ar cru .libs/libopts.a  libopts_la-libopts.o  
.libs/libopts.lax/libsnprintfv.a/snv.o
libtool: link: ranlib .libs/libopts.a
libtool: link: rm -fr .libs/libopts.lax
libtool: link: ( cd ".libs" && rm -f "libopts.la" && ln -s "../libopts.la" 
"libopts.la" )
/bin/bash ../libtool --tag=CC   --mode=link gcc -std=gnu99 
-I/home/usr/bkorb/SunOS-sun4u/include -O0 -version-info 0:1:0  -o 
libguileopts.la -rpath /home/usr/bkorb/SunOS-sun4u/lib 
libguileopts_la-guileopt.lo libopts.la -lm -lgen -lm -ldl
libtool: link: gcc -shared -Wl,-z -Wl,text -Wl,-h -Wl,libguileopts.so.0 -o 
.libs/libguileopts.so.0.0.1  .libs/libguileopts_la-guileopt.o   
-R/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/autoopts/.libs 
-R/home/usr/bkorb/SunOS-sun4u/lib ./.libs/libopts.so -lgen -lm -ldl -lc
libtool: link: (cd ".libs" && rm -f "libguileopts.so.0" && ln -s 
"libguileopts.so.0.0.1" "libguileopts.so.0")
libtool: link: (cd ".libs" && rm -f "libguileopts.so" && ln -s 
"libguileopts.so.0.0.1" "libguileopts.so")
libtool: link: ar cru .libs/libguileopts.a  libguileopts_la-guileopt.o
libtool: link: ranlib .libs/libguileopts.a
libtool: link: ( cd ".libs" && rm -f "libguileopts.la" && ln -s 
"../libguileopts.la" "libguileopts.la" )
++ cd ..
++ pwd
+ top_builddir=/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b
++ cd ../..
++ pwd
+ top_srcdir=/home/usr/bkorb/tools/ag/autogen-5.9.6pre15
+ '[' -x /home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5/autogen ']'
+ exit 0
gmake[3]: Leaving directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/autoopts'
gmake[2]: Leaving directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/autoopts'
Making all in agen5
gmake[2]: Entering directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5'
Making all in test
gmake[3]: Entering directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5/test'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5/test'
gmake[3]: Entering directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5'
/bin/bash ../libtool --tag=CC   --mode=link gcc -std=gnu99 
-I/home/usr/bkorb/SunOS-sun4u/include -O0 -export-dynamic  -o autogen  
autogen-ag.o ../autoopts/libopts.la ../snprintfv/libsnprintfv.la 
-L/home/usr/bkorb/SunOS-sun4u/lib -lguile -lguile-ltdl -lsocket -lnsl -lm -lm 
-lgen -lm -ldl
libtool: link: gcc -std=gnu99 -I/home/usr/bkorb/SunOS-sun4u/include -O0 -o 
.libs/autogen autogen-ag.o  ../autoopts/.libs/libopts.so 
../snprintfv/.libs/libsnprintfv.a -L/home/usr/bkorb/SunOS-sun4u/lib 
/home/usr/bkorb/SunOS-sun4u/lib/libguile.so 
/home/usr/bkorb/SunOS-sun4u/lib/libguile-ltdl.so -lsocket -lnsl -lgen -lm -ldl 
-R/home/usr/bkorb/SunOS-sun4u/lib
cd ../getdefs ; gmake getdefs
gmake[4]: Entering directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/getdefs'
top_builddir=.. top_srcdir=../.. PATH=`cd ../columns >/dev/null && pwd`:$PATH ; 
export top_builddir top_srcdir PATH ; 
/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5/autogen -L../../autoopts 
../../getdefs/opts.def
ld.so.1: /home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5/.libs/autogen: 
fatal: libgcc_s.so.1: open failed: No such file or directory
gmake[4]: *** [opts.h] Error 137
gmake[4]: Leaving directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/getdefs'
gmake[3]: *** [/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/getdefs/getdefs] 
Error 2
gmake[3]: Leaving directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b/agen5'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/usr/bkorb/tools/ag/autogen-5.9.6pre15/_b'
gmake: *** [all] Error 2
~/tools/ag/autogen-5.9.6pre15/_b
$ ./libtool --config

# Assembler program.
AS=as

# DLL creation program.
DLLTOOL=dlltool

# Object dumper program.
OBJDUMP=objdump

# Which release of libtool.m4 was used?
macro_version=2.2
macro_revision=1.2599

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

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

# What type of objects to build.
pic_mode=default

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

# The host system.
host_alias=
host=sparc-sun-solaris2.8
host_os=solaris2.8

# The build system.
build_alias=
build=sparc-sun-solaris2.8
build_os=solaris2.8

# A sed program that does not truncate output.
SED="/opt/sfw/bin/gsed"

# Sed that helps us avoid accidentally triggering echo(1) options like -n.
Xsed="$SED -e 1s/^X//"

# A grep program that handles long lines.
GREP="/opt/sfw/bin/ggrep"

# An ERE matcher.
EGREP="/opt/sfw/bin/ggrep -E"

# A literal string matcher.
FGREP="/opt/sfw/bin/ggrep -F"

# A BSD- or MS-compatible name lister.
NM="/usr/ccs/bin/nm -p"

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

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

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

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

# whether the shell understands "unset".
lt_unset=unset

# turn spaces into newlines.
SP2NL="tr \\040 \\012"

# turn newlines into spaces.
NL2SP="tr \\015\\012 \\040\\040"

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

# Method to check whether dependent libraries are shared objects.
deplibs_check_method="pass_all"

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

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

# A symbol stripping program.
STRIP="strip"

# Commands used to install an old-style archive.
RANLIB="ranlib"
old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib"
old_postuninstall_cmds=""

# A C compiler.
LTCC="gcc -std=gnu99"

# LTCC compiler flags.
LTCFLAGS="-O0"

# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe="sed -n -e 's/^.*[    ]\\([BDRT][BDRT]*\\)[   ][      
]*\\([_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/^T .* \\(.*\\)\$/extern int \\1();/p' -e 
's/^[BDRT]* .* \\(.*\\)\$/extern char \\1;/p'"

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

# Transform the output of nm in a C name address pair when lib prefix is needed.
global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\) \$/  
{\\\"\\1\\\", (void *) 0},/p' -e 's/^[BDRT]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/  
{\"\\2\", (void *) \\&\\2},/p' -e 's/^[BDRT]* \\([^ ]*\\) \\([^ ]*\\)\$/  
{\"lib\\2\", (void *) \\&\\2},/p'"

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

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

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

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

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

# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=""

# Tool to change global to local symbols on Mac OS X.
NMEDIT=""

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

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

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

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

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

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

# Library versioning type.
version_type=linux

# Shared library runtime path variable.
runpath_var=

# Shared library path variable.
shlibpath_var=LD_LIBRARY_PATH

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

# 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}\${release}\${shared_ext}\$major \$libname\${shared_ext}"

# The coded name of the library, if different from the real name.
soname_spec="\${libname}\${release}\${shared_ext}\$major"

# Command to use after installation of a shared archive.
postinstall_cmds="chmod +x \$lib"

# Command to use after uninstallation of a shared archive.
postuninstall_cmds=""

# Commands used to finish a libtool library installation in a directory.
finish_cmds=""

# As "finish_cmds", except a single script fragment to be evaled but
# not shown.
finish_eval=""

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

# Compile-time system search path for libraries.
sys_lib_search_path_spec="/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2 
/usr/ccs/bin /usr/ccs/lib /usr/local/lib /lib /usr/lib"

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

# 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

# Commands to strip libraries.
old_striplib=""
striplib=""


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

# Commands used to build an old-style archive.
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"

# A language specific compiler.
CC="gcc"

# Is the compiler the GNU compiler?
with_gcc=yes

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

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

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

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

# Does compiler simultaneously support -c and -o options?
compiler_c_o="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

# Compiler flag to allow reflexive dlopens.
export_dynamic_flag_spec=""

# Compiler flag to generate shared objects directly from archives.
whole_archive_flag_spec="\${wl}-z \${wl}allextract\$convenience \${wl}-z 
\${wl}defaultextract"

# Whether the compiler copes with passing no objects directly.
compiler_needs_object="no"

# 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 a shared archive.
archive_cmds="\$CC -shared \${wl}-z \${wl}text \${wl}-h \${wl}\$soname -o \$lib 
\$libobjs \$deplibs \$compiler_flags"
archive_expsym_cmds="echo \\\"{ global:\\\" > \$lib.exp~cat \$export_symbols | 
\$SED -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$lib.exp~echo \\\"local: *; };\\\" 
>> \$lib.exp~
          \$CC -shared \${wl}-z \${wl}text \${wl}-M \${wl}\$lib.exp \${wl}-h 
\${wl}\$soname -o \$lib \$libobjs \$deplibs \$compiler_flags~\$RM \$lib.exp"

# Commands used to build a loadable module if different from building
# a shared archive.
module_cmds=""
module_expsym_cmds=""

# Whether we are building with GNU ld or not.
with_gnu_ld="no"

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

# Flag that enforces no undefined symbols.
no_undefined_flag=" -z defs"

# Flag to hardcode $libdir into a binary during linking.
# This must work even if $libdir does not exist
hardcode_libdir_flag_spec="-R\$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${shared_ext} during linking hardcodes
# DIR into the resulting binary.
hardcode_direct=no

# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
# DIR into the resulting binary and the resulting library dependency is
# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
# library is relocated.
hardcode_direct_absolute=no

# 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

# Set to yes if linker adds runtime paths of dependent libraries
# to runtime path list.
inherit_rpath=no

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

# 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"

# Symbols that should not be listed in the preloaded symbols.
exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"

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

# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=""

# Specify filename containing input files.
file_list_spec=""

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

~/tools/ag/autogen-5.9.6pre15/_b
$ ldd agen5/.libs/autogen
        libopts.so.25 =>         /home/usr/bkorb/SunOS-sun4u/lib/libopts.so.25
        libguile.so.12 =>        /home/usr/bkorb/SunOS-sun4u/lib/libguile.so.12
        libguile-ltdl.so.1 =>    
/home/usr/bkorb/SunOS-sun4u/lib/libguile-ltdl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
~/tools/ag/autogen-5.9.6pre15/_b
$ echo $LD_LIBRARY_PATH

~/tools/ag/autogen-5.9.6pre15/_b
$ which -a guile
no -a in . /home/usr/bkorb/bin /home/usr/bkorb/SunOS-sun4u/bin /usr/local/bin 
/net/flanders/export/ws/rod/bkorb/bin /share/soft/gnu/bin /opt/sfw/bin 
/share/soft/tcltk/bin /share/soft/java/bin /share/soft/SUNWspro/bin 
/usr/ccs/bin /share/soft/bin /share/soft /usr/bin /bin /usr/sbin /sbin 
/share/soft/bitkeeper /usr/X/bin
/home/usr/bkorb/SunOS-sun4u/bin/guile
~/tools/ag/autogen-5.9.6pre15/_b
$ for f in $(path);do test -x $f/guile && echo $f/guile;done
/home/usr/bkorb/SunOS-sun4u/bin/guile
/opt/sfw/bin/guile
~/tools/ag/autogen-5.9.6pre15/_b
$ which gule
no gule in . /home/usr/bkorb/bin /home/usr/bkorb/SunOS-sun4u/bin /usr/local/bin 
/net/flanders/export/ws/rod/bkorb/bin /share/soft/gnu/bin /opt/sfw/bin 
/share/soft/tcltk/bin /share/soft/java/bin /share/soft/SUNWspro/bin 
/usr/ccs/bin /share/soft/bin /share/soft /usr/bin /bin /usr/sbin /sbin 
/share/soft/bitkeeper /usr/X/bin
~/tools/ag/autogen-5.9.6pre15/_b
$ which guile
/home/usr/bkorb/SunOS-sun4u/bin/guile
~/tools/ag/autogen-5.9.6pre15/_b
$

reply via email to

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