Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "John Wythe" <jwythe AT silksystems.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Using freetds-0.63 on AIX (4.3.3 or 5.1) with unixODBC
  • Date: Wed, 22 Mar 2006 18:30:53 -0800

Hurray, hurray, hurray!!!!!!

I found a very simple change that fixes both the the unresolved sysmbols, and
allows the .so to work correctly from unixODBC (isql).

After doing a configure on freetds, I changed libtool as indicated below,
just adding the convenience entry will do it, but I also removed the
allow_undefined_flag entry to catch any errors, just in case.

do the make and make install, then cd to /usr/lib and do ar -xv libtdsodbc.a.

new:

archive_expsym_cmds="\$CC -shared -o \$output_objdir/\$soname \$libobjs
\$convenience \$deplibs \$compiler_flags \${wl}-bE:\$export_symbols
\${wl}-bnoentry~\$AR \$AR_FLAGS \$output_objdir/\$libname\$release.a
\$output_objdir/\$soname"

old:

archive_expsym_cmds="\$CC -shared -o \$output_objdir/\$soname \$libobjs
\$deplibs \$compiler_flags \${wl}-bE:\$export_symbols
\${wl}-bnoentry\${allow_undefined_flag}~\$AR \$AR_FLAGS
\$output_objdir/\$libname\$release.a \$output_objdir/\$soname"

John



John Wythe, Systems Programmer

Phone: (800) 663-0718

Fax: (604) 468-1667

jwythe AT silksystems.com




Attachment: silk_signature.jpg
Description: JPEG image




Archive powered by MHonArc 2.6.24.

Top of Page