Skip to Content.
Sympa Menu

freetds - Re: Linker Errors with version 0.51

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Linker Errors with version 0.51
  • Date: Thu, 11 Oct 2001 16:21:48 -0700


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




Archive powered by MHonArc 2.6.24.

Top of Page