PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: michael dot peppler at bnpparibas dot com
Subject: Re: Compiling Sybperl on x86-64 with 32 bit Sybase libraries
Date: Aug 5 2005 1:52PM

You need a 32bit version of perl - you can't mix 32 and 64 bit objects in
the same binaries.

Michael




Internet
nohez@cmie.com@peppler.org - 05/08/2005 15:15


Sent by:    owner-sybperl-l@peppler.org

To:    sybperl-l

cc:


Subject:    Compiling Sybperl on x86-64 with 32 bit Sybase libraries



Hi,

We are trying to compile sybperl on x86-64 using 32bit Sybase libraries.
Is this possible ? Compilation error messages are attached below.

We can execute 'isql' on this box to connect to another Sybase ASE.

Any suggestions ? Already asked Sybase for 64bit Sybase on Linux. Waiting
for their reply.  Could not find evaluation/developer version of 64bit
ASE on Sybase website.

Thanks.

Nohez




rm -f ../blib/arch/auto/Sybase/CTlib/CTlib.so
LD_RUN_PATH="/opt/sybase/OCS-12_5/lib" cc  -L/opt/sybase/OCS-12_5/lib
-shared -L/usr/local/lib64 CTlib.o  -o
../blib/arch/auto/Sybase/CTlib/CTlib.so   -L/opt/sybase/OCS-12_5/lib -lct_r
-lcs_r -lsybtcl_r -lcomn_r -lintl_r -lblk_r -lm
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4
/../../../../x86_64-suse-linux/bin/ld: skipping incompatible
/opt/sybase/OCS-12_5/lib/libct_r.so when searching for -lct_r
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4
/../../../../x86_64-suse-linux/bin/ld: skipping incompatible
/opt/sybase/OCS-12_5/lib/libct_r.a when searching for -lct_r
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4
/../../../../x86_64-suse-linux/bin/ld: skipping incompatible
/opt/sybase/OCS-12_5/lib/libct_r.so when searching for -lct_r
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4
/../../../../x86_64-suse-linux/bin/ld: skipping incompatible
/opt/sybase/OCS-12_5/lib/libct_r.a when searching for -lct_r
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4
/../../../../x86_64-suse-linux/bin/ld: cannot find -lct_r
collect2: ld returned 1 exit status
make[1]: *** [../blib/arch/auto/Sybase/CTlib/CTlib.so] Error 1
make[1]: Leaving directory `/root/.cpan/build/sybperl-2.18/CTlib'
make: *** [subdirs] Error 2



--

-------------------------------------------------------------------
| Nohez        | Work: +91-22-26870595/0090 x416  |
|         | Fax : +91-22-26870696            |
|                              | Home: +91-22-28220672            |
|                              | Cell: 09819227200                |
-------------------------------------------------------------------




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.