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: Fri, 24 Mar 2006 15:00:22 -0800
I have back tracked how libtool gets it's entry for archive_expsym_cmds
configure sets it to the value in lt_archive_expsym_cmds. That value is set
in
a generic rountines that escapes meta characters for a number of different
variables.
The orginal variable it uses is without the lt_.
I back tracked in configure where archive_expsym_cmds gets set for AIX to the
lines below:
# This is similar to how AIX traditionally builds it's shared
libraries.
archive_expsym_cmds="\$CC $shared_flag"' -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'
I then traced back where these lines come from: configure.in
AM_PROG_LIBTOOL.
AM_PROG_LIBTOOL is a macro in aclocal.m4 aliased to AC_PROG_LIBTOOL, also in
aclocal.m4.
AC_PROG_LIBTOOL has the following code:
# This is similar to how AIX traditionally builds it's shared
libraries.
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -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'
Making the convenience fix here should resolve the problems on AIX 5.1, and
half of the problem on AIX 4.3.3.
# This is similar to how AIX traditionally builds it's shared
libraries.
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -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'
The other half of the fix for AIX 4.3.3 can be done in the Makefile.am files.
After making these changes run the autotools to propagate the changes.
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/22/2006
- Re: [freetds] Using freetds-0.63 on AIX (4.3.3 or 5.1) with unixODBC, James K. Lowden, 03/22/2006
- <Possible follow-up(s)>
- [freetds] Using freetds-0.63 on AIX (4.3.3 or 5.1) with unixODBC, John Wythe (work), 03/22/2006
-
[freetds] Using freetds-0.63 on AIX (4.3.3 or 5.1) with unixODBC,
John Wythe, 03/23/2006
- Re: [freetds] Using freetds-0.63 on AIX (4.3.3 or 5.1) with unixODBC, James K. Lowden, 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
Archive powered by MHonArc 2.6.24.