Perl DBD::Pg problem

Started by Jeffrey Melloyover 23 years ago5 messagesgeneral
Jump to latest
#1Jeffrey Melloy
jmelloy@visualdistortion.org

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
_SSL_connect
_SSL_free
_SSL_library_init
_SSL_load_error_strings
_SSL_new
_SSL_read
_SSL_set_fd
_SSL_write
_SSLv23_method
t/00basic...........dubious
Test returned status 0 (wstat 5, 0x5)
t/01connect.........skipped test on this platform
....

Any help would be appreciated.
=======================
Jeffrey Melloy
jmelloy@visualdistortion.org

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

#2Francois Suter
francois@monpetitcoin.com
In reply to: Jeffrey Melloy (#1)
Re: Perl DBD::Pg problem

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"

#3Francois Suter
dba@paragraf.ch
In reply to: Jeffrey Melloy (#1)
Re: Perl DBD::Pg problem

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"

#4Jeffrey Melloy
jmelloy@visualdistortion.org
In reply to: Francois Suter (#2)
Re: Perl DBD::Pg problem

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

#5Jeffrey Melloy
jmelloy@visualdistortion.org
In reply to: Francois Suter (#2)
Re: Perl DBD::Pg problem

Yes, I eventually got it to compile with these directions. Thanks.
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"

---------------------------(end of
broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to
majordomo@postgresql.org)

=======================
Jeffrey Melloy
jmelloy@visualdistortion.org

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