[Top][All Lists]

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

libtool 1.5 on Solaris 9 with two gcc

From: Richard A Ryan
Subject: libtool 1.5 on Solaris 9 with two gcc
Date: Thu, 01 May 2003 10:41:56 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3) Gecko/20030319


I'm running libtool 1.5 on Solaris 9.  I'm compiling
with and linking through gcc 3.2.1 in the location
/opt/GCC/bin.  There is also gcc 3.2 in /usr/local/bin.
The problem I'm having with libtool 1.5 that I didn't
have with libtool 1.4.3 is that now libtool seems to be
trying to link with that same libraries in both /usr/local
and /opt/GCC

Here's from the last few lines of output:

/bin/bash ../libtool --mode=link g++ -g -O2 -fpermissive -o LdmNexrad2NetCDF LdmNexrad2NetCDF.o libOdsNexradLib.la -lz -lnsl -lm -llzo -lbz2 g++ -g -O2 -fpermissive -o LdmNexrad2NetCDF LdmNexrad2NetCDF.o ./.libs/libOdsNexradLib.a -L/usr2/SOURCES/S9/gcc-3.2/objdir/sparc-sun-solaris2.9/libstdc++-v3/src -L/usr2/SOURCES/S9/gcc-3.2/objdir/sparc-sun-solaris2.9/libstdc++-v3/src/.libs -L/usr2/SOURCES/S9/gcc-3.2/objdir/gcc -L/usr/local/udunits/lib -L/usr/local/netcdf/lib -lnetcdf_c++ -L/usr/local/ldm/lib -ludunits -lnetcdf -lldm /usr/local/lib/libstdc++.so -L/usr/ccs/bin -L/usr/ccs/lib -lgcc_s -lz -lnsl -lm /usr/local/lib/liblzo.a -lbz2 -Wl,-R -Wl,/usr/local/lib -Wl,-R -Wl,/usr/local/lib
ld: fatal: recording name conflict: file `/usr/local/lib/libstdc++.so' and file 
`/opt/GCC/lib/gcc-lib/sparc-sun-solaris2.9/3.2.1/../../../libstdc++.so' provide 
identical dependency names: libstdc++.so.5  (possible multiple inclusion of the 
same file)
ld: fatal: File processing errors. No output written to LdmNexrad2NetCDF
collect2: ld returned 1 exit status
make[3]: *** [LdmNexrad2NetCDF] Error 1
make[3]: Leaving directory `/scratch/ryan/nexrad_scratch/ods/base/Nexrad'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/scratch/ryan/nexrad_scratch/ods/base/Nexrad'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/scratch/ryan/nexrad_scratch/ods/base'
make: *** [all] Error 2

Richard Ryan

reply via email to

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