Re: Need your help with installation of Sybperl 2.18 on Linux

Emmanuel Cerisier <[email protected]> Tue, 10 Oct 2006 18:32:11 +0200
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
       Hello there,

Replying to an old thread, but I'm in quite the same situation:

I'm running a 32bit ASE 12.5.3 distribution on a x86_64 arch, and wanted 
to get sybperl installed locally.

I understand that I do need to compile perl in 32bits for it to link 
correctly sybperl with my 32bits Openclient.
I thought I did just that, i.e.:  use64bitall and use64bitint  are 
'undef' in my config.sh

But it doesn't work and I'm getting the same ld error messages during 
the make:

/ skipping incompatible /opt/sybase-12.5/OCS/lib/libct.so when searching 
for -lct
etc.
/
Sorry if it's a bit offtopic, being more perl-related, but have any of 
you guys achieved that ?

Thx in advance,
-- 
Emmanuel

Michael Peppler wrote:
> [email protected] wrote:
>> I've been going at this for several days now and thought it was time to
>> send a note out to you.
>>
>> Trying to install Sybperl 2.18 on Linux using perl, v5.8.3 built for
>> x86_64-linux-thread-multi and have Open Client 15 for linux installed.
>>
>> "Sybase CTISQL Utility/15.0/P/DRV.15.0.0/Linux Intel/Linux 
>> 2.4.21-20.ELsmp
>> i686/BUILD1500-050/OPT/Mon Jul 11 20:13:48 2005"
>
> This is your problem - you are trying to build a 64bit version of 
> sybperl (because perl is built in 64bit mode), but you have the 32bit 
> version of the OpenClient libraries.
>
> You either need to get the 64bit Sybase SDK, or rebuild perl in 32bit 
> mode.
>
> Michael