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@visualdistortion.org
http://www.visualdistortion.org
http://www.platformers.com