Compiling Sybperl on x86-64 with 32 bit Sybase libraries
Nohez <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Message-ID | <[email protected]> |
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 | -------------------------------------------------------------------