[C++-sig] Boost V1 build on Solaris

Paul F. Kunz Paul_Kunz at SLAC.Stanford.EDU
Wed Oct 23 23:07:31 CEST 2002


   I finally got bjam to compile boost::python sources (if you
remember my previous post, I found the Python header files is a
strange place).   Now I'm failing on the link step...

    /afs/slac/package/gcc/gcc-3/3.1.1/sun4x_58/bin/g++   -s -fPIC
    -shared  -o
    "libs/python/build/bin/libboost_python.so/gcc/release/inlining-on/runtime-link-dynamic/shared-linkable-true/libboost_python.so"

< ..munch..>

/bin/libboost_python.so/gcc/release/inlining-on/runtime-link-dynamic/shared-linkable-true/errors.o"    -lutil


ld: fatal: library -lutil: not found

On my Linux machine, libutil.so appears in /usr/lib.  and 

libra3> rpm -q --file /usr/lib/libutil.a
glibc-devel-2.2.4-29

libutil.so doesn't appear to be on Solaris 5.8.   Is there some other
library I could link to?   Do I really need libutil.so?




More information about the Cplusplus-sig mailing list