freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: getting error "gethostbyname: referenced symbol not found" after compiling frettds is successful
- From: Brian Bruns <camber AT ais.org>
- 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 09:22:19 -0500 (EST)
Anyone know if Solaris puts gethostbyname is a weird place?
The first step would be to get SQSH (http://www.sqsh.org) and compile that
to see if we can isolate this specifically to ODBC or whether it is a
general problem with FreeTDS. To my knowledge, the ODBC driver has not
received much in the way of testing on Solaris, but it should be something
simple.
Brian
On Mon, 21 Jan 2002, Mediascape wrote:
> hello,
>
> i have compiled freetds 0.53 (the lastest one) from the scratch with
>
>
>
>
>
> configure --with-tdsver=7.0 --enable-msdblib --prefix=/usr/local/freetds --w
> ith-iodbc=/var/noc/in/odbcsdk
>
> because i need it to connect to my MSSQL server ;-)
>
> i also have added the follwoing to my /etc/odbc.conf
>
>
> [ODBC Data Sources]
> MSSQL = WF1/2
>
> [MSSQL]
> Driver = /usr/local/freetds/lib/libtdsodbc.so
> Servername = JDBC
> Host = 192.168.0.191
> Database = "ULTIMUS SIMULATE"
> UID = sa
> PWD = tempo
>
> but when i try to connect to this DSN via the odbctest program from the
> iobdc distribution i got ths error:
>
> ld.so.1: ./odbctest: fatal: relocation error: file
> /usr/local/freetds/lib/libtdsodbc.so: symbol gethostbyname: referenced
> symbol not found
> Killed
>
> additional infos are: sun solaris7 on SUN sparc, MSSQL2000 on W2K server
>
> questions:
>
> a) what is wrong with my compilation? can anyboy help me with this issue?
> b) can anybody privide me a sample section for connecting to MSSQL servers?
>
> thanks a lot,
>
> stefan mohr
>
>
>
> ---
> You are currently subscribed to freetds as: [camber AT ais.org]
> To unsubscribe, forward this message to $subst('Email.Unsub')
>
-
getting error "gethostbyname: referenced symbol not found" after compiling frettds is successful,
Mediascape, 01/21/2002
- <Possible follow-up(s)>
- Re: getting error "gethostbyname: referenced symbol not found" after compiling frettds is successful, Brian Bruns, 01/21/2002
- Re: getting error "gethostbyname: referenced symbol not found" after compiling frettds is successful, Nick Gorham, 01/21/2002
- Re: getting error "gethostbyname: referenced symbol not found" after compiling frettds is successful, Brian Bruns, 01/21/2002
- Re: getting error "gethostbyname: referenced symbol not found" after compiling frettds is successful, Nick Gorham, 01/21/2002
- Re: getting error "gethostbyname: referenced symbol not found" after compiling frettds is successful, Peter Harvey, 01/21/2002
- Re: getting error "gethostbyname: referenced symbol not found" after compiling frettds is successful, Mediascape, 01/21/2002
- Re: getting error "gethostbyname: referenced symbol not found" after compiling frettds is successful, Brian Bruns, 01/22/2002
Archive powered by MHonArc 2.6.24.