openexr-devel
[Top][All Lists]
Advanced

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

Re[2]: [Openexr-devel] 64 bit libHalf - R_X86_64_32S _eLut and -fPIC que


From: Pavel Ledin
Subject: Re[2]: [Openexr-devel] 64 bit libHalf - R_X86_64_32S _eLut and -fPIC question
Date: Tue, 1 Apr 2008 15:56:04 +0400

Hello Paul,

How did you solve your problem? I have same issue now on Mandriva
2008 x64 (and no any issue with x86).
How manually enable -fPIC?

/usr/bin/ld: 
../../../OpenEXR/openexr-1.6.1/IlmImf/.libs/libIlmImf.a(ImfChannelList.o): 
relocation R_X86_64_32S against `std::basic_string<char, 
std::char_traits<char>, std::allocator<char> 
>::_Rep::_S_empty_rep_storage@@GLIBCXX_3.4' can not be used when making a 
shared object; recompile with -fPIC
../../../OpenEXR/openexr-1.6.1/IlmImf/.libs/libIlmImf.a: could not read 
symbols: Bad value
collect2: ld returned 1 exit status

Thanks

Thursday, March 13, 2008, 10:11:02 PM, you wrote:

> Paul Miller wrote:

> A couple of people (thank you) pointed me in the right direction - I
> needed to manually tell the IlmBase configure script to enable PIC.

> Since fPIC is apparently *required* on x64 Linux, I was wondering why 
> the configure script didn't automatically enable it for me. Is that a 
> bug or a feature?





-- 
Best regards,
 Pavel Ledin aka Puppet                            mailto:address@hidden
 TD, Trehmer
 Moscow, Russia






reply via email to

[Prev in Thread] Current Thread [Next in Thread]