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

James K. Lowden jklowden at schemamania.org
Tue Apr 15 00:31:02 EDT 2003

On Tue, 15 Apr 2003 12:07:50 +1000, "Tref Gare" <TrefG at areeba.com.au>
> 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.  



More information about the FreeTDS mailing list