Anyone using cygwin and unixODBC?

2009-10-20 Thread Martin Evans
Hi, I am about to make a change to DBD::ODBC with respect to cygwin environments. If you use cygwin and unixODBC instead of cygwin and MS ODBC Driver manager could you please let me know or the next release of DBD::ODBC may not work for you without tinkering with it. Thanks. Martin -- Martin J

Re: DBD::ODBC make test fails - unixODBC/Easysoft/SQL Server 2008

2009-06-30 Thread Scott Stansbury
Yes. Thank you again. Best regards, Scott... On Jun 30, 2009, at 11:52 AM, Martin Evans wrote: Scott Stansbury wrote: Getting closer :) I'm trying to connect to a SQL Server 2008 instance from a CentOS5 box: unixODBC: 2.2.14 FreeTDS:0.82 Easysoft: odbc-sqlserver-1.1.26-

Re: DBD::ODBC make test fails - unixODBC/Easysoft/SQL Server 2008

2009-06-30 Thread Martin Evans
Scott Stansbury wrote: > Getting closer :) > > I'm trying to connect to a SQL Server 2008 instance from a CentOS5 box: > > unixODBC: 2.2.14 > FreeTDS:0.82 > Easysoft: odbc-sqlserver-1.1.26-linux-x86 (this morning, thank you > again Martin and Wez...) >

Re: FreeTDS, unixODBC and DBD::ODBC

2009-06-26 Thread col
On Thu, 25 Jun 2009 21:40:07 +0100 "Martin J. Evans" wrote: > > > I'm not sure the --enable-rtldgroup=no works now because of libtool > changes. I think you may need to configure unixODBC then edit the > file and delete the LT_GROUP. This appears to be an

Re: FreeTDS, unixODBC and DBD::ODBC

2009-06-26 Thread col
On Fri, 26 Jun 2009 17:47:13 +0100 Martin Evans wrote: > col wrote: > > So far nothing suggested to apply in the compile stage is fixing it. > > Can I just verify whether you have configured unixODBC then removed > the LT_GLOBAL from the dlopen call then configured again and e

DBD::ODBC make test fails - unixODBC/Easysoft/SQL Server 2008

2009-06-26 Thread Scott Stansbury
Getting closer :) I'm trying to connect to a SQL Server 2008 instance from a CentOS5 box: unixODBC: 2.2.14 FreeTDS:0.82 Easysoft: odbc-sqlserver-1.1.26-linux-x86 (this morning, thank you again Martin and Wez...) osql/isql work fine with both the FreeTDS and the Easysoft dr

Re: FreeTDS, unixODBC and DBD::ODBC

2009-06-26 Thread Martin Evans
col wrote: > On Fri, 26 Jun 2009 08:44:28 +0200 "John Escott" > wrote: > >> (the first reply in the same page) helpful, since unixODBC 2.2.8 is >> the default version in RHEL3 and a recent Fedora containing 2.2.11 >> worked correctly. > > John -

Re: FreeTDS, unixODBC and DBD::ODBC

2009-06-26 Thread col
On Fri, 26 Jun 2009 08:44:28 +0200 "John Escott" wrote: > (the first reply in the same page) helpful, since unixODBC 2.2.8 is > the default version in RHEL3 and a recent Fedora containing 2.2.11 > worked correctly. John -- Thanks for your reply. Actually, the problem is con

Re: FreeTDS, unixODBC and DBD::ODBC

2009-06-25 Thread John Escott
e reminded me why this can happen. > >Thanks *very* much for that. > >> See >> http://www.easysoft.com/support/kb/kb00664.html >> >http://groups.google.com/group/perl.dbi.users/browse_thread/thread/995131d999ca388/370b10f358e31729?hl=en&lnk=gst&q=Segmen>tation+fault+on+R

Re: FreeTDS, unixODBC and DBD::ODBC

2009-06-25 Thread Martin J. Evans
e links. I had already run across this and attempted to rebuild unixODBC --enable-rtldgroup=no to no apparent effect. I'll try again. It is probably down to using RTLD_GLOBAL on the dlopen call which causes symbols to be resolved top down instead of from where the symbol was found to be undef

Re: FreeTDS, unixODBC and DBD::ODBC

2009-06-25 Thread col
thanks for the links. I had already run across this and attempted to rebuild unixODBC --enable-rtldgroup=no to no apparent effect. I'll try again. > > It is probably down to using RTLD_GLOBAL on the dlopen call which > causes symbols to be resolved top down instead of from where the

Re: DBD::ODBC make test fails - unixODBC/Easysoft/SQL Server 2008

2009-06-25 Thread Martin Evans
Scott Stansbury wrote: > I'm trying to connect to a SQL Server 2008 instance from a CentOS5 box: > > unixODBC: 2.2.14 > FreeTDS:0.82 > Easysoft: odbc-sqlserver-1.1.4-linux-x86 (trial for now) > > osql/isql worked fine with both the FreeTDS and the Easysoft dri

DBD::ODBC make test fails - unixODBC/Easysoft/SQL Server 2008

2009-06-25 Thread Scott Stansbury
I'm trying to connect to a SQL Server 2008 instance from a CentOS5 box: unixODBC: 2.2.14 FreeTDS:0.82 Easysoft: odbc-sqlserver-1.1.4-linux-x86 (trial for now) osql/isql worked fine with both the FreeTDS and the Easysoft drivers. Connecting to a SQL Server 2008 instance running

Re: FreeTDS, unixODBC and DBD::ODBC

2009-06-25 Thread Martin Evans
Setting LD_BIND_NOW *does* work in this situation, however. But it has to be >> set outside the perl script. >> >> This lead me to adding /usr/lib/libtdsodbc.so to /etc/ld.so.preload. >> Magically, all the segfault problems go away. But since this is only needed >> for

Re: FreeTDS, unixODBC and DBD::ODBC

2009-06-25 Thread Martin J. Evans
et outside the perl script. > > This lead me to adding /usr/lib/libtdsodbc.so to /etc/ld.so.preload. > Magically, all the segfault problems go away. But since this is only needed > for DBD::ODBC, I think it's better to fix the problem there, or with > unixODBC, which should

FreeTDS, unixODBC and DBD::ODBC

2009-06-24 Thread col
c/ld.so.preload. Magically, all the segfault problems go away. But since this is only needed for DBD::ODBC, I think it's better to fix the problem there, or with unixODBC, which should successfully load libtdsodbc before it's needed, since it's linked to it. If that's, indeed, the

Re: FreeTDS, unixODBC, GENTOO and DBD::ODBC

2009-06-03 Thread Martin Evans
col wrote: > [x-posted to unixODBC list] > > Is not possible in this combination since many version updates now. > > I'd like to get current AND with a working configuration. > > Working tunnel: ssh u...@the.pub.ip.add -q -f -N -L 1799:192.168.243.140:1433 > (Yes,

FreeTDS, unixODBC, GENTOO and DBD::ODBC

2009-06-02 Thread col
[x-posted to unixODBC list] Is not possible in this combination since many version updates now. I'd like to get current AND with a working configuration. Working tunnel: ssh u...@the.pub.ip.add -q -f -N -L 1799:192.168.243.140:1433 (Yes, tsql works, no problems with the tunnel.) Very s

Re: Problem with DBD::ODBC : -DBD::ODBC::st execute failed: [unixODBC][FreeTDS][SQL Server]Procedure has no parameters and arguments were supplied. (SQL-42000)(DBD: st_execute/SQLExecute err=-1)

2007-12-12 Thread Martin Evans
[EMAIL PROTECTED] wrote: When I try to run a perl script that uses ODBC drivers to insert data more than 7 rows I am getting the following error DBD::ODBC::st execute failed: [unixODBC][FreeTDS][SQL Server]Procedure has no parameters and arguments were supplied. (SQL-42000)(DBD

Problem with DBD::ODBC : -DBD::ODBC::st execute failed: [unixODBC][FreeTDS][SQL Server]Procedure has no parameters and arguments were supplied. (SQL-42000)(DBD: st_execute/SQLExecute err=-1)

2007-12-12 Thread jnp . swiss
When I try to run a perl script that uses ODBC drivers to insert data more than 7 rows I am getting the following error DBD::ODBC::st execute failed: [unixODBC][FreeTDS][SQL Server]Procedure has no parameters and arguments were supplied. (SQL-42000)(DBD: st_execute/SQLExecute err=-1

Registering the ODBC Driver With unixODBC

2007-04-25 Thread Robert Denton
Hi folks. I am attempting to get freetds to work with unixODBC. I found this tutorial: http://www.unixodbc.org/doc/FreeTDS.html It calls for creating a file called tds.driver.template with the following lines: [FreeTDS] Description = v0.63 with protocol v8.0 Driver = /usr

RE: :ODBC::st execute failed: [unixODBC]ERROR: crossed reserve:Out of memory

2006-09-05 Thread Martin J. Evans
I think you would be wise to ask Netezza SQL who wrote the ODBC driver as they should be able to tell you what the error means. This is not a driver I know. Martin -- Martin J. Evans Easysoft Limited http://www.easysoft.com On Tue, 2006-09-05 at 12:29 -0700, Loo, Peter # PHX wrote: > Hi Martin,

RE: :ODBC::st execute failed: [unixODBC]ERROR: crossed reserve:Out of memory

2006-09-05 Thread Loo, Peter # PHX
Hi Martin, Here it is. I have removed the host names. $ cat /usr/local/etc/odbc.ini [ODBC] DebugFile = /tmp/oplhsodbc.log TraceFile = /tmp/ihsodbc.log Trace = 1 [ODBC Data Sources] [AB01] Driver= /usr/local/nz/lib/libnzsqlodbc.so Description = NetezzaSQL ODBC Servername

RE: :ODBC::st execute failed: [unixODBC]ERROR: crossed reserve :Out of memory

2006-09-05 Thread Martin J. Evans
> Sent: Tuesday, September 05, 2006 11:45 AM > To: dbi-users@perl.org > Subject: RE: :ODBC::st execute failed: [unixODBC]ERROR: crossed reserve > :Out of memory > > On Tue, 2006-09-05 at 12:34 -0600, Reidy, Ron wrote: > > So, which is it - errors at 3.8M rows, or 350K rows?

RE: :ODBC::st execute failed: [unixODBC]ERROR: crossed reserve :Out of memory

2006-09-05 Thread Loo, Peter # PHX
Martin, Here is the version: $ perl -M'DBD::ODBC' -le 'print $DBD::ODBC::VERSION' 1.13 Peter -Original Message- From: Martin J. Evans [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 11:45 AM To: dbi-users@perl.org Subject: RE: :ODBC::st execute fai

RE: :ODBC::st execute failed: [unixODBC]ERROR: crossed reserve : Out of memory

2006-09-05 Thread Martin J. Evans
use it has not inserted its name into the error - this is a bug in itself - it should appear in [ ] after [unixODBC]. The -1 is SQL_ERROR and there should be a native error too - that is also missing. I've no idea why it shows "SQL-" - this also seems incorrect. This probably does not he

RE: :ODBC::st execute failed: [unixODBC]ERROR: crossed reserve : Out of memory

2006-09-05 Thread Loo, Peter # PHX
00 rows. Peter -Original Message- From: Reidy, Ron [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 11:34 AM To: Loo, Peter # PHX; DBI-Users Subject: RE: :ODBC::st execute failed: [unixODBC]ERROR: crossed reserve : Out of memory So, which is it - errors at 3.8M rows, or 350K rows? When y

RE: :ODBC::st execute failed: [unixODBC]ERROR: crossed reserve : Out of memory

2006-09-05 Thread Reidy, Ron
: Loo, Peter # PHX; Reidy, Ron; DBI-Users Subject: RE: :ODBC::st execute failed: [unixODBC]ERROR: crossed reserve : Out of memory Now I am getting the following error after fetching approximately 350,000 rows. DBD::ODBC::st fetch failed: [unixODBC] (SQL-)(DBD: st_fetch/SQLFetch err=-1) at /usr

RE: :ODBC::st execute failed: [unixODBC]ERROR: crossed reserve : Out of memory

2006-09-05 Thread Loo, Peter # PHX
Now I am getting the following error after fetching approximately 350,000 rows. DBD::ODBC::st fetch failed: [unixODBC] (SQL-)(DBD: st_fetch/SQLFetch err=-1) at /usr/local/apps/ppv/devl/bin/sdl.pl line 228, line 53. Peter -Original Message- From: Loo, Peter # PHX [mailto:[EMAIL

RE: :ODBC::st execute failed: [unixODBC]ERROR: crossed reserve : Out of memory

2006-09-05 Thread Loo, Peter # PHX
URE; sub_exit(); } print STDERR "RETURN STATEMENT HANDLE IS: $sth\n\n"; return($sth); } #<=== (End of sub_execute) Peter -Original Message- From: Reidy, Ron [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 10:41 AM To: Loo, Peter # PHX; DB

RE: :ODBC::st execute failed: [unixODBC]ERROR: crossed reserve : Out of memory

2006-09-05 Thread Reidy, Ron
-Users Subject: DBD::ODBC::st execute failed: [unixODBC]ERROR: crossed reserve : Out of memory Hi, Will you kindly tell me what this error message is talking about? DBD::ODBC::st execute failed: [unixODBC]ERROR: crossed reserve : Out of memory (SQL-HY000)(DBD: st_execute/SQLExecute err=-1) at

DBD::ODBC::st execute failed: [unixODBC]ERROR: crossed reserve : Out of memory

2006-09-05 Thread Loo, Peter # PHX
Hi, Will you kindly tell me what this error message is talking about? DBD::ODBC::st execute failed: [unixODBC]ERROR: crossed reserve : Out of memory (SQL-HY000)(DBD: st_execute/SQLExecute err=-1) at /usr/local/apps/common/devl/bin/GlobalRoutines.pm line 88, line 53. Thanks. Peter

DBD:ODBC with unixODBC/FreeTDS on Linux connection problem

2005-08-29 Thread Brandon Day
unixODBC/FreeTDS on Linux Hello, I am using DBD:ODBC (unixODBC/FreeTDS) with Perl 5.8.5 on Solaris and I am able to connect to a MS SQL 2000 database successfully. I am now trying to migrate the app to RHEL3 and for some reason I cannot connect to the same SQL db. I can connect to the MS SQL db

DBD: db_login/SQLConnect err=-1 with unixODBC/FreeTDS on Linux

2005-08-25 Thread Brandon Day
Hello, I am using DBD:ODBC (unixODBC/FreeTDS) with Perl 5.8.5 on Solaris and I am able to connect to a MS SQL 2000 database successfully. I am now trying to migrate the app to RHEL3 and for some reason I cannot connect to the same SQL db. I can connect to the MS SQL db using the isql tool. I

RE: DBD::ODBC, unixODBC, FreeTDS, MS-SQL, lazy DL,dbd_db_login/SQLSetConnectOption err=-2

2005-06-27 Thread Pablo Endres
; > Maybe our Intranet document will help you? I attached it. If not, I'll need a > lot more info about what errors you're seeing. > > Cheers, > > j > I upgraded my server to FC4 now I'm using GCC 4.00 Perl v5.8.6 unixODBC 2.2.11 freetds 0.63 Same results.

RE: DBD::ODBC, unixODBC, FreeTDS, MS-SQL, lazy DL,dbd_db_login/SQLSetConnectOption err=-2

2005-06-08 Thread Jay Hannah
> > Not us. We use DBD::Sybase and FreeTDS to connect to MS-SQL from Linux. > Could you give me a pointer on how to set this up? > I did a couple of tests the other day but I couldn't make it work. Maybe our Intranet document will help you? I attached it. If not, I'll need a lot more info about

DBD::ODBC + unixODBC + freetds + fc3

2005-06-08 Thread Pablo Endres
roblem, because when I call the scripts with PERL_DL_NONLAZY=1 they work Any ideas on how to make this work? This is my setup: * unixODBC-2.2.11-2, fresh build made sure that the rtlgroup flag was on while building * freetds-0.62.3-1.1.fc3.rf * perl 5.8.5 Thanks in advance Pablo -- Pablo

RE: DBD::ODBC, unixODBC, FreeTDS, MS-SQL, lazy DL, dbd_db_login/SQLSetConnectOption err=-2

2005-06-07 Thread Jay Hannah
> Has anyone made this work? Not us. We use DBD::Sybase and FreeTDS to connect to MS-SQL from Linux. j

Re: DBD::ODBC, unixODBC, FreeTDS, MS-SQL, lazy DL, dbd_db_login/SQLSetConnectOption err=-2

2005-06-07 Thread Pablo Endres
Hello, Has anyone made this work? I've upgraded to unixODBC-2.2.11 with no luck (I checked the RTLGRUOP flag and built the rpm mysql) with no luck. I tried with a newer DBD::ODBC same result. Any Ideas? Any info I can provide to solve this? Thanks in advance for your help

Re: [dbi] Re: Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-23 Thread Martin J. Evans
On 23-Feb-2005 Walter Obermiller wrote: > Martin, > > New deck of cards. I have completely cleaned out the perl-odbc > environment and replaced it with: > > > Unixodbc 2.2.10 (configured without threading enabled) > perl 5.8.6 (unthreaded) > DBI-1.47 > D

Re: [dbi] Re: Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-23 Thread Walter Obermiller
Martin, New deck of cards. I have completely cleaned out the perl-odbc environment and replaced it with: Unixodbc 2.2.10 (configured without threading enabled) perl 5.8.6 (unthreaded) DBI-1.47 DBD::ODBC 1.13 (configured for 5.8.6 and unixodbc2.2.10) unixODBC 2.2.10 DRIVERS

Re: [dbi] Re: Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-23 Thread Walter Obermiller
Martin, I've decided to take a new tack, throwing out the suse DBD-ODBC and compiling DBD-ODBC 1.13 from scratch, starting with a clean slate. Martin J. Evans wrote: if (DBIc_DEBUGIV(imp_dbh) >= 8) PerlIO_printf(DBIc_LOGPIO(imp_dbh), "Driver connect '%s', '%s', '%s'\n", dbname, uid, pwd); 1.1

Re: [dbi] Re: Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-23 Thread Martin J. Evans
On 23-Feb-2005 Walter Obermiller wrote: > Martin, > > this is because as I said in my last mail, the program > loses itself in an endless loop. The sql.log file (20 mb) for this > execution shows a couple of zillion messages complaining about the > adabas driver receiving an empty password >

Re: [dbi] Re: Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-22 Thread Walter Obermiller
Martin, this is because as I said in my last mail, the program loses itself in an endless loop. The sql.log file (20 mb) for this execution shows a couple of zillion messages complaining about the adabas driver receiving an empty password The question is: what is tacking an empty UID=;PWD=; ont

Re: [dbi] Re: Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-22 Thread Martin J. Evans
I'd certainly use -w: Note: perl is running without the recommended perl -w option There appears to be a bit missing from your trace. It should show something like: "Driver connect 'DSN=test;uid=Martin_Evans;pwd=easysoft;', '', ''" after dbih_setup_attrib(DBI::db=HASH(0x8248c00), H

Re: [dbi] Re: Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-22 Thread Walter Obermiller
pplications, drivers and driver managers problem on Linux is. We think the problem is that the internal structure used by dlopen is bigger when built threaded. You can reproduce this with an ODBC app built without -D_REENTRANT an without linking with pthreads (e.g. without gcc -pthread) and then r

Re: [dbi] Re: Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-22 Thread Martin J. Evans
ded my what the mixing thread/non-thread applications, drivers and driver managers problem on Linux is. We think the problem is that the internal structure used by dlopen is bigger when built threaded. You can reproduce this with an ODBC app built without -D_REENTRANT an without linking with pthrea

Re: [dbi] Re: Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-22 Thread Walter Obermiller
ler wrote: Martin, thanks. I checked. my unixodbc is indeed threaded. The driver library however, is not: /usr/local/lib/odbclib.so /lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x400a9000) linux-gate.so.1 => (0xe000) libsqlrte.so => /usr/local/lib/libsqlrte.so (0x400ce0

RE: [dbi] Re: Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-22 Thread Martin J. Evans
ans Easysoft Ltd, UK Development On 22-Feb-2005 Walter Obermiller wrote: > Martin, thanks. > > I checked. my unixodbc is indeed threaded. > > The driver library however, is not: > >/usr/local/lib/odbclib.so >/lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0

Re: Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-22 Thread Walter Obermiller
Martin, thanks. I checked. my unixodbc is indeed threaded. The driver library however, is not: /usr/local/lib/odbclib.so /lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x400a9000) linux-gate.so.1 => (0xe000) libsqlrte.so => /usr/local/lib/libsqlrte.so (0x400ce000)

Re: Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-22 Thread martin . evans
Quoting Walter Obermiller <[EMAIL PROTECTED]>: > Martin, > > thanks for your reply. > > as to the version of unixodbc, I use what is part of SuSe 9.2: > > Name: unixODBC Relocations: (not relocatable) > Version : 2.2.9 Vendor: SUS

Re: Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-22 Thread Walter Obermiller
Martin, thanks for your reply. as to the version of unixodbc, I use what is part of SuSe 9.2: Name: unixODBC Relocations: (not relocatable) Version : 2.2.9 Vendor: SUSE LINUX AG, Nuernberg, Germany Release : 4 Build Date: Mo 04 Okt 2004 22:49:44 Is

Re: Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-21 Thread martin . evans
I might be wrong - my info is well out of date... but on Linux, Perl built multithreaded always segfaulted with unixODBC. I think this happened even if unixODBC was built threaded (--enable-threads=yes - the default for unixODBC's configure but I'd check your unixODBC was built threaded

Problem with DBD::ODBC (via unixODBC) connection to remote ADABAS-11 database

2005-02-21 Thread Walter Obermiller
Hi, all I am experiencing a puzzling problem while trying to get an DBD::ODBC connection (via unixODBC) working from a client machine A (Suse linux) to a an ADABAS-D-11 database running on a remote machine (B, also Suse linux) -- Machine A (client) Linux 2.6.8-2

Connection problem DBD::ODBC, unixODBC to remote ADABAS-D

2005-02-21 Thread Walter Obermiller
I am experiencing an annoying problem getting an DBD::ODBC connection (via unixODBC) working from a client machine A (Suse linux) to a an ADABAS-D-11 database running on a remote machine (B, also Suse linux) -- Machine A (client) Linux 2.6.8-2 Perl

Re: DBD::ODBC, unixODBC, FreeTDS, MS-SQL, lazy DL, dbd_db_login/SQLSetConnectOption err=-2

2005-01-05 Thread Michael Peppler
On Wed, 2005-01-05 at 09:48, Honza Pazdziora wrote: > On Wed, Jan 05, 2005 at 08:55:26AM +0100, Cosimo Streppone wrote: > > > > I have successfully used this combination: > > > > - DBI :-) > > - DBD::Sybase 1.04, compiled with $ENV{SYBASE}='/your/freetds/install' > > - freetds 0.6x > > The comb

Re: DBD::ODBC, unixODBC, FreeTDS, MS-SQL, lazy DL, dbd_db_login/SQLSetConnectOption err=-2

2005-01-05 Thread Cosimo Streppone
Honza Pazdziora wrote: I have succesfully installed freetds-0.62.3-1.1.fc3.rf from Dag Wieers's rpm repository unixODBC-2.2.9-42 unixODBC-devel-2.2.9-42 from Fedora Core 3's rpm repository DBD::ODBC 1.13 from sources from C

Re: DBD::ODBC, unixODBC, FreeTDS, MS-SQL, lazy DL, dbd_db_login/SQLSetConnectOption err=-2

2005-01-05 Thread Honza Pazdziora
On Wed, Jan 05, 2005 at 08:55:26AM +0100, Cosimo Streppone wrote: > > I have successfully used this combination: > > - DBI :-) > - DBD::Sybase 1.04, compiled with $ENV{SYBASE}='/your/freetds/install' > - freetds 0.6x The combination with DBD::Sybase used to work for me, but then in an attempt t

Re: DBD::ODBC, unixODBC, FreeTDS, MS-SQL, lazy DL, dbd_db_login/SQLSetConnectOption err=-2

2005-01-05 Thread Cosimo Streppone
Honza Pazdziora wrote: On Wed, Jan 05, 2005 at 08:55:26AM +0100, Cosimo Streppone wrote: > I have successfully used this combination: > > - DBI :-) > - DBD::Sybase 1.04, compiled with $ENV{SYBASE}='/your/freetds/install' > - freetds 0.6x The combination with DBD::Sybase used to work for me, but th

RE: [dbi] DBD::ODBC, unixODBC, FreeTDS, MS-SQL, lazy DL, dbd_db_login/SQLSetConnectOption err=-2

2005-01-04 Thread Martin J. Evans
driver bypassing the driver manager (or vice versa). If you imagine the process from calling DBI->connect: 1. DBI loads DBD::ODBC which is dependent on libodbc.so 2. call to SQLAllocHandle for the environment. libodbc.so is loaded so resolved in unixODBC driver manager and handle returned. 3. c

DBD::ODBC, unixODBC, FreeTDS, MS-SQL, lazy DL, dbd_db_login/SQLSetConnectOption err=-2

2005-01-04 Thread Honza Pazdziora
Hello, I have succesfully installed freetds-0.62.3-1.1.fc3.rf from Dag Wieers's rpm repository unixODBC-2.2.9-42 unixODBC-devel-2.2.9-42 from Fedora Core 3's rpm repository DBD::ODBC 1.13 from sources from CPAN

RE: [dbi] Re: UnixODBC

2004-09-09 Thread Martin J. Evans
On 09-Sep-2004 Christian Stalp wrote: > >> You don't call unixODBC. You setup a data source for unixODBC, then you >> reference the datasource as if it was a dataserver. I just went through >> this exercise. The odbc.ini and odbcinst.ini need to have the correct &g

Re: UnixODBC

2004-09-09 Thread Christian Stalp
> You don't call unixODBC. You setup a data source for unixODBC, then you > reference the datasource as if it was a dataserver. I just went through > this exercise. The odbc.ini and odbcinst.ini need to have the correct > entries for the source of your data. The name that is cr

Re: UnixODBC

2004-09-07 Thread Chuck Fox
You don't call unixODBC. You setup a data source for unixODBC, then you reference the datasource as if it was a dataserver. I just went through this exercise. The odbc.ini and odbcinst.ini need to have the correct entries for the source of your data. The name that is created in brackets i

Re: UnixODBC

2004-09-07 Thread Christian Stalp
I tryed to call UnixODBC via DBI. my $data_source = "dbi:UnixODBC:refdb"; $dbh = DBI->connect ( $data_source, $user, $password ) or die "unable to connect !\n"; . and got : install_driver(UnixODBC) failed: Can't locate DBD/UnixODB

Re: UnixODBC

2004-09-07 Thread Christian Stalp
Am Dienstag, 7. September 2004 11:09 schrieben Sie: > > Hello there, > > one brief question: needs UnixODBC the DBI or is it totally > > indipendent? > > > > Gruss Christian > > DBI are Perl related. unixODBC it's a C library. > Sure, but there is

RE: [dbi] UnixODBC

2004-09-07 Thread Martin J. Evans
DBI does not need unixODBC. If you want to use the DBD::ODBC driver under DBI you'll need an ODBC driver or (more likely) an ODBC driver manager (like unixODBC) and an ODBC driver. Martin -- Martin J. Evans Easysoft Ltd, UK Development On 07-Sep-2004 Christian Stalp wrote: > Hello ther

UnixODBC

2004-09-07 Thread Christian Stalp
Hello there, one brief question: needs UnixODBC the DBI or is it totally indipendent? Gruss Christian -- Christian Stalp Institut für Medizinische Biometrie, Epidemiologie und Informatik (IMBEI) Obere Zahlbacher Straße 69 55131 Mainz Tel.: 06131/ 17-6852 E-Mail: [EMAIL PROTECTED] Internet

Re: DBD::ODBC (0.45), MS SQL, unixODBC, FreeTDS (CVS), bind_param_inout

2002-12-28 Thread Michael A Chase
On Sat, 28 Dec 2002 03:16:02 -0500 Chris <[EMAIL PROTECTED]> wrote: > Sorry for the spam! not sure what happened there - deepest apologies! You should have trimmed the excess from your apology. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: htt

Re: DBD::ODBC (0.45), MS SQL, unixODBC, FreeTDS (CVS), bind_param_inout

2002-12-28 Thread Chris
Sorry for the spam! not sure what happened there - deepest apologies! On Fri, 27 Dec 2002 18:32:24 -0500, Chris <[EMAIL PROTECTED]> wrote: Hello, I was hoping that someone could help me out with my stored procedure problems... Here is my code: #!/usr/bin/perl -w use DBI(); #connect to DB my

DBD::ODBC (0.45), MS SQL, unixODBC, FreeTDS (CVS), bind_param_inout

2002-12-27 Thread Chris
Hello, I was hoping that someone could help me out with my stored procedure problems... Here is my code: #!/usr/bin/perl -w use DBI(); #connect to DB my $dbh = DBI->connect("DBI:ODBC:SBS", "xx", "xx", {'RaiseError' => 1}); DBI->trace(2); my

DBD::ODBC (0.45), MS SQL, unixODBC, FreeTDS (CVS), bind_param_inout

2002-12-27 Thread Chris
Hello, I was hoping that someone could help me out with my stored procedure problems... Here is my code: #!/usr/bin/perl -w use DBI(); #connect to DB my $dbh = DBI->connect("DBI:ODBC:SBS", "xx", "xx", {'RaiseError' => 1}); DBI->trace(2); my

DBD::ODBC (0.45), MS SQL, unixODBC, FreeTDS (CVS), bind_param_inout

2002-12-27 Thread Chris
Hello, I was hoping that someone could help me out with my stored procedure problems... Here is my code: #!/usr/bin/perl -w use DBI(); #connect to DB my $dbh = DBI->connect("DBI:ODBC:SBS", "xx", "xx", {'RaiseError' => 1}); DBI->trace(2); my

RE: unixODBC and isql seg fault

2002-12-03 Thread Matthew Bartholomew
this email for the start of this email thread. The issue is a basic seg fault when using isql to connect to a MS SQL 2k server. I have freetds0.60, unixODBC 2.2.2-3, and Sybase 11.9 family of rpms installed on a redhat 7.2 linux. Using perl 5.8.0 with DBI and DBD::ODBC (most up to date versions

RE: unixODBC

2002-12-03 Thread Matthew Bartholomew
Hello again, I was able to connect to mysql via isql (I'm having a difficult time with postgresql). Do you think that puts unixODBC in the clear and I should look around at other packages as the perpetrators of this seg fault? Or does postgresql hold a significance that I'm not gettin

RE: seg fault unixODBC

2002-12-03 Thread Matthew Bartholomew
Nick...this is what I get: [root@ns3 DBD-ODBC-0.43]# isql -v wibble [unixODBC][Driver Manager]Data source name not found, and no default driver specified [ISQL]ERROR: Could not SQLConnect I tried to used ODBCconfig to get connected to anything at this point, postgres or tds but ODBCconfig seg

Re: seg fault unixODBC

2002-12-03 Thread Nick Gorham
build]# isql -mn Segmentation fault .you get the idea...isql seg faults on most every command. --version is the only one that doesn't seg fault. I upgrade to unixODBC 2.2.2 in hopes of fixing this, but no avail. Hi, Try isql -v wibble You "should" get a DSN not found error. If

seg fault unixODBC

2002-12-03 Thread Matthew Bartholomew
fault .you get the idea...isql seg faults on most every command. --version is the only one that doesn't seg fault. I upgrade to unixODBC 2.2.2 in hopes of fixing this, but no avail. Also, I've tried to recompile DBD::ODBC but make test fails...probably because unixodbc is seg fau

RE: unixODBC and DBD::ODBC fails to connect

2002-09-26 Thread Jeff Urlwin
Matthew, You are stomping on shaky ground. The last I tried UnixODBC and FreeTDS was ..53 and I had issues. I haven't tried .60, but I'd suggest doing the following: 1) Login as your www user (if possible) and try isql. 2) adding a logging function in FreeTDS'

RE: unixODBC and DBD::ODBC fails to connect

2002-09-26 Thread Matthew Bartholomew
e the version numbers that I'm running: Freetds .60 UnixODBC 2.1.1-1 DBD::ODBC 0.43 DBI->connect(SQL) failed: [unixODBC]tds_connect failed (SQL-08001)(DBD: db_login/SQLConnect err=-1) at cgiscript.cgi line 100 Connecting : [unixODBC]tds_connect failed (SQL-08001)(DBD: db_login/SQLConne

RE: unixODBC and DBD::ODBC fails to connect

2002-09-26 Thread Jeff Urlwin
ved. Regards, Jeff > > > I'm sure I'm overlooking something really simple, but I can't find any > documentation to help troubleshoot my problem. > > When running a cgi script that uses DBI and the DBD::ODBC pm, > this is error > message is deposited into

unixODBC and DBD::ODBC fails to connect

2002-09-26 Thread Matthew Bartholomew
I'm sure I'm overlooking something really simple, but I can't find any documentation to help troubleshoot my problem. When running a cgi script that uses DBI and the DBD::ODBC pm, this is error message is deposited into my www error logs. DBI->connect(SQL) failed: [unixODBC]

RE: Problem installing DBD:ODBC(UnixODBC).

2002-09-25 Thread Jeff Urlwin
EMAIL PROTECTED]' > Subject: RE: Problem installing DBD:ODBC(UnixODBC). > > > I tried to make out the exact error. This is using iODBC in > mycase, But the > same applies for unixODBC also. I have both. > To make out the error, i tried to compile dbdimp.c alone with

RE: Problem installing DBD:ODBC(UnixODBC).

2002-09-25 Thread Janarthanan, Prasanna
I tried to make out the exact error. This is using iODBC in mycase, But the same applies for unixODBC also. I have both. To make out the error, i tried to compile dbdimp.c alone with erroff option to suppress the warnings. Here is the error. janarthp@sys1:/u/janarthp/DBD> cc -c -erroff -

RE: Problem installing DBD:ODBC(UnixODBC).

2002-09-25 Thread Jeff Urlwin
for the next few weeks. Regards, Jeff > -Original Message- > From: Janarthanan, Prasanna [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 25, 2002 2:13 AM > To: Janarthanan, Prasanna; '[EMAIL PROTECTED]'; > '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]&

RE: Problem installing DBD:ODBC(UnixODBC).

2002-09-24 Thread Janarthanan, Prasanna
oblem installing DBD:ODBC(UnixODBC). Its fine.. i tried it ... errors are at dbdimp.c. ERROR - janarthp@sys1:/u/janarthp/DBD> make /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 -MExtUtils::Command -e mkpath blib/lib/DBD/ODBC rm -f bli

RE: Problem installing DBD:ODBC(UnixODBC).

2002-09-23 Thread Janarthanan, Prasanna
usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap ODBC.xs > ODBC.xsc && mv ODBC.xsc ODBC.c cc -c -I/u/janarthp/ODBC/unixODBC/include -I. -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI -I/usr/local/include -I/usr/include -I/usr/local/g

RE: Problem installing DBD:ODBC(UnixODBC).

2002-09-23 Thread Jeff Urlwin
: CCCMD = $(CC) -c $(DEFINE) $(INC) $(CCFLAGS) $(OPTIMIZE) \ $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \ $(XS_DEFINE_VERSION) This will make sure unixODBC comes first. Every time you run Makefile.PL, you will have to perform this edit. I do not believe that changing Makefile.PL in

RE: Problem installing DBD:ODBC(UnixODBC).

2002-09-23 Thread Jeff Urlwin
Prasanna, I'm not sure what's really happening other than there must be some sqlext.h in your /usr/include or /usr/local/include *before* it gets to sqlext.h that's defined by unixODBC. It looks as if it's not looking in ODBCHOME...I think, if you haven't, try *insta

RE: Problem installing DBD:ODBC(UnixODBC).

2002-09-23 Thread Janarthanan, Prasanna
Here is the complete perl MakeFile and make. Iam able to connect to the database using isql. --- janarthp@sys1:/u/janarthp/DBD> perl Makefile.PL -o /u/janarthp/ODBC/unixODBC Configuring DBD::ODBC ... >>> Remember to actually *READ* the README file! And re-read it

RE: Problem installing DBD:ODBC(UnixODBC).

2002-09-23 Thread Jeff Urlwin
Please post the output of makeifle.pl and all of make. I believe it's not properly picking up the unixODBC headers. regards, Jeff > -Original Message- > From: Janarthanan, Prasanna [mailto:[EMAIL PROTECTED]] > Sent: Saturday, September 21, 2002 5:09 AM > To:

Problem installing DBD:ODBC(UnixODBC).

2002-09-21 Thread Janarthanan, Prasanna
hi, I now installed the unixODBC Driver manager and tested with isql. Its working fine. Still get problem when running 'make' after makeFile.PL of DBD:ODBC. A piece of that error: "dbdimp.c", line 1232: warning: improper pointer/integer combination: arg #1 "dbdi

linking DBD::ODBC to unixODBC

2002-02-28 Thread root
does anyone know where i can find documentation on how to properly link DBD::ODBC to unixODBC? On Thursday 28 February 2002 11:08, Ken Miller wrote: > Well, there wasn't a problem with DBI at all. > > Problem was (and still is, actually) that I had a reference loop. Th

freetds + unixodbc

2002-02-25 Thread buck lane
i am getting an error message tds_connect failed message when i try to connect to a database through isql -v dbname sa password, i also get an error message about constructing property list when i try to add another dsn in odbcconfig. anyone gt an idea.

RE: [unixODBC-DEV] - Re: String data, right truncation error int

2002-01-30 Thread Jeff Urlwin
The water is more murky now... > > On 30-Jan-2002 Jeff Urlwin wrote: > > Tim, > > > > Ok -- that was a big help in describing the problem and letting me > > understand it. Right now, here's the situation: > > DBD::ODBC *assumes* that all binds are of type VARCHAR > and only when > > overid

RE: [unixODBC-DEV] - Re: String data, right truncation error int

2002-01-30 Thread martin
On 30-Jan-2002 Jeff Urlwin wrote: > Tim, > > Ok -- that was a big help in describing the problem and letting me > understand it. Right now, here's the situation: > DBD::ODBC *assumes* that all binds are of type VARCHAR and only when > overidden on the bind_col will it actually change that

RE: [unixODBC-DEV] - Re: String data, right truncation error int

2002-01-29 Thread Jeff Urlwin
> From: Tim Harsch [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 29, 2002 8:35 PM > To: Jeff Urlwin; [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; Jeff Urlwin > Subject: RE: [unixODBC-DEV] - Re: String data, right truncation error > int > > > Here it is! and than

Re: unixODBC and FreeTDS to MS SQL Server.

2001-10-27 Thread Nick Gorham
DBD:Sybase option would be better supported, as the freeTDS coders are not that focused on ODBC. > > > Jeff > > > > > Hi > >I am having problems working with the DBD::ODBC driver. > > > >I am using unixODBC and FreeTDS connecting to MS SQL Ser

RE: unixODBC and FreeTDS to MS SQL Server.

2001-10-26 Thread Keith A. Clay
[EMAIL PROTECTED]] > Sent: Friday, October 26, 2001 7:48 PM > To: Amit Gandre; [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: unixODBC and FreeTDS to MS SQL Server. > > > Well, I'm not especially solid on the FreeTDS. I did not realize that > FreeTDS supplied a

RE: unixODBC and FreeTDS to MS SQL Server.

2001-10-26 Thread Jeff Urlwin
Well, I'm not especially solid on the FreeTDS. I did not realize that FreeTDS supplied an ODBC driver. I thought that FreeTDS was to be used with DBD::Sybase to talk to SQL Server. Jeff > > Hi >I am having problems working with the DBD::ODBC driver. > > I am using

  1   2   >