Re: Perl DBD::Pg problem

From: Francois Suter <dba(at)paragraf(dot)ch>
To: Jeffrey Melloy <jmelloy(at)visualdistortion(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Perl DBD::Pg problem
Date: 2002-10-24 09:39:21
Message-ID: B9DD8C69.2014%dba@paragraf.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Hey, I"m attempting to build the Perl module DBD::Pg on Mac OS X 10.2.1
> and having trouble.
> When I run 'make test' I get the following error:
> t/00basic...........dyld: /usr/bin/perl Undefined symbols:
> _ERR_get_error
> _ERR_reason_error_string
> _SSL_CTX_new
> [snip]

I had a similar problem and got the following answer from Mark Liyanage
(http://www.entropy.ch/)

[quote]

Hi there,

Did you compile your DBD:Pg module yourself?
That means you had to set these, right?

setenv POSTGRES_INCLUDE /usr/local/pgsql/include
setenv POSTGRES_LIB /usr/local/pgsql/lib

Now it seems that you have to do this instead for the second line:

setenv POSTGRES_LIB '/usr/local/pgsql/lib/ -lssl'

I had this problem too, worked for me...

Cheers

-Marc

[quote]

Hope this helps.

--------
François

Home page: http://www.monpetitcoin.com/
"A fox is a wolf who sends flowers"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tommi Maekitalo 2002-10-24 10:06:12 Re: LDAP authentication
Previous Message Francois Suter 2002-10-24 09:32:11 Re: Perl DBD::Pg problem