Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1E67E9FA2D7; Mon, 26 Mar 2007 22:56:54 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 61595-03-3; Mon, 26 Mar 2007 22:56:47 -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 69EDD9F9F58; Mon, 26 Mar 2007 22:56:47 -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 4284F4181; Tue, 27 Mar 2007 10:56:44 +0900 (JST) Message-ID: <03ca01c77013$2ddc4b90$c701a8c0@wiseknot.local> From: "Hiroshi Saito" To: "Sean Davis" , "Tom Lane" Cc: , References: <4606AC15.90406@mail.nih.gov> <2381.1174877131@sss.pgh.pa.us> <200703260636.09171.sdavis2@mail.nih.gov> Subject: Re: [ODBC] ODBC for Mac OS Date: Tue, 27 Mar 2007 10:56:47 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original 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-Spam-Status: No, hits=0.115 tagged_above=0 required=5 tests=AWL, BAYES_50, SPF_PASS X-Spam-Level: X-Archive-Number: 200703/36 X-Sequence-Number: 6477 Hi Sean Davis-san. I am wishing this to help you. Thanks! Regards, Hiroshi Saito Sent: Tuesday, March 27, 2007 10:49 AM Subject: [COMMITTERS] psqlodbc - psqlodbc: The lib verification of OpenSSL was added. > Log Message: > ----------- > The lib verification of OpenSSL was added. > It was confirmed in Linux. > This might correspond to the problem report of Darwin. > from Sean Davis. > Thanks! > > Modified Files: > -------------- > psqlodbc: > configure.ac (r1.57 -> r1.58) > (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/configure.ac.diff?r1=1.57&r2=1.58) > ----- Original Message ----- From: "Sean Davis" To: "Tom Lane" Cc: ; Sent: Monday, March 26, 2007 7:36 PM Subject: Re: [ODBC] [INTERFACES] ODBC for Mac OS > On Sunday 25 March 2007 22:45, Tom Lane wrote: >> Sean Davis writes: >> > I'm trying to compile psqlodbc-08.02.0200 for Mac OS. I'm getting the >> > following when I try to do that: >> > >> > 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/Users/sdavis/local/pgsql/lib >> > -lpgport -lz -lreadline -lresolv -ldl -lm -lpq >> > /usr/bin/ld: Undefined symbols: >> > _CONNLOCK_ACQUIRE >> > _CONNLOCK_RELEASE >> > _INIT_CONNLOCK >> > _SSL_get_error >> > _SSL_read >> > _SSL_write >> > _SQLGetPrivateProfileString >> > _SQLWritePrivateProfileString >> > collect2: ld returned 1 exit status >> > make[1]: *** [psqlodbcw.la] Error 1 >> >> Darwin is pickier than most other OSes about requiring that all symbols >> referenced by a shared library be defined in one or another of the >> shared libraries listed when it's linked. In this case the link command >> is clearly missing a -l switch for OpenSSL, and probably a couple other >> things. ODBC guys, can you fix this? > > Thanks, Tom. I'll see what I can work out here, but I'm a bit out of my > league. > > Sean > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend >