Problem with Undefined symbol "ERR_load_RSAREF_strings"

Problem with Undefined symbol "ERR_load_RSAREF_strings"

Post by Kai Schaetz » Thu, 03 Aug 2000 04:00:00



After uninstalling Plesk (www.plesk.com, a web administrative
interface which installs its own versions of mysql, apache, proftpd
and stunnel I get suddenly this message when I want to start up
Webmin:

/usr/local/etc/webmin-0.80# /usr/libexec/ld-elf.so.1:
/usr/local/lib/libcrypto.so.1: Undefined symbol
"ERR_load_RSAREF_strings"

I reinstalled SSLeay and then Webmin withOUT SSLeay support to get
rid of any use of OPenSSL and RSAREF but this didn't solve the
problem (libcrypt.so.1 belongs to OpenSSL, I think, and Webmin uses
Openssl via SSLeay for https connections).

I compared the above-mentioned two libs with another FreeBSD
3.3-system and they are exactly the same (at least what you can with
ls -l).

Any hints how I can correct this? Reinstall OpenSSL?

Kai

--

Conactive Internet Services, Berlin, Germany

 
 
 

Problem with Undefined symbol "ERR_load_RSAREF_strings"

Post by Nick Hilliar » Thu, 03 Aug 2000 04:00:00



> After uninstalling Plesk (www.plesk.com, a web administrative
> interface which installs its own versions of mysql, apache, proftpd
> and stunnel I get suddenly this message when I want to start up
> Webmin:

> /usr/local/etc/webmin-0.80# /usr/libexec/ld-elf.so.1:
> /usr/local/lib/libcrypto.so.1: Undefined symbol
> "ERR_load_RSAREF_strings"

This sounds like a hack to get around the the USA/non-USA messing around with
the RSA libraries.  

Quote:> I reinstalled SSLeay and then Webmin withOUT SSLeay support to get
> rid of any use of OPenSSL and RSAREF but this didn't solve the
> problem (libcrypt.so.1 belongs to OpenSSL, I think, and Webmin uses
> Openssl via SSLeay for https connections).

libcrypt is part of the base FreeBSD system and is used for the DES and MD5
crypt() implementations.  It's not related to libcrypto.

Quote:> I compared the above-mentioned two libs with another FreeBSD
> 3.3-system and they are exactly the same (at least what you can with
> ls -l).

The "cmp" command is better for comparing files like this.

Quote:> Any hints how I can correct this? Reinstall OpenSSL?

Whatever application you're using appears to linked to libcrypto, which means
that one way or another you need openssl.  The trick is to get openssl to use
RSA, because either your current version of openssl doesn't have RSA compiled
in, or else it's compiled as a separate library.  Have you run "ldd" on the
executable which is giving this error to find out what libraries it expects to
see?

FreeBSD 4.1 has this sorted out a little better.

Nick

 
 
 

Problem with Undefined symbol "ERR_load_RSAREF_strings"

Post by Doug Perha » Thu, 03 Aug 2000 04:00:00


It seems that I've run into this missing symbol before in building
openssh.  I remember having to build security/rsaref. then when linking,
the following two libraries had to be added AFTER the -lcrypto

 -lRSAglue -lrsaref

In looking in the ports now, i see in the makefile for security/openssh
the following

CRYPTOLIBS=     -L${OPENSSLLIB} -lcrypto
.if defined(OPENSSL_RSAREF)
CRYPTOLIBS+=    -lRSAglue -L${LOCALBASE}/lib -lrsaref
.endif

so it looks like you could do "make -DOPENSSL_RSAREF"

Although it's not directly related to Plesk, I hope this helps some.

--
Doug Perham                                          o{..}o    

WorldGate Communications, Inc.                        (______)\
                                                      / \  / \  

 
 
 

Problem with Undefined symbol "ERR_load_RSAREF_strings"

Post by Kai Schaetz » Fri, 04 Aug 2000 04:00:00


Thanks for the answers, I couldn't get them from my newsserver, my
provider seems
to have problems getting the feed each of the few times I post a
question here :-(
So, I read them via Dejanews.

Quote:> libcrypt is part of the base FreeBSD system and is used for the DES

and MD5 crypt(),
implementations.  It's not related to libcrypto.

Ahm, sorry, yes, this was a typo.

Quote:

> > I compared the above-mentioned two libs with another FreeBSD
> > 3.3-system and they are exactly the same (at least what you can
with
> > ls -l).

> The "cmp" command is better for comparing files like this.

Thanks for the tip, going to try this out today.

Quote:

> > Any hints how I can correct this? Reinstall OpenSSL?

> Whatever application you're using appears to linked to libcrypto,

which means that
one way or another you need openssl.

The thing is I *have* Openssl installed. It looks like uninstalling
Plesk hosed this
somehow (it installs it's own Openssl and Openssh, if I remember it
right, but below it's home directory which
is /usr/local/plesk, so I'm wondering why that interfers). Before
that I was able to
install Webmin with SSLeay support without a problem (I had only some
problems with
SSLeay not finding the Openssl path but that was resolved easily once
knowing that
it didn't want the complete path to it). Then I installed Plesk, then
removed it after evaluation and suddenly Webmin stops with this
error.
I haven't checked if Openssl itself is still working but possibly
it's broken as well.
SSH works, though, doesn't seem to use Openssl.

Have you run "ldd" on the executable which is
giving this error to find out what libraries it expects to see?

Another tip, thanks. Checking this out in the evening as well. If
those two sources
of information don't help me I guess it's best to remove the Openssl
port and install
it again.

Thanks so far!

Kai

--

Conactive Internet Services, Berlin, Germany

 
 
 

1. What does "Undefined symbol "_glXMakeCurrent" mean?

Hi,
I have problems running the binary lyx-1.1.2 pkg on a 425t. First I had
to
trick pkg_add because the lyx pkg says it wants teTeX-1.0.6 and nothing
else but the available version is 1.0.7. When I start lyx I only get:

     /usr/libexec/ld.so:Undefined symbol "_glXMakeCurrent" in
     lyx:/usr/X11R6/lib/libforms.so.0.88

What is the villain? lyx,xforms-0.88 or ld.so?

I am using a freshly installed NetBSD-1.4.2 without xfont.tgz and
xserver.tgz. XServer is a Mac running MI/X.
I hope someone can help me.

                                Regards, Torsten

2. Good realtime chat program and chat boards for Unix WWW server?

3. GETSERVBYNAME()????????????????????"""""""""""""

4. connect to ISP pop3 server using MS proxy?

5. "undefined symbol" problem

6. Microsoft Intellimouse Optical

7. Savage 3D: Problem "__register_frame_info" undefined symbol

8. CyberChat // CyberChat // CyberChat // CyberChat // CyberChat

9. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

10. tdb_link error: "cg: cannot calculate difference between symbol ".L1 and symbol"

11. /usr/sbin/pkg_create: Undefined symbol "basename"

12. ps command yields "ld.so: Undefined symbol: _kvm_read"