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: Nohez <nohez at cmie dot com>
Subject: Compiling Sybperl on x86-64 with 32 bit Sybase libraries
Date: Aug 5 2005 1:15PM

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                |
-------------------------------------------------------------------