Re: [Crypt::SSLeay] compile problems on Solaris

[email protected] (Reinier Post)
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
On Wed, Nov 23, 2005 at 11:31:06AM +0100, Barden, Tino wrote:
> Hello,
> 
> I have tried to compile Crypt-SSLeay-0.51 on a Solaris 9 machine and got the following errors:
> 
> UZKT3 # perl Makefile.PL
> Found OpenSSL (version OpenSSL 0.9.8) installed at /usr/local/ssl
> Which OpenSSL build path do you want to link against? [/usr/local/ssl] 

[...]

> LD_RUN_PATH="/usr/local/ssl/lib" gcc  -G -L/usr/local/lib SSLeay.o  -o blib/arch/auto/Crypt/SSLeay/SSLeay.so   -L/usr/local/ssl/lib -lssl -lcrypto -lgcc   

The problem with compiling on Solaris is usually that a -R<dir> has to be inserted for
every -L<dir>.  So I'd guess hat inserting a -R/usr/local/lib on the gcc command line
would fix the problem in your case.

-- 
Reinier
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.