freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: jklowden AT schemamania.org
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Missing libtdsodbc.so on Solaris
- Date: Mon, 20 Dec 2010 11:40:53 -0500
On Mon, Dec 20, 2010 at 03:19:02PM +1100, Adwin Singh wrote:
> Hi All,
>
> We've double checked. The --with-unixodbc option is not on by default,
> so was not in the original freetds installation. We have rebuilt but
> hitting an issue because the software assumes "malloc_options" is always
> available. Issue is that "malloc_options" is only available on FreeBSD
> and Linux, not Solaris.
>
> FYI we are running Solaris SPARC 64bit. Is it possible to get around
> this issue or get a precompiled version for Solaris ?
...
> root@ofdev # LDFLAGS=-L/opt/csw/lib CFLAGS=-I/opt/csw/include
> ./configure --with-unixodbc=/opt/csw/lib --prefix=/opt/freetds/
>
> This fails because of an assumption within the freetds software that
> "malloc_options" is always available.
>
> configure:20732: checking whether malloc_options variable is present
> configure:20758: cc -o conftest -I/opt/csw/include
> -D_FREETDS_LIBRARY_SOURCE -L/opt/csw/lib -lmalloc conftest.c -lpthread
> >&5
> Undefined first referenced
> symbol in file
> malloc_options conftest.o
Adwin, the configure script is generated by these tools:
autoconf (GNU Autoconf) 2.59
automake (GNU automake) 1.9.5
ltmain.sh (GNU libtool) 1.5.24 (1.1220.2.455 2007/06/24 02:13:29)
My guess: the autoconf/libtool used is too old for your setup.
Your options:
1. Install above tools, get source from CVS, and build your own tarball with
"make dist". You can do this on any system; I use NetBSD.
2. Hack the configure script to bypass that test, since it's obviously
spurious in your environment.
3. Borrow a binary.
4. Hope for an updated tarball.
If you go with option #1 and succeed, please mention it here on the list. It
would be incentive for option #4.
HTH.
--jkl
-
[freetds] Missing libtdsodbc.so on Solaris,
Adwin Singh, 12/02/2010
-
Re: [freetds] Missing libtdsodbc.so on Solaris,
Dann Corbit, 12/02/2010
- Re: [freetds] Missing libtdsodbc.so on Solaris, Adwin Singh, 12/03/2010
-
Re: [freetds] Missing libtdsodbc.so on Solaris,
Adwin Singh, 12/19/2010
- Re: [freetds] Missing libtdsodbc.so on Solaris, jklowden, 12/20/2010
-
Re: [freetds] Missing libtdsodbc.so on Solaris,
Peter C. Norton, 12/20/2010
-
Re: [freetds] Missing libtdsodbc.so on Solaris,
Adwin Singh, 12/20/2010
-
Re: [freetds] Missing libtdsodbc.so on Solaris,
Peter C. Norton, 12/21/2010
-
Re: [freetds] Missing libtdsodbc.so on Solaris,
Adwin Singh, 12/21/2010
- Re: [freetds] Missing libtdsodbc.so on Solaris, Peter C. Norton, 12/22/2010
-
Re: [freetds] Missing libtdsodbc.so on Solaris,
Adwin Singh, 12/21/2010
-
Re: [freetds] Missing libtdsodbc.so on Solaris,
Peter C. Norton, 12/21/2010
-
Re: [freetds] Missing libtdsodbc.so on Solaris,
Adwin Singh, 12/20/2010
- <Possible follow-up(s)>
-
Re: [freetds] Missing libtdsodbc.so on Solaris,
ikorot, 12/20/2010
- Re: [freetds] Missing libtdsodbc.so on Solaris, Adwin Singh, 12/20/2010
-
Re: [freetds] Missing libtdsodbc.so on Solaris,
ikorot, 12/20/2010
- Re: [freetds] Missing libtdsodbc.so on Solaris, Adwin Singh, 12/20/2010
- Re: [freetds] Missing libtdsodbc.so on Solaris, ikorot, 12/21/2010
-
Re: [freetds] Missing libtdsodbc.so on Solaris,
Dann Corbit, 12/02/2010
Archive powered by MHonArc 2.6.24.