[freetds] Using freetds-0.63 on AIX (4.3.3 or 5.1) with unixODBC

John Wythe jwythe at silksystems.com
Wed Mar 22 15:10:20 EST 2006

I think I am getting a handle on this problem.

Comparing nm's from Linux vs AIX reveals that the symbols in question are exported on Linux, and not on AIX.

For example when libsydbd is built, it makes reference to libtds_objects.la. On Linux tdsdump_open is an exported symbol from
libsydbd, it isn't on AIX.    It would appear that Linux statically links any code referenced in libtds_objects, and exports any of those symbols, therefore not requiring libsybdb.so to require libtds.so.   Possibly the --static-libgcc causes this.  On AIX the --static-libgcc is not recognized.  It would appear that libtool is broken when it comes to building shared libraries that reference other shared libraries.

If so, how to fix?


      John Wythe, Systems Programmer
      Phone: (800) 663-0718
      Fax: (604) 468-1667
      jwythe at silksystems.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1961 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20060322/2f957573/attachment.jpe 

More information about the FreeTDS mailing list