You must also verify that the library is in the library search path. In
Solaris 8, LD_LIBRARY_PATH is no longer recomended. The supported
library search tool is a program called crle.
Use the man page to determine the syntax, but at the end of the day,
/usr/local/ssl/lib will need to be in the path
Ryan
Michael Sierchio wrote:
> 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]
>
>
--
===============================================================
Ryan Matthews
Technical Analyst
CAC Computers and Communications Inc
E-mail: [EMAIL PROTECTED]
Tel: (604) 872-7327 x123, Fax: (604) 872-4264
" e - v o l v i n g y o u r b u s i n e s s (tm)"
---------------------------------------------------------------
The nice thing about standards is that there are so many to
choose from. And if you really don't like all the standards you
just have to wait another year until the one arises you are
looking for.
-- A. Tanenbaum, `Introduction to Computer Networks'
===============================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]