Re: Perl DBD::Pg problem

From: Jeffrey Melloy <jmelloy(at)visualdistortion(dot)org>
To: Francois Suter <francois(at)monpetitcoin(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Perl DBD::Pg problem
Date: 2002-10-24 14:50:08
Message-ID: E39F0FDA-E75F-11D6-92AF-003065D0EE96@visualdistortion.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adding -lssl to POSTGRES_LIB didn't seem to work, but adding it to the
LIB variable in Makefile.PL did.

Thanks.

Jeff
On Thursday, October 24, 2002, at 04:32 AM, Francois Suter wrote:

>> 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"
>
>
=======================
Jeffrey Melloy
jmelloy(at)visualdistortion(dot)org

http://www.visualdistortion.org
http://www.platformers.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stan Letovsky 2002-10-24 14:59:10 supplying password to psql on command line?
Previous Message Robert Treat 2002-10-24 14:42:00 Re: Hot Backup