Linker Errors with version 0.51
Michael Peppler
mpeppler at peppler.org
Thu Oct 11 19:21:48 EDT 2001
Kelly Sauke writes:
> I'm trying to get version 0.51 working with DBD::Sybase 0.91 on Solaris
> 2.6 machine. I have it working correctly on a dg/ux machine. Here is the
> issue I'm running into. Everything compiled fine but when I went to run a
> perl script using it I got:
>
> install_driver(Sybase) failed: Can't load
> '/usr/local/lib/perl5/site_perl/5.005/sun4-solaris-thread/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
You need to explicitly link with -ltds. Edit the Makefile and add
-ltds on the line(s) where you have -lct, and then relink.
> /usr/local/lib/perl5/5.00503/sun4-solaris-thread/DynaLoader.pm line 169.
Be careful with threaded perl - it's not really very solid!
Michael
--
Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
mpeppler at peppler.org - mpeppler at mbay.net
International Sybase User Group - http://www.isug.com
More information about the FreeTDS
mailing list