SSL ques

Started by zab08over 15 years ago3 messagesgeneral
Jump to latest
#1zab08
zab08@126.com

when I install sysbench-0.4.8, after the make command:

/usr/bin/ld: warning: libssl.so.6, needed by /opt/PostgreSQL/9.0/lib/libpq.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcrypto.so.6, needed by /opt/PostgreSQL/9.0/lib/libpq.so, not found (try using -rpath or -rpath-link)
/opt/PostgreSQL/9.0/lib/libpq.so: undefined reference to `TLSv1_method'
/opt/PostgreSQL/9.0/lib/libpq.so: undefined reference to `SSL_set_ex_data'
/opt/PostgreSQL/9.0/lib/libpq.so: undefined reference to `SSL_connect'
......

I install PostgreSQL by enterDB's not from source code?

how to solve this problem?

#2Dmitriy Igrishin
dmitigr@gmail.com
In reply to: zab08 (#1)
Re: SSL ques

Hey,

Sounds like you does not have SSL library installed.
Try to install, for example, OpenSSL first and then try
to build you software.

2010/12/12 zab08 <zab08@126.com>

when I install sysbench-0.4.8, after the make command:

/usr/bin/ld: warning: libssl.so.6, needed by
/opt/PostgreSQL/9.0/lib/libpq.so, not found (try using -rpath or
-rpath-link)
/usr/bin/ld: warning: libcrypto.so.6, needed by
/opt/PostgreSQL/9.0/lib/libpq.so, not found (try using -rpath or
-rpath-link)
/opt/PostgreSQL/9.0/lib/libpq.so: undefined reference to `TLSv1_method'
/opt/PostgreSQL/9.0/lib/libpq.so: undefined reference to `SSL_set_ex_data'
/opt/PostgreSQL/9.0/lib/libpq.so: undefined reference to `SSL_connect'
......

I install PostgreSQL by enterDB's not from source code?

how to solve this problem?

------------------------------
网易163/126邮箱百分百兼容iphone ipad邮件收发<http://help.163.com/special/00753VB9/126mail_adv_guide.html?id=2840&gt;

--
// Dmitriy.

#3zab08
zab08@126.com
In reply to: Dmitriy Igrishin (#2)
Re: SSL ques

thank you, I install postgres from source, and use --with-openssl.