Skip site navigation (1) Skip section navigation (2)

Re: [ODBC] ODBC for Mac OS

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: "Sean Davis" <sdavis2(at)mail(dot)nih(dot)gov>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>,<pgsql-interfaces(at)postgresql(dot)org>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: [ODBC] ODBC for Mac OS
Date: 2007-03-27 17:11:46
Message-ID: 05b801c77092$ffd2a700$c701a8c0@wiseknot.local (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-odbc
Hi.

From: "Sean Davis" <sdavis2(at)mail(dot)nih(dot)gov>

>> > gcc  -o .libs/psqlodbcw.so -bundle  .libs/info.o .libs/bind.o
>> > .libs/columninfo.o .libs/connection.o .libs/convert.o .libs/drvconn.o
>> > .libs/environ.o .libs/execute.o .libs/lobj.o .libs/win_md5.o .libs/misc.o
>> > .libs/options.o .libs/pgtypes.o .libs/psqlodbc.o .libs/qresult.o
>> > .libs/results.o .libs/socket.o .libs/parse.o .libs/statement.o
>> > .libs/tuple.o .libs/dlg_specific.o .libs/loadlib.o .libs/multibyte.o
>> > .libs/odbcapi.o .libs/descriptor.o .libs/odbcapi30.o .libs/pgapi30.o
>> > .libs/info30.o .libs/mylog.o .libs/odbcapi30w.o .libs/odbcapiw.o
>> > libs/win_unicode.o  -L/usr/local/pgsql/lib -lpq -lssl -lcrypto
>> > /usr/bin/ld: Undefined symbols:
>> > _SQLGetPrivateProfileString
>> > _SQLWritePrivateProfileString
>> > collect2: ld returned 1 exit status
>> > make[1]: *** [psqlodbcw.la] Error 1
>> > make: *** [all] Error 2
>>
>> Um, what configure option?
>> configure --enable-unicode --with-iodbc --with-odbcver=0x0300
>> --enable-pthreads --with-openssl
> 
> no options specified in what I sent to you.  If I use the options you just 
> sent, I get a build!  I have to try it out, but it built without errors.  
> Thanks for all the help, and I will let you know if I have further problems.

Oh ok, I understood the mistake was found in the option of either iodbc or unixodbc.:-)
I think becoming for your help to be glad. It will be repaired soon.
Anyway, Thanks!!

Regards,
Hiroshi Saito




In response to

pgsql-odbc by date

Next:From: noreplyDate: 2007-03-27 23:28:51
Subject: [ psqlodbc-Bugs-1000681 ] Error when using ODBC driver with Microsoft Access
Previous:From: Hiroshi SaitoDate: 2007-03-27 15:05:08
Subject: Re: [ODBC] ODBC for Mac OS

pgsql-interfaces by date

Next:From: Andy ShellamDate: 2007-03-29 19:29:30
Subject: Re: pgadmin III 1.6.2 crashes when inserting a row
Previous:From: Hiroshi SaitoDate: 2007-03-27 15:05:08
Subject: Re: [ODBC] ODBC for Mac OS

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group