Skip to Content.
Sympa Menu

freetds - one step foward! --- 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: Mediascape <sm-ml AT mediascape.de>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: one step foward! --- Re: getting error "gethostbyname: referenced symbol not found" after compiling frettds is successful
  • Date: Mon, 21 Jan 2002 18:42:36 +0100


hello,

one step foward! the compilation was okay an when i did odbctest i got:

Enter ODBC connect string (? shows list): DSN=MSSQL
tds_connect failed, SQLSTATE=08001

this error message, which indicates to me, that there is now a connection
problem to the server and the compilation was okay.

mhm....does anybody a sample configuration section me?

thx,

stefan mohr - who is only one step away from his goal ;-)


----- Original Message -----
From: "Brian Bruns" <camber AT ais.org>
To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
Sent: Monday, January 21, 2002 4:42 PM
Subject: [freetds] Re: getting error "gethostbyname: referenced symbol not
found" after compiling frettds is successful


>
>
> 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.
>
>
>
> ---
> You are currently subscribed to freetds as: [sm-ml AT mediascape.de]
> To unsubscribe, forward this message to
$subst('Email.Unsub')
>





Archive powered by MHonArc 2.6.24.

Top of Page