[freetds] status of 0.64

Alex Moore asmoore at edge.net
Tue Mar 14 12:49:26 EST 2006


On Tue, 14 Mar 2006 17:14:46 +0100
Merijn Broeren <merijnb+freetds at iloquent.com> wrote:

> 
> which is caused by the -Wl, value for $wl in libtool, which seems to
> come from deeper within autoconf:
> 
> ./freetds-0.64RC1/aclocal.m4: _LT_AC_TAGVAR(whole_archive_flag_spec,
> $1)='${wl}-z ${wl}allextract$convenience ${wl}-z
> ${wl}defaultextract' ./freetds-0.64RC1/aclocal.m4:
> _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z
> ${wl}allextract$convenience ${wl}-z
> ${wl}defaultextract' ;; ./freetds-0.64RC1/configure:
> whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z
> ${wl}defaultextract' ;;

I am seeing the same thing on Solaris 8.  I also removed the offending
line from libtool and the 32-bit build finished.  I do not have
unixODBC built with sparcv9 libraries at this time, so I cannot try a
sparcv9 build of freetds.

BTW, I had similar problems with another product and exporting the
following variables made that the build work with /usr/ccs/bin/ld.  So
it looks like some things are turned around a bit for Solaris.  I am not
sure if this would help with freetds.  I can try these exports, if
someone thinks it would be useful.

WHOLEARCHIVE='-Wl,-zallextract'
NOWHOLEARCHIVE='-Wl,-zdefaultextract'
export WHOLEARCHIVE NOWHOLEARCHIVE

Alex



More information about the FreeTDS mailing list