[freetds] thread problem on Solaris

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Thu Aug 17 04:41:27 EDT 2006


It seems that we have some problems with Solaris using thread. See dblib
thread test at
http://freetds.sourceforge.net/outsf/sparc-solaris2/dblib_thread.1.html.
>From http://freetds.sourceforge.net/outsf/sparc-solaris2/conf.1.html you
can note that pthread_create is found in default Solaris libraries. I
searched for some thread m4 macro and I found at
http://autoconf-archive.cryp.to/acx_pthread.html ACX_PTHREAD.
Specifically 

On Solaris (at least, for some versions), libc contains stubbed
(non-functional) versions of the pthreads routines, so link-based tests
will erroneously succeed.

Damn...

I think I'll try to use this macro. Solaris users should forse some
options using CFLAGS/LDFLAGS macros.

freddy77




More information about the FreeTDS mailing list