Gentoo Archives: gentoo-dev

From: Christian Parpart <trapni@g.o>
To: gentoo-dev@l.g.o
Cc: Robert Clark <hyakuhei@g.o>
Subject: Re: [gentoo-dev] g++ problem
Date: Thu, 31 May 2007 09:30:03
Message-Id: 200705311126.50663.trapni@gentoo.org
In Reply to: Re: [gentoo-dev] g++ problem by Robert Clark
1 On Monday 28 May 2007 18:16:11 Robert Clark wrote:
2 > > works fine as soon as I add the -static flag for g++
3 > >
4 > >  g++ -g -Wall -static  `curl-config --cflags` `curl-config --libs` -l
5 > > xerces-c Ui.cpp GetDataCurl.cpp GetDataAmazon.cpp XmlParser.cpp
6 > > Options.cpp
7 > >
8 > > /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bi
9 > >n/ld: cannot find -lgssapi_krb5
10 > >  collect2: ld returned 1 exit status
11
12 obviousely you've got a dynamic version libgssapi_krb5.so but no static
13 version libgssapi_krb5.a (please note the file extension).
14 please checkout the package that installed this particular library (sorry,
15 don't know which, as I don't play w/ gssapi nor krb) and probably fix the
16 ebuild, in case it is just missing installing the dynamic version.
17 But maybe upstream just did not create a static lib version, so you've to
18 patch their Makefile and in the end, patch the ebuild anyways.
19
20 Hope these thoughts help,
21 Christian Parpart.

Attachments

File name MIME type
signature.asc application/pgp-signature