freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- 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: Mon, 20 Dec 2010 17:12:58 +1100
Hi,
Not on Solaris - that appears to be a linux feature:
$ cat /etc/malloc.conf
cat: cannot open /etc/malloc.conf
Thanks
Adwin
-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of
ikorot AT earthlink.net
Sent: Monday, 20 December 2010 4:00 PM
To: FreeTDS Development Group; FreeTDS Development Group
Subject: Re: [freetds] Missing libtdsodbc.so on Solaris
Hi, Adwin,
>From "man malloc" (http://www.rocketaware.com/man/man3/malloc.3.htm):
"Malloc will first look for a symbolic link called /etc/malloc.conf and
next check the environment for a variable called MALLOC_OPTIONS and
fi-
nally for the global variable malloc_options and scan them for
flags in
that order. Flags are single letters, uppercase means on,
lowercase
means off."
Is Solaris has a link "/etc/malloc.conf"?
Thank you.
-----Original Message-----
>From: Adwin Singh <singha AT redrock.net.au>
>Sent: Dec 19, 2010 8:19 PM
>To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
>Subject: Re: [freetds] Missing libtdsodbc.so on Solaris
>
>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.
-
Re: [freetds] Missing libtdsodbc.so on Solaris
, (continued)
-
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
-
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.