Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Nick Stoughton <nick AT msbit.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Undefined symbols building sqsh with freetds (Solaris 8)
  • Date: Thu, 27 May 2004 18:37:18 -0700

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>





Archive powered by MHonArc 2.6.24.

Top of Page