Re: freetds on solaris 11: symbol scope specifies local binding (same problem)
Justin T Pryzby <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
FYI: I never did resolve the compile error, instead installing the compiled/binary package of freetds from the solaris package archive[0], which allowed compiling DBD::Sybase. [0] http://www.ibiblio.org/pub/packages/solaris/sparc/ Note: ./configure --disable-shared works as I said, but then DBD::Sybase fails to compile, too. Justin On Mon, Sep 23, 2013 at 08:53:31AM +0100, Marco A. Ferra wrote: > 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