freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] Using freetds-0.63 on AIX (4.3.3 or 5.1) with unixODBC
- 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
-
[freetds] Using freetds-0.63 on AIX (4.3.3 or 5.1) with unixODBC,
John Wythe, 03/21/2006
- <Possible follow-up(s)>
- [freetds] Using freetds-0.63 on AIX (4.3.3 or 5.1) with unixODBC, John Wythe, 03/22/2006
- [freetds] Using freetds-0.63 on AIX (4.3.3 or 5.1) with unixODBC, John Wythe (work), 03/23/2006
- Re: [freetds] Using freetds-0.63 on AIX (4.3.3 or 5.1) with unixODBC, Lowden, James K, 03/23/2006
- [freetds] Using freetds-0.63 on AIX (4.3.3 or 5.1) with unixODBC, John Wythe, 03/24/2006
-
[freetds] Using freetds-0.63 on AIX (4.3.3 or 5.1) with unixODBC,
John Wythe, 03/24/2006
- Re: [freetds] Using freetds-0.63 on AIX (4.3.3 or 5.1) with unixODBC, James K. Lowden, 03/24/2006
Archive powered by MHonArc 2.6.24.