[asterisk-dev] H323 64 bit Nightmare
sobomax at sippysoft.com
Fri May 23 16:47:49 CDT 2008
> On Thu, 2008-05-22 at 12:55 -0400, Venefax wrote:
>> I downloaded the latest version as instructed and I get this error after I
>> issue a
>> make clean opt
>> o /usr/src/ptlib_v1_12_0/lib/obj_linux_x86_64_r/collect.o
>> /usr/src/ptlib_v1_12_0/lib/obj_linux_x86_64_r/object.o -lldap -llber
>> -lldap_r -lpthread -lsasl2 -lssl -lcrypto -lexpat -lodbc -lresolv
>> .a(res_comp.o): relocation R_X86_64_32 against `a local symbol' can not be
>> used when making a shared object; recompile with -fPIC
> Did you add -fPIC to the CFLAGS in the Makefile as suggested?
In this particular case the issue had nothing to do with 64-bitness or
with -fPIC. It is just that for some unknown to me reason the links to
some shared libraries in /usr/lib64 were pointing to the wrong places,
so that linker had no choice but to pick up static library instead.
Sippy Software, Inc.
Internet Telephony (VoIP) Experts
More information about the asterisk-dev