[asterisk-dev] H323 64 bit Nightmare

Venefax venefax at gmail.com
Thu May 22 11:55:59 CDT 2008


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
/vz/usr/bin/../lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libresolv
.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [/usr/src/ptlib_v1_12_0/lib/libpt_linux_x86_64_r.so.1.12.0]
Error 1
make[1]: Leaving directory `/vz/usr/src/ptlib_v1_12_0/src/ptlib/unix'
make: *** [opt] Error 2

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

Alex Balashov wrote:
> Venefax wrote:
> 
>> I work on a virtualized environment and only 64 Bits is supported by the
>> collocation provider. I have to stick to 64 Bits and get to the bottom of
>> this. I am sure somebody made H323 compile before in 64 Bits. I cannot be
>> the first unlucky guy in the planet.
> 
> It's definitely possible.  I just question whether it's worth it.
> 
> My experience with 64-bit breakage is that it's generally never worth 
> it.  You'll take years off your life.

That's absolutely groundless FUD. According to my experience almost 
everything compiles/works our of the box on amd64.

As for the pwlib, try newer version (1.12 works here like a charm) 
and/or update your compiler.

Regards,
-- 
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




More information about the asterisk-dev mailing list