On Fri, Oct 10, 2003, Michael Szengel wrote:
> while I am compiling a lot og packages from the 1.3/SRC/PLUS tree I get
> sometimes the following error during linking:
>
> /cw/bin/cc -O2 -pipe -DXMLSEC_NO_XKMS=1 -o xmlsec1 xmlsec.o crypto.o
> cmdline.o -L/cw/lib ../src/openssl/.libs/libxmlsec1-openssl.a
> -L/opt/Forte-7.0/SUNWspro/lib -L/opt/Forte-7.0/SUNWspro/lib/stlport4
> -L/opt/Forte-7.0/SUNWspro/prod/lib -L/opt/Forte-7.0/SUNWspro/lib/v8plus
> -L/usr/local/lib -L/usr/dt/lib -L/usr/openwin/lib -L/usr/ccs/lib
> ../src/.libs/libxmlsec1.a /cw/lib/libxslt.a /cw/lib/libxml2.a -lsocket
> -lnsl -lz /usr/local/lib/libiconv.so -lCrun -lCstd -lc -lsunmath -lmopt
> -lm -ldl -lcrypto -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
> -Wl,/usr/local/lib -Wl,--rpath -Wl,/cw/lib
> /cw/bin/ld: cannot find -lCrun
The libCrun is not part of any OpenPKG package. Instead it seems related
to your Sun Forte C 7.0 compiler suite. I don't know from where all
the build flags related to Forte C comes here, but it looks strange.
Especially because the used compiler is /cw/bin/cc (OpenPKG GCC). Do you
have any "use_cc" definitions in ~/.rpmmacros or do you have some $CC in
your environment? There has to be something which directs the packages
to the /opt/Forte-7.0 stuff and this way confuse everything.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]