I'm trying to get the DBD::Sybase module to work with Solaris 2.6, and I'm using freetds, to connect to a MS-SQL server.
I've tried with and without the environemt settings SYBASE=/usr/local/freetds LD_LIBRARY_PATH=/usr/local/freetds/lib:/usr/local/lib I installed freetds-0.52 I've tried it with and without the extra opntions you need with the same results. configure --with-tdsver=4.2 --enable-msdblib make make install OK. Then DBD::Sybase - 0.91 perl Makefile.PL Which gives the following warnings, which I gather are harmless from the list. Note (probably harmless): No library found for -lcs Note (probably harmless): No library found for -ltcl Note (probably harmless): No library found for -lcomn Using DBI 1.20 installed in /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI Writing Makefile for DBD::Sybase make OK. make test And I get this error on basically all the tests. ............install_driver(Sybase) failed: Can't load 'blib/arch/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: ld.so.1: /usr/local/bin/perl: fatal: relocation error: file /usr/local/freetds/lib/libct.so.0: symbol g_tds_err_handler: referenced symbol not found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected Failed Test Status Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------------- ---- t/autocommit.t 255 65280 4 3 75.00% 2-4 t/base.t 255 65280 5 2 40.00% 4-5 t/fail.t 255 65280 13 12 92.31% 2-13 t/login.t 255 65280 3 2 66.67% 2-3 t/main.t 255 65280 14 13 92.86% 2-14 t/place.t 255 65280 11 10 90.91% 2-11 Even tried one from the list where the environment was set in a perl script, again with no success. This is statring to drive me nuts, can anyone give me a straight forward solution. Thanks.
