[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with libstdc++



Andreas Richter wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

since my last apt-get update && upgrade (yesterday) i have some problems
to compile programms against libstdc++. the following error occour:

/usr/bin/ld: /usr/lib/gcc-lib/x86_64-linux/3.3.4/libstdc++.a(ios.o):
relocation R_X86_64_32S can not be used when making a shared object;
recompile with -fPIC
/usr/lib/gcc-lib/x86_64-linux/3.3.4/libstdc++.a: could not read symbols:
Bad value
collect2: ld returned 1 exit status

Can anybody tell me, what can i do to solve the problem? Is the
libstdc++ not compiled with -fPIC? And when, why?


Did you note that you are using the static libstdc++.a ?
Would you mind to mail the command line?


Regards

Harri



Reply to: