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