Skip to Content.
Sympa Menu

freetds - Re: [freetds] Missing libtdsodbc.so on Solaris

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Adwin Singh" <singha AT redrock.net.au>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Missing libtdsodbc.so on Solaris
  • Date: Tue, 21 Dec 2010 11:32:19 +1100

Hi All,

Version of Solaris:

uname -a
SunOS ofdev 5.8 Generic_117350_50 sun4u sparc SUNW,Sun-Fire-480R

Thanks
Adwin

-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Peter C. Norton
Sent: Tuesday, 21 December 2010 7:01 AM
To: FreeTDS Development Group
Subject: Re: [freetds] Missing libtdsodbc.so on Solaris

I haven't seen this problem building FreeTDS-0.83.dev (various
versions) on Solaris 10 x86 and sparc. What version of Solaris are
you running?

-Peter

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 ?
>
> See below from our IT Guys:
>
> I've rebuilt with
>
> 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
>
> However malloc_options is only available on FreeBSD and Linux; it is
not
> available on Solaris.
>
> It is not possible to enable the --with-unixodbc option
>
> Thanks
> Adwin
>
> -----Original Message-----
> From: Adwin Singh
> Sent: Friday, 3 December 2010 4:39 PM
> To: freetds AT lists.ibiblio.org
> Subject: RE: [freetds] Missing libtdsodbc.so on Solaris
>
> Thanks - let me double check if configure, make and make install were
> indeed performed.
>
> I'll report back.
>
> -----Original Message-----
> From: freetds-bounces AT lists.ibiblio.org
> [mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Dann Corbit
> Sent: Friday, 3 December 2010 10:39 AM
> To: freetds AT lists.ibiblio.org
> Subject: Re: [freetds] Missing libtdsodbc.so on Solaris
>
> Did you perform make?
>
> > -----Original Message-----
> > From: freetds-bounces AT lists.ibiblio.org [mailto:freetds-
> > bounces AT lists.ibiblio.org] On Behalf Of Adwin Singh
> > Sent: Thursday, December 02, 2010 3:07 PM
> > To: freetds AT lists.ibiblio.org
> > Subject: [freetds] Missing libtdsodbc.so on Solaris
> >
> > Hi All,
> >
> >
> >
> > We have just installed freetds on a Solaris machine at /opt/freetds.
> >
> >
> >
> > We are attempting to connect from Oracle to a SQL Server machine.
I've
> > noticed that in the setup, it requires a library file called
> > 'libtdsodbc.so' which should be located at /opt/freetds/lib.
> >
> >
> >
> > Unfortunately the file doesn't exist, other library files exist but
> not
> > this file. I believe this should have been installed as part of
> > freetds.
> > Do you have any suggestions on generating this library file ?
> >
> >
> >
> > Thanks for your help
> >
> > Adwin
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > "Your Success is our Success"
> >
> > NOTICE: This email is intended only to be read or used by the
> > addressee. It is confidential and may contain legally privileged
> > information. If you are not the addressee indicated in this message
> (or
> > responsible for delivery of the message to such person), you may not
> > copy or deliver this message to anyone and you should destroy this
> > message and kindly notify the sender by reply email. Confidentiality
> > and legal privilege are not waived or lost by reason of mistaken
> > delivery to you.
> >
> > _______________________________________________
> > FreeTDS mailing list
> > FreeTDS AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/freetds
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
>
>
> "Your Success is our Success"
>
> NOTICE: This email is intended only to be read or used by the
addressee. It is confidential and may contain legally privileged
information. If you are not the addressee indicated in this message (or
responsible for delivery of the message to such person), you may not
copy or deliver this message to anyone and you should destroy this
message and kindly notify the sender by reply email. Confidentiality and
legal privilege are not waived or lost by reason of mistaken delivery to
you.
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds



"Your Success is our Success"

NOTICE: This email is intended only to be read or used by the addressee. It
is confidential and may contain legally privileged information. If you are
not the addressee indicated in this message (or responsible for delivery of
the message to such person), you may not copy or deliver this message to
anyone and you should destroy this message and kindly notify the sender by
reply email. Confidentiality and legal privilege are not waived or lost by
reason of mistaken delivery to you.





Archive powered by MHonArc 2.6.24.

Top of Page