472,353 Members | 1,178 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

Two build problems - openssl and plperl on RedHat

Greetings,

I'm trying to build 7.3.4 and I've come across two problems, one during
the configure and the other afterward.

Problem 1)

Trying to build with openssl support gives this:

../configure --with-openssl --enable-odbc --with-perl --enable-multibyte

....
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error: header file <openssl/ssl.h> is required for OpenSSL

[root@brahma postgresql-7.3.4]# locate openssl/ssl.h
/usr/include/openssl/ssl.h

I've tried many flavors of --with-openssl=/usr/include but with no luck.

I've removed the --with-openssl, because it isn't needed immediately,
and everything configured and compiled fine.

2) I cannot figure out how to createlang plperl and plperlu. I'm getting
this message:

[postgres@brahma postgres]$ /usr/local/pgsql/bin/createlang plperlu chris
ERROR: Load of file /usr/local/pgsql/lib/plperl.so failed: libperl.so: cannot open shared object file: No such file or directory
createlang: language installation failed

The INSTALL docs state that I must have a full install of Perl (which I
do: perl-5.8.0 via RedHat's rpm) and that it Postgres won't be able to
compile if it isn't a shared object. Since Postgres compiled, can I
assume that the Perl install is ok?

My machine is a P4 running RedHat 9.0. Any info would be greatly
appreciated.

Cheers,

Chris

--
Christopher Murtagh
Enterprise Systems Administrator
ISR / Web Communications Group
McGill University
Montreal, Quebec
Canada

Tel.: (514) 398-3122
Fax: (514) 398-2017

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

Nov 12 '05 #1
2 5168
Christopher Murtagh writes:
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error: header file <openssl/ssl.h> is required for OpenSSL
Check the config.log file.
[postgres@brahma postgres]$ /usr/local/pgsql/bin/createlang plperlu chris
ERROR: Load of file /usr/local/pgsql/lib/plperl.so failed: libperl.so: cannot open shared object file: No such file or directory
createlang: language installation failed


This is an error message of the run-time loader. Perhaps you need to
tweak /etc/ld.so.conf or set LD_LIBRARY_PATH.

--
Peter Eisentraut pe*****@gmx.net
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #2
Awesome! Thanks for the fast response. Both of your answers lead to me
finding the solution. For anyone in the same boat, here they are:
On Mon, 2003-11-10 at 14:00, Peter Eisentraut wrote:
Christopher Murtagh writes:
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error: header file <openssl/ssl.h> is required for OpenSSL


Check the config.log file.


It turns out that this is a problem with RedHat and Kerberos and not
just openssl. I had the same problem with building php and needed to add
a compiler flag.

The config.log had error messages like:
/usr/include/openssl/kssl.h:134: parse error before "krb5_enctype"
[postgres@brahma postgres]$ /usr/local/pgsql/bin/createlang plperlu chris
ERROR: Load of file /usr/local/pgsql/lib/plperl.so failed: libperl.so: cannot open shared object file: No such file or directory
createlang: language installation failed


This is an error message of the run-time loader. Perhaps you need to
tweak /etc/ld.so.conf or set LD_LIBRARY_PATH.


Modified ld.so.conf to add the following two lines:

/usr/local/pgsql/lib
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE

and then ran ldconfig.

Thanks again for the help!

Cheers,

Chris

--
Christopher Murtagh
Enterprise Systems Administrator
ISR / Web Communications Group
McGill University
Montreal, Quebec
Canada

Tel.: (514) 398-3122
Fax: (514) 398-2017

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Skip Montanaro | last post by:
I'm trying to build the released version of Python 2.3 on Solaris 8 for the first time. It has problems when building _ssl.so. The command...
6
by: Gianni Mariani | last post by:
Before I go deep into this - does anyone have the quick fix for this ? Some facts - the 7.3.4 version of plperl.c has the same errors in the 7.4...
0
by: Her Royal Highness Cleopatra Silvercat | last post by:
I just learned that the version of OpenSSL I'm running (on a RedHat EL) server has some vulnerabilities that I'd like to close. I'm running PHP...
2
by: Dan M | last post by:
I just learned that the version of OpenSSL I'm running (on a RedHat EL) server has some vulnerabilities that I'd like to close. I'm running PHP...
2
by: John Nagle | last post by:
Trying to build M2Crypto on a dedicated server running Red Hat Fedora Core 6. I'm trying to do this right, without manual patching. The error...
0
by: Yannick | last post by:
Hi, I'm Julien from France, We have recently install a new Web Server for my company The server is composed : - Linux RedHat RHEL4 U4 -...
0
by: Darrin Thompson | last post by:
I've been trying to build pyOpenSSL on Windows with Visual Studio 2003. I've hit the message below: building 'OpenSSL.SSL' extension creating...
4
by: Patrick | last post by:
Hello, I'm currently trying the OpenSSL Library, but I got some problems. I want to create a server and client application that communicate...
7
by: John Nagle | last post by:
Back in March, I posted this: That was for M2Crypto 0.17. It's still broken in M2Crypto 0.18. And there's no RPM or Windows binary. ...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.