On Monday 28 May 2007 18:16:11 Robert Clark wrote: > > works fine as soon as I add the -static flag for g++ > > > > g++ -g -Wall -static `curl-config --cflags` `curl-config --libs` -l > > xerces-c Ui.cpp GetDataCurl.cpp GetDataAmazon.cpp XmlParser.cpp > > Options.cpp > > > > /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bi > >n/ld: cannot find -lgssapi_krb5 > > collect2: ld returned 1 exit status
obviousely you've got a dynamic version libgssapi_krb5.so but no static version libgssapi_krb5.a (please note the file extension). please checkout the package that installed this particular library (sorry, don't know which, as I don't play w/ gssapi nor krb) and probably fix the ebuild, in case it is just missing installing the dynamic version. But maybe upstream just did not create a static lib version, so you've to patch their Makefile and in the end, patch the ebuild anyways. Hope these thoughts help, Christian Parpart.
signature.asc
Description: This is a digitally signed message part.