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

Marco A. Ferra MAFerra at isq.pt
Mon Sep 23 03:53:31 EDT 2013


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. The error is:


libtool: link:  gcc -shared -Wl,-z -Wl,text -Wl,-M
-Wl,.libs/libct.so.4.0.0.exp -Wl,-h -Wl,libct.so.4 -o
.libs/libct.so.4.0.0  .libs/ct.o .libs/cs.o .libs/blk.o .libs/ctutil.o
-Wl,-z -Wl,allextract ../tds/.libs/libtds.a
../replacements/.libs/libreplacements.a -Wl,-z -Wl,defaultextract  -lnsl
-lsocket -lc  -pthreads   -pthreads
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


I can see from ./libtool that awk, sed and grep are used extensively to
prepare the source code for compilation, and perhaps because Solaris has
its own versions of these commands something in the preparation of the
compilation files (from ./configure) could be wrong, but it's a wild
guess.

Did Justin or anyone else have resolved this problem?

Warm regards,

[1] http://lists.ibiblio.org/pipermail/freetds/2013q3/028467.html



More information about the FreeTDS mailing list