[EMAIL PROTECTED] wrote:

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





*E*xtranet
[EMAIL PROTECTED] - 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

i'm surprised there is no other way, isn't there a freeTDS or something else that will work instead? Surely there must be others that use DBD::Sybase on x86_64?






Reply via email to