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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-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

Browse pgsql-interfaces by date

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

Browse pgsql-odbc by date

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