Skip to Content.
Sympa Menu

freetds - Re: 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: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: one step foward! --- Re: getting error "gethostbyname: referenced symbol not found" after compiling frettds is successful
  • Date: Tue, 22 Jan 2002 22:51:36 -0500 (EST)


There is an example odbc.ini file in the samples/ directory with the
FreeTDS distribution.

Brian

On Mon, 21 Jan 2002, Mediascape wrote:

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





Archive powered by MHonArc 2.6.24.

Top of Page