freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] [unixODBC-support] isql connection hangs
- From: "Goyal, Pravin Shyam" <pravin.goyal AT hp.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>, Support for the unixODBC project <unixodbc-support AT mailman.unixodbc.org>
- Subject: Re: [freetds] [unixODBC-support] isql connection hangs
- Date: Thu, 18 Jun 2009 09:03:01 +0000
Hi All,
Below are list of errors that I found in config.log when I did ./configure
--enable-gui=0 for unixODBC. But, I didn't correct the below errors and went
ahead for make and make install. Can these errors be now issue for me for
which isql is hanging?
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
ld: Unsatisfied symbol "yywrap" in file /var/tmp//ccLbw8jc.o
1 errors.
ld: Can't find library or mismatched ABI for -lfl
Fatal error.
ld: Unsatisfied symbol "libiconv_open" in file /var/tmp//cckNFiFe.o
ld: Unsatisfied symbol "libiconv_close" in file /var/tmp//cckNFiFe.o
ld: Unsatisfied symbol "libiconv" in file /var/tmp//cckNFiFe.o
3 errors.
ld: Can't find library or mismatched ABI for -liconv
Fatal error.
ld: Can't find library or mismatched ABI for -lcrypt
Fatal error.
ld: Can't find library or mismatched ABI for -lreadline
Fatal error.
ld: Can't find library or mismatched ABI for -lreadline
Fatal error.
ld: Unsatisfied symbol "atoll" in file /var/tmp//ccQnuMLb.o
1 errors.
ld: Unsatisfied symbol "stricmp" in file /var/tmp//ccCTHr5c.o
1 errors.
ld: Unsatisfied symbol "strnicmp" in file /var/tmp//cc8nsDla.o
1 errors.
ld: Can't find library or mismatched ABI for -lthread
Fatal error.
conftest.c:55: error: storage size of 'semctl_arg' isn't known
ld: Can't find library or mismatched ABI for -lsocket
Fatal error.
/usr/include/machine/sys/getppdp.h:65: error: array type has incomplete
element type
In file included from conftest.c:95:
/usr/local/lib/gcc/ia64-hp-hpux11.23/4.1.1/include/varargs.h:4:2: error:
#error "GCC no longer implements <varargs.h>."
/usr/local/lib/gcc/ia64-hp-hpux11.23/4.1.1/include/varargs.h:5:2: error:
#error "Revise your code to use <stdarg.h>."
conftest.c:98:18: error: msql.h: No such file or directory
ld: Unsatisfied symbol "setenv" in file /var/tmp//ccET3thb.o
1 errors.
Please help.
Thanks and regards,
Pravin Goyal
-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Goyal, Pravin Shyam
Sent: Thursday, June 18, 2009 2:06 PM
To: FreeTDS Development Group; Support for the unixODBC project
Subject: Re: [freetds] [unixODBC-support] isql connection hangs
Thanks Nick. That means I am right. So something wrong in buildup of
connection.
See guys if this is ok..
# pwd
/usr/local/etc
# cat odbcinst.ini
[FreeTDS]
Description = Pravin's TDS
Driver = /usr/local/lib/libtdsodbc.so
UsageCount = 3
# cat odbc.ini
[MSSQLTestServer]
Driver = FreeTDS
Description = Test SQL Swerver
Trace = No
Server = 16.138.74.27\BTHUYAVANA11
Port = 1433
Database = master
# isql -v MSSQLTestServer 'sa' 'Windows2003server'
<this hangs up>
Please help.
Thanks and regards,
Pravin Goyal
-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Nick Gorham
Sent: Thursday, June 18, 2009 12:41 PM
To: Support for the unixODBC project
Cc: freetds AT lists.ibiblio.org
Subject: Re: [freetds] [unixODBC-support] isql connection hangs
Goyal, Pravin Shyam wrote:
>
> Guys, I must admit that below happened:
>
>
>
> # cat tds.driver.template
>
> Description = My tds - Pravin
>
> Driver = /usr/local/lib/libtdsodbc.so
>
> # find /usr/local -name libtdsodbc.so
>
> /usr/local/lib/libtdsodbc.so
>
> # odbcinst -i -d -f tds.driver.template
>
> odbcinst: iniOpen failed on tds.driver.template.
>
>
>
> I created odbcinst.ini file myself under /usr/local/etc. Is this
> breaking something or is there something wrong with the installation
> of unixODBC or FreeTDS? I am not sure. Please help.
>
The fact you get the error with the invalid password shows that unixODBC
is loading the driver, so I would guess its a driver issue.
--
Nick
_______________________________________________
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
-
Re: [freetds] isql connection hangs,
Goyal, Pravin Shyam, 06/18/2009
-
Re: [freetds] [unixODBC-support] isql connection hangs,
Nick Gorham, 06/18/2009
-
Re: [freetds] [unixODBC-support] isql connection hangs,
Goyal, Pravin Shyam, 06/18/2009
- Re: [freetds] [unixODBC-support] isql connection hangs, Goyal, Pravin Shyam, 06/18/2009
- Re: [freetds] [unixODBC-support] isql connection hangs, Frediano Ziglio, 06/18/2009
-
Re: [freetds] [unixODBC-support] isql connection hangs,
Goyal, Pravin Shyam, 06/19/2009
- Re: [freetds] [unixODBC-support] isql connection hangs, Craig A. Berry, 06/19/2009
- Re: [freetds] [unixODBC-support] isql connection hangs, Goyal, Pravin Shyam, 06/22/2009
-
Re: [freetds] [unixODBC-support] isql connection hangs,
Goyal, Pravin Shyam, 06/18/2009
-
Re: [freetds] [unixODBC-support] isql connection hangs,
Nick Gorham, 06/18/2009
Archive powered by MHonArc 2.6.24.