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

Brent Jackson ptl at perceptions.co.nz
Sun Sep 29 17:44:17 EDT 2013


At 23/09/2013 21:52, freetds-request at lists.ibiblio.org wrote:
>Date: Mon, 23 Sep 2013 08:53:31 +0100
>From: "Marco A. Ferra" <MAFerra at isq.pt>
>Subject: [freetds] freetds on solaris 11: symbol scope specifies local
>         binding (same problem)
>To: <freetds at lists.ibiblio.org>
>
>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 



More information about the FreeTDS mailing list