Re: Missing libtdsodbc.so on Solaris
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <6943190.1292821228590.JavaMail.root@elwamui-mouette.atl.sa.earthlink.net> |
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 <[email protected]>
>Sent: Dec 19, 2010 8:19 PM
>To: FreeTDS Development Group <[email protected]>
>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: [email protected]
>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: [email protected]
>[mailto:[email protected]] On Behalf Of Dann Corbit
>Sent: Friday, 3 December 2010 10:39 AM
>To: [email protected]
>Subject: Re: [freetds] Missing libtdsodbc.so on Solaris
>
>Did you perform make?
>
>> -----Original Message-----
>> From: [email protected] [mailto:freetds-
>> [email protected]] On Behalf Of Adwin Singh
>> Sent: Thursday, December 02, 2010 3:07 PM
>> To: [email protected]
>> 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
>> [email protected]
>> http://lists.ibiblio.org/mailman/listinfo/freetds
>_______________________________________________
>FreeTDS mailing list
>[email protected]
>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
>[email protected]
>http://lists.ibiblio.org/mailman/listinfo/freetds