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

[email protected] Thu, 12 Oct 2006 07:51:01 +0200
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <OFC8208556.E9ADFA10-ONC1257205.002014E6-C1257205.00202346@bnpparibas.com>
Hmmm.

Are you sure that you are using the correct perl binary wher you are 
building sybperl?
What does "file `which perl`" show?

Michael




Internet
[email protected]@peppler.org - 10.10.2006 18:32
 
Sent by:        [email protected]
To:     sybperl-l
cc: 
Subject:        Re: Need your help with installation of Sybperl 2.18 on 
Linux


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


This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.