libstdc++.la empty
For any others that are struggling to use libtool with the included GNU build tools in Solaris 10:
It appears as though someone left out a proper libstdc++.la in /usr/sfw/lib and /usr/sfw/lib/64.
Try these:
/usr/sfw/lib/libstdc++.la
-
# libstdc++.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4a-GCC3.0 (1.641.2.256 2001/05/28 20:09:07 with GCC-local changes)
#
# Please DO NOT deletethis file!
# It is necessaryfor linking the library.
# The name that we can dlopen(3).
dlname='libstdc++.so.6'
# Names ofthis library.
library_names='libstdc++.so.6.0.3 libstdc++.so.6 libstdc++.so'
# The name of thestatic archive.
old_library='libstdc++.a'
# Libraries thatthis one depends upon.
dependency_libs='-lc -lm -L/usr/sfw/lib -lgcc_s'
# Version informationfor libstdc++.
current=6
age=0
revision=3
# Isthis an already installed library?
installed=yes
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory thatthis library needs to be installed in:
libdir='/usr/sfw/lib'
-
and
/usr/sfw/lib/64/libstdc++.la
-
# libstdc++.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4a-GCC3.0 (1.641.2.256 2001/05/28 20:09:07 with GCC-local changes)
#
# Please DO NOT deletethis file!
# It is necessaryfor linking the library.
# The name that we can dlopen(3).
dlname='libstdc++.so.6'
# Names ofthis library.
library_names='libstdc++.so.6.0.3 libstdc++.so.6 libstdc++.so'
# The name of thestatic archive.
old_library='libstdc++.a'
# Libraries thatthis one depends upon.
dependency_libs='-L/lib/64 -lc -lm -L/usr/sfw/lib/64 -lgcc_s'
# Version informationfor libstdc++.
current=6
age=0
revision=3
# Isthis an already installed library?
installed=yes
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory thatthis library needs to be installed in:
libdir='/usr/sfw/lib/64'
-
Remove the leading and trailing "-".
/kristofer

