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

[email protected]
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
You need a 32bit version of perl - you can't mix 32 and 64 bit objects in
the same binaries.

Michael




Internet
[email protected]@peppler.org - 05/08/2005 15:15


Sent by:    [email protected]

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


<Compilation Error Message>

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

</Compilation Error Message>

--

-------------------------------------------------------------------
| Nohez <[email protected]>       | Work: +91-22-26870595/0090 x416  |
|       <[email protected]>  | 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.