Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 8C19F9FB955; Tue, 27 Mar 2007 14:12:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 95289-02; Tue, 27 Mar 2007 14:12:16 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from smtp.guitar.ocn.ne.jp (guitar.ocn.ne.jp [61.207.12.174]) by postgresql.org (Postfix) with ESMTP id 2DCF09FB93E; Tue, 27 Mar 2007 14:12:17 -0300 (ADT) Received: from SJ157 (221x112x108x194.ap221.ftth.ucom.ne.jp [221.112.108.194]) by smtp.guitar.ocn.ne.jp (Postfix) with SMTP id 905FE4484; Wed, 28 Mar 2007 02:12:15 +0900 (JST) Message-ID: <05b801c77092$ffd2a700$c701a8c0@wiseknot.local> From: "Hiroshi Saito" To: "Sean Davis" Cc: "Tom Lane" , , References: <4606AC15.90406@mail.nih.gov> <033501c77076$3fdd0650$c701a8c0@wiseknot.local> <19439.1175004266@sss.pgh.pa.us> <200703271030.02750.sdavis2@mail.nih.gov> <040501c77081$4f9b7a30$c701a8c0@wiseknot.local> Subject: Re: [ODBC] ODBC for Mac OS Date: Wed, 28 Mar 2007 02:11:46 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/40 X-Sequence-Number: 6481 Hi. From: "Sean Davis" >> > 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