Re: DBD::Sybase



I presume that you are on a 64bit version of Linux.

If that's the case, then you have two choices:

1. Rebuild perl (and all the other XS extensions that you use) in 32bit
mode

or

2. Find 64 bit libraries for Sybase. These exist, but are not free. You
should be able to buy a "developer" edition of ASE for linux x86-64 from
eshop.sybase.com for about US$250 or so.

Michael





Extranet
justin@xxxxxxxxxxxx - 28.04.2007 02:27


To: dbi-users
cc:
Subject: DBD::Sybase

Hi, I am trying to install DBD::Sybase through CPAN, and I seem to be
running into trouble with linking 32/64 bit code by the looks of it. I
was using the libraries included with Sybase ASE 15 express edition,
available on sybase's web site. Does anyone know what should be done
here?

Thanks,



Running Mkbootstrap for DBD::Sybase ()
chmod 644 Sybase.bs
rm -f blib/arch/auto/DBD/Sybase/Sybase.so
gcc -L/opt/sybase/OCS-15_0/lib -shared Sybase.o dbdimp.o -o
blib/arch/auto/DBD/Sybase/Sybase.so -L/opt/sybase/OCS-15_0/lib -lsybct
-lsybcs -lsybtcl -lsybcomn -lsybintl -lsybblk -ldl -lm
/usr/bin/ld: skipping incompatible /opt/sybase/OCS-15_0/lib/libsybct.so
when searching for -lsybct
/usr/bin/ld: skipping incompatible /opt/sybase/OCS-15_0/lib/libsybct.a
when searching for -lsybct
/usr/bin/ld: skipping incompatible /opt/sybase/OCS-15_0/lib/libsybct.so
when searching for -lsybct
/usr/bin/ld: skipping incompatible /opt/sybase/OCS-15_0/lib/libsybct.a
when searching for -lsybct
/usr/bin/ld: cannot find -lsybct
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/Sybase/Sybase.so] Error 1
MEWP/DBD-Sybase-1.08.tar.gz
/usr/bin/make -- NOT OK



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.



Relevant Pages

  • Re: DBD::Sybase
    ... You can probably build freetds for this, ... OpenClient (and is mostly tested against MS-SQL rather than Sybase ASE). ... when searching for -lsybct ... Toute utilisation de ce ...
    (perl.dbi.users)
  • Re: DBD::Sybase for ASE15.0.2?
    ... copies of the libraries with the old names. ... as OpenClient has changed a bit I would not be 100% confident ... Ce message et toutes les pieces jointes sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. ... Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. ...
    (perl.dbi.users)