[freetds] DSN connection problem using Solaris 2.8, unixODBC
and freetds
Michael Peppler
mpeppler at peppler.org
Tue Apr 15 15:52:35 EDT 2003
On Tue, 2003-04-15 at 02:37, Brian Bruns wrote:
> does solaris still relegate stuff to libbsd and libnsl? Might be a good
> place to start.
-lnsl is needed, I think.
Michael
>
> Brian
>
> On Tue, 15 Apr 2003, James K. Lowden wrote:
>
> > On Tue, 15 Apr 2003 12:07:50 +1000, "Tref Gare" <TrefG at areeba.com.au>
> > wrote:
> > >
> > > ld.so.1: isql: fatal: relocation error:
> > ^^^^^^^ this is the key
> > file /usr/local/freetds/lib/libtdsodbc.so:
> > symbol gethostbyname:
> > referenced symbol not found
> >
> > The runtime linker is telling you libtdsodbc.so called a function
> > "gethostbyname", but it [the linker, a/k/a "ld.so"] couldn't find that
> > function among its libraries.
> >
> > Of course, we know gethostbyname(3) is hanging out somewhere on your
> > Solaris box, so the only question is how to persuade the linker to look in
> > the right place.
> >
> > HTH.
> >
> > --jkl
> > _______________________________________________
> > FreeTDS mailing list
> > FreeTDS at lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/freetds
> >
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
--
Michael Peppler Data Migrations, Inc.
mpeppler at peppler.org http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.mbay.net/~mpeppler/resume.html
More information about the FreeTDS
mailing list