Matthew Bachmann wrote:
> 
> I'm trying to run an openssh binary on my solaris box that I
> downloaded from sunfreeware.com.  I also downloaded and installed the
> precompiled openssl-0.9.6 package.  Openssl seems to work fine.  When
> I try to run openssh though, I get the following error:
> 
> fatal: relocation error: file /usr/local/ssl/lib/libcrypto.so.0.9.6:
> symbol main: referenced symbol not found
> 
> Does this mean that the openssl library can't find a dependency, or
> is this just an openssh problem using the openssl library?  Any help
> sorting this out would be greatly appreciated.

Well, there probably is no shared lib with that name.

If there is a shared lib, such as /usr/local/ssl/lib/libcrypto.so
then make a symbolic link ln -s libcrypto.so libcrypto.so.0.9.6
(assuming that's the version you've installed)

If there is no shared lib, and you have GCC installed, try

cd /usr/local/ssl/lib
mkdir tmplib
cd tmplib
ar -x ../libcrypto.a
cd ..
gcc -G -o libcrypto.so tmplib/*
rm -f tmplib
ln -s libcrypto.so libcrypto.so.0.9.6

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to