openexr-devel
[Top][All Lists]
Advanced

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

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


From: Paul Miller
Subject: Re: [Openexr-devel] 64 bit libHalf - R_X86_64_32S _eLut and -fPIC question
Date: Tue, 01 Apr 2008 08:12:44 -0500
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

Pavel Ledin wrote:
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?

There is an option in configure, near the end. I think it's --with-pic or --pic or something like that. Just enable it and you should be good.


/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?







--
Paul Miller | address@hidden | www.fxtech.com | Got Tivo?





reply via email to

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