Skip to Content.
Sympa Menu

freetds - Linker Errors with version 0.51

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Kelly Sauke" <ksauke AT fastenal.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Linker Errors with version 0.51
  • Date: Thu, 11 Oct 2001 18:40:05 -0400


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
/usr/local/lib/perl5/5.00503/sun4-solaris-thread/DynaLoader.pm line 169.

So I thought I would follow the instructions in the FAQ and try to get
sqsh working first. Everything with sqsh would compile just fine but the
linker again came up with symbol errors. Here are the errors I'm getting
trying to make sqsh (version 1.7).

Undefined first referenced
symbol in file
tds_alloc_login /usr/local/freetds/lib/libct.so
tds_process_result_tokens /usr/local/freetds/lib/libct.so
tds_get_null /usr/local/freetds/lib/libct.so
tds_set_charset /usr/local/freetds/lib/libct.so
tds_set_bulk /usr/local/freetds/lib/libct.so
tds_connect /usr/local/freetds/lib/libct.so
tds_submit_query /usr/local/freetds/lib/libct.so
g_tds_err_handler /usr/local/freetds/lib/libct.so
tds_get_conversion_type /usr/local/freetds/lib/libct.so
tds_free_results /usr/local/freetds/lib/libct.so
tds_set_version /usr/local/freetds/lib/libct.so
tds_set_parent /usr/local/freetds/lib/libct.so
tds_process_cancel /usr/local/freetds/lib/libct.so
tds_set_packet /usr/local/freetds/lib/libct.so
tds_set_app /usr/local/freetds/lib/libct.so
tds_convert /usr/local/freetds/lib/libct.so
tds_set_library /usr/local/freetds/lib/libct.so
tds_set_passwd /usr/local/freetds/lib/libct.so
tds_free_socket /usr/local/freetds/lib/libct.so
tds_set_user /usr/local/freetds/lib/libct.so
tds_set_server /usr/local/freetds/lib/libct.so
tds_free_login /usr/local/freetds/lib/libct.so
tdsdump_log /usr/local/freetds/lib/libct.so
tds_send_cancel /usr/local/freetds/lib/libct.so
g_tds_msg_handler /usr/local/freetds/lib/libct.so
tds_process_row_tokens /usr/local/freetds/lib/libct.so
ld: fatal: Symbol referencing errors. No output written to sqsh
*** Error code 1

I've got my LD_LIBRARY_PATH set to /usr/local/freetds/lib and SYBASE is
set to /usr/local/freetds. I passed --prefix=/usr/local/freetds
--with-tdsver=7.0 to configure for freetds.

I'm at a loss..can anyone help me?
Thanks,

KS




Archive powered by MHonArc 2.6.24.

Top of Page