[freetds] Undefined symbols building sqsh with freetds (Solaris 8)

Nick Stoughton nick at msbit.com
Thu May 27 21:37:18 EDT 2004


On Thu, 2004-05-27 at 18:10, James K. Lowden wrote:
> Hmm.  Clearly you need to link in:
> 
> 	setsockopt
> 	connect
> 	getservbyname_r
> 	socket
> 
> In NetBSD, those are in libc.  Are they in a different library in Solaris
> 8?  
> 
Yes ... they are in libnsl and libsocket ... this is from "man
setsockopt":
SYNOPSIS
     cc [ flag ... ] file ... -lsocket -lnsl [ library ... ]
     #include <sys/types.h>
     #include <sys/socket.h>

> I think this may be a sqsh link question, insofar as these functions
> aren't provided by FreeTDS.  I know, we're a drop in replacement for OC,
> but that just make things a little mysterious....
> 
-- 
Nick Stoughton <nick at msbit.com>




More information about the FreeTDS mailing list