Skip to Content.
Sympa Menu

freetds - Re: getting error "gethostbyname: referenced symbol not found" after compiling frettds is successful

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: getting error "gethostbyname: referenced symbol not found" after compiling frettds is successful
  • Date: Mon, 21 Jan 2002 10:42:22 -0500 (EST)




On Mon, 21 Jan 2002, Nick Gorham wrote:

> Brian Bruns wrote:
>
> > Anyone know if Solaris puts gethostbyname is a weird place?
Sheesh, somebody stop me from replying first thing in the morning, I make
no sense.

>
> You will either need a -lsocket or a -lsocket -lnsl
> --
> Nick Gorham
> Easysoft Ltd

Thanks nick, not sure why autoconf isn't picking this up, i'll have to
look into that but in the meantime, you could probably do:

export LIBS=-lsocket -lnsl
./configure --with-...
make

And it should pick up the libs it needs.






Archive powered by MHonArc 2.6.24.

Top of Page