[freetds] DSN connection problem using Solaris 2.8, unixODBC and freetds

Brian Bruns camber at ais.org
Tue Apr 15 05:37:01 EDT 2003


does solaris still relegate stuff to libbsd and libnsl?  Might be a good 
place to start.

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
> 



More information about the FreeTDS mailing list