Re: Two build problems - openssl and plperl on RedHat

From: Christopher Murtagh <christopher(dot)murtagh(at)mcgill(dot)ca>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: "'PostgreSQL General'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Two build problems - openssl and plperl on RedHat
Date: 2003-11-10 20:26:38
Message-ID: 1068495998.348.29.camel@brahma.wcg.mcgill.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Christopher Browne 2003-11-10 20:40:34 Re: [off-topic] Bugtracker using PostgreSQL
Previous Message Martin Marques 2003-11-10 20:26:30 Re: [off-topic] Bugtracker using PostgreSQL