[asterisk-dev] H323 64 bit Nightmare

Venefax venefax at gmail.com
Sat May 24 01:16:08 CDT 2008


Dear Maxim
Still does not work. I navigated to the directory where you installed
Asterisk's sources and did a ./configure, make and I get the errors related
to h323, which make the compilation fail.
Please remember that this is a VZ server, so if you see a lot of asterisk
processes loaded, it might be from a virtual machine.
Also when I type asterisk -r, I get this error, but I don't think Asterisk
is loaded:
asterisk: error while loading shared libraries:
libh323_linux_x86_64_r.so.1.18.0: cannot open shared object file: No such
file or directory
Yours
Federico

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Maxim Sobolev
Sent: Friday, May 23, 2008 5:48 PM
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] H323 64 bit Nightmare

Patrick wrote:
> 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 
>> ./configure
>> 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/contain.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
>> /usr/bin/ld:
>>
/vz/usr/bin/../lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libresolv
>> .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.

Sincerely,
-- 
Maksym Sobolyev
Sippy Software, Inc.
Internet Telephony (VoIP) Experts
T/F: +1-646-651-1110
Web: http://www.sippysoft.com

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sdreen_capture.txt
Url: http://lists.digium.com/pipermail/asterisk-dev/attachments/20080524/25e965a4/attachment.txt 


More information about the asterisk-dev mailing list