Ed Millard (millard++at++hawkeye.newport.sgi.com)
Wed, 7 Sep 1994 17:04:23 -0800 (PDT)
The performer group might be able to answer why libpf.so needs this. There
must be some C++ in the code your using. This symbols is defined in
/usr/lib/libC.so which is the C++ Dynamic Shared Object. Try linking
with:
-lC
I've attached below a handy tool I keep around to find symbols like this.
I keep it in:
/usr/local/bin/symsall
To find this symbol I did:
symsall /usr/lib/*.so | grep __pure_virtual_called
and it says:
/usr/lib/libC.so: 0fbd6660 T __pure_virtual_called
/usr/lib/libInventor.so: 00000000 U __pure_virtual_called
/usr/lib/libInventorXt.so: 00000000 U __pure_virtual_called
/usr/lib/libSgt.so: 00000000 U __pure_virtual_called
/usr/lib/libdesktopGallery.so: 00000000 U __pure_virtual_called
/usr/lib/libdesktopIcon.so: 00000000 U __pure_virtual_called
/usr/lib/libdesktopIcon.so: 00000000 U __pure_virtual_called
/usr/lib/libdtlxm.so: 00000000 U __pure_virtual_called
/usr/lib/libil.so: 00000000 U __pure_virtual_called
/usr/lib/libpf.so: 00000000 U __pure_virtual_called
/usr/lib/libshowcase3d.so: 00000000 U __pure_virtual_called
/usr/lib/libshowcaseext.so: 00000000 U __pure_virtual_called
/usr/lib/libshowcaseui.so: 00000000 U __pure_virtual_called
/usr/lib/libvk.so: 00000000 U __pure_virtual_called
The entry with the 'T' is the library where this missing symbol lives.
The entries with 'U' are undefined references of this symbol in DSO's
which use it.
===========================symsall=========================================
#!/bin/sh
libdir=/usr/lib
field=T
cmd=`basename $0`
usage() {
echo "usage: $cmd file1 file2 ..."
exit 1
}
if [ $# = 0 ]; then
usage
fi
if [ "$cmd" = "undef" ]; then
field=U
fi
for i in $*; do
if [ -f "$i" ]; then
file=$i
elif [ -f $libdir/lib$i.so ]; then
file=$libdir/lib$i.so
elif [ -f $libdir/lib$i.a ]; then
file=$libdir/lib$i.a
else
echo "$i not found"
file=""
fi
if [ -n "$file" ]; then
nm -Bo $file \
| nawk -v field=$field '{ print $0 }'\
| sort
fi
done
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:32 PDT