Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4AA4A476243 for ; Fri, 20 Sep 2002 09:19:10 -0400 (EDT) Received: from mailhub2.sghms.ac.uk (firewall.sghms.ac.uk [194.82.50.2]) by postgresql.org (Postfix) with ESMTP id 7D94247605C for ; Fri, 20 Sep 2002 09:19:09 -0400 (EDT) Received: from [194.82.51.24] (helo=imail) by mailhub2.sghms.ac.uk with esmtp (Exim 4.05) id 17sNfE-0001xm-00; Fri, 20 Sep 2002 14:17:44 +0100 Received: from [172.16.20.3] (mrc1-003.sghms.ac.uk [172.16.20.3]) by imail.sghms.ac.uk (iPlanet Messaging Server 5.1 HotFix 0.7 (built May 7 2002)) with ESMTPA id <0H2Q0033TNM5A4@imail.sghms.ac.uk>; Fri, 20 Sep 2002 14:18:05 +0100 (BST) Date: Fri, 20 Sep 2002 14:18:10 +0100 From: Adam Witney Subject: Re: Connecting R to PostgreSQL In-reply-to: <2075.1032028213@sss.pgh.pa.us> To: Tom Lane , Adam Witney Cc: pgsql-interfaces Message-id: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT User-Agent: Microsoft-Entourage/10.1.0.2006 X-MailScanner: Found to be clean X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/64 X-Sequence-Number: 3125 On 14/9/02 7:30 pm, "Tom Lane" wrote: > Adam Witney writes: >> The driver installs ok, however when I try to load it in R I get the >> following error > >>> library(Rdbi.PgSQL) >> Error in dyn.load(x, as.logical(local), as.logical(now)) : >> unable to load shared library "/Users/adam/Projects/R >> stuff/rlibs/Rdbi.PgSQL/libs/Rdbi.PgSQL.so": >> dlcompat: dyld: /sw/lib/R/bin/R.bin Undefined symbols: >> _ERR_get_error >> _ERR_reason_error_string >> _SSL_CTX_new >> _SSL_connect >> _SSL_free >> _SSL_library_init > > It looks like the dynamic loader is failing to find the SSL library > (libssl.so), which is required by your PG client library. I don't know > enough about OSX to know how library searching is handled, but on other > Unixen you'd need to mess with ldconfig or LD_LIBRARY_PATH ... or > perhaps easier, put libssl.so into a more standard location than > wherever it is now. > > Alternatively, you could rebuild PG omitting SSL support. Hmm, I downloaded the non ssl version of postgresql from fink. Again fink does all the compiling so I am not sure how it did it. Is there a way of testing for sure if the ssl was or not compiled in? Thanks adam