Re: freetds on solaris 11: symbol scope specifies local binding (same problem)

Brent Jackson <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
At 23/09/2013 21:52, [email protected] wrote:
>Date: Mon, 23 Sep 2013 08:53:31 +0100
>From: "Marco A. Ferra" <[email protected]>
>Subject: [freetds] freetds on solaris 11: symbol scope specifies local
>         binding (same problem)
>To: <[email protected]>
>
>Hi Everyone,
>
>Regarding Justin Pryzby's question on "freetds on solaris 11: symbol
>scope specifies local binding" [1] I'm also having a hard time compiling
>FreeTDS 0.91 from source on Solaris 11.
[snip]
>Undefined                       first referenced
>  symbol                             in file
>strlen                              .libs/ct.o  (symbol scope specifies
>local binding)
>ld: fatal: symbol referencing errors. No output written to 
>.libs/libct.so.4.0.0
>collect2: ld returned 1 exit status
[snip]

I vaguely recall encountering a similar problem when I compiled 
FreeTDS 0.65 back in 2007.

I think I avoided the problem by setting the FREETDS_LIBGCC variable 
in the dtlib/Makefile to explicitly specify my libgcc.a file, so as 
to use the GCC version of strlen() instead of the Solaris one.

Hope this helps.

Regards,
Brent
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.