DBD::Sybase

DBD::Sybase

am 28.04.2007 02:27:07 von Justin

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

Re: DBD::Sybase

am 30.04.2007 08:00:31 von michael.peppler

--=_alternative 002101CEC12572CD_=
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"

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@cityfone.net - 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.


--=_alternative 002101CEC12572CD_=--

Re: DBD::Sybase

am 30.04.2007 23:06:56 von Justin

michael.peppler@bnpparibas.com 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
> justin@cityfone.net - 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?

Re: DBD::Sybase

am 01.05.2007 07:40:33 von michael.peppler

--=_alternative 001F2E02C12572CE_=
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"

You can probably build freetds for this, but this will limit the
functionality of DBD::Sybase as FreeTDS doesn't offer all the features of
OpenClient (and is mostly tested against MS-SQL rather than Sybase ASE).

Michael




Internet
justin@cityfone.net - 30.04.2007 23:06


To: Michael PEPPLER
cc: dbi-users
Subject: Re: DBD::Sybase

michael.peppler@bnpparibas.com 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
> justin@cityfone.net - 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?







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.


--=_alternative 001F2E02C12572CE_=--