[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] g++ problem
From:       Christian Parpart <trapni () gentoo ! org>
Date:       2007-05-31 9:26:47
Message-ID: 200705311126.50663.trapni () gentoo ! org
[Download RAW message or body]

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" (application/pgp-signature)]
-- 
gentoo-dev@gentoo.org mailing list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic