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: Mediascape <sm-ml AT mediascape.de>
  • 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 18:34:49 +0100


yep! typo! should be /etc/odbc.ini which i am looking for!

just reading your answers an i will try it late ron and report it than!

thx,

stefan


----- Original Message -----
From: "Peter Harvey" <pharvey AT codebydesign.com>
To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
Sent: Monday, January 21, 2002 6:28 PM
Subject: [freetds] Re: getting error "gethostbyname: referenced symbol not
found" after compiling frettds is successful


> The original post made reference to odbc.conf. Was the 'conf' extension a
> typo?
>
> Peter
>
>
>
> On Monday 21 January 2002 08:20, Nick Gorham wrote:
> > Brian Bruns wrote:
> > > 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.
> >
> > I do this
> >
> > dnl I need to check for libsocket before testing X
> > AC_CHECK_LIB(socket, socket, [LIBSOCKET="-lsocket"]) dnl for Solaris
> > AC_SUBST(LIBSOCKET)
> > AC_CHECK_LIB(nsl, gethostbyname, [LIBNSL="-lnsl"]) dnl for Solaris
> > AC_SUBST(LIBNSL)
> >
> > in the unixODBC configure.in for just this reason
> >
> > --
> > Nick Gorham
> > Easysoft Ltd
> >
> >
> >
> >
> > ---
> > You are currently subscribed to freetds as: [pharvey AT codebydesign.com]
> > To unsubscribe, forward this message to
> > $subst('Email.Unsub')
>
> ---
> 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