Compdigitec Labs

« | Home | »

Solving svn: /opt/lampp/lib/libcrypto.so.0.9.8: no version information available

By admin | August 4, 2009

If you are using WebSVN with XAMPP for Linux, you may find that when you try to invoke the svn binary, an error will occur when you try to browse a repository.

/usr/bin/svn: /opt/lampp/lib/libcrypto.so.0.9.8: no version information available

/usr/bin/svn: /opt/lampp/lib/libcrypto.so.0.9.8: no version information available

This error arises as a result of Apachefriends’ decision to strip all statically linked libraries’ symbols (debugging and version). As a result, when another library on the system (like here, here, here, here and even here), even if invoked from another program,which in this case happens to be svn, attempts to load symbols from the “stripped” library, they are not able to find it and throw an error. This error does not occur if executed outside the web server because the default shell PATHs are different.

Note that the following instructions will only work if you have access to non-stripped versions of libcrypto and libssl (openssl). If you need a place to look, a good place would be Ubuntu Packages.

Instructions

  1. You need to make sure you have shell access to the server in question. Open a shell on the server and navigate to /opt/lampp/lib. (cd /opt/lampp/lib)
  2. Move aside the static libcrypto.so.0.9.8 (sudo mv libcrypto.so.0.9.8 libcrypto.so.0.9.8.bak).
  3. Similarly to above, move aside the static libssl.so.0.9.8 (sudo mv libssl.so.0.9.8 libssl.so.0.9.8.bak).
  4. Link the unstripped libcrypto.so.0.9.8 to replace the moved libcrypto (sudo ln -s /usr/lib/libcrypto.so.0.9.8 ./)
  5. Copy the unstripped libssl.so.0.9.8 to replace the moved libssl (sudo ln -s /usr/lib/libssl.so.0.9.8 ./)
  6. Reboot the XAMPP Apache server (sudo /opt/lampp/lampp restart)

If you found this article helpful or useful, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful or interesting articles!

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Linux | 8 Comments »

8 Responses to “Solving svn: /opt/lampp/lib/libcrypto.so.0.9.8: no version information available”

  1. Jake Says:
    August 31st, 2009 at 11:20 am

    Wow thanks! Worked great for the most part, although linking to the un-stripped library broke ProFTPD. I get this error now:

    XAMPP: Starting ProFTPD…
    XAMPP: - mod_tls/2.1.2: compiled using OpenSSL version ‘OpenSSL 0.9.8h 28 May 2008′ headers, but linked to OpenSSL version ‘OpenSSL 0.9.8g 19 Oct 2007′ library - Fatal: unable to load module ‘mod_tls.c’: Operation not permitted

  2. admin Says:
    September 1st, 2009 at 8:45 am

    @Jake:

    As an alternative, you could just go and install a standard ProFTPd from the repository (sudo apt-get install proftpd) and just skip the XAMPP ProFTPd :).

  3. Fer Says:
    November 26th, 2009 at 1:40 am

    Thank you it worked perfect!

  4. youcef Says:
    August 26th, 2010 at 11:37 am

    Thanks works great, I has a problem in USVN project and WEBSVN. I fixed these problems by yours awesome linux commands . thanks so much

  5. Gyurka Says:
    September 1st, 2010 at 8:08 am

    Thank you very much! It helped me a lot with Zend Server because I had the same problem.

  6. Rinu Says:
    December 26th, 2010 at 8:18 am

    You are a god!
    Thank you so much, I struggle with this issue since using Ubuntu 10.10 and even if I was aware that it was link-related, I wasn’t sure how to do it.

  7. Shahid Says:
    April 7th, 2011 at 4:43 am

    I’m trying to install subversion-1.6.16 with xampp-linux-1.7.4 in Centos 5.5. with following command.
    “./configure -with-apr=/opt/lampp/bin/apr-1-config -without-berkeley -with-apxs=/opt/lampp/bin/apxs”

    I’m getting this error.
    “”httpd: Syntax error on line 123 of /opt/lampp/etc/httpd.conf: Cannot load /opt/lampp/modules/mod_dav_svn.so into server: /usr/lib/libsvn_fs_base-1.so.0: undefined symbol: db_create””

    Can you help me regarding this issue?

  8. YaKhOo Says:
    May 17th, 2011 at 12:38 pm

    hello im having similar issu with metasploit framwork 3.7 ,
    the error output is (ubuntu 10.04 derivat BT5) :
    ___
    svn: /opt/framework3/lib/libssl.so.0.9.8: no version information available (required by /opt/framework3/lib/libserf-0.so.0)
    svn: /opt/framework3/lib/libcrypto.so.0.9.8: no version information available (required by /opt/framework3/lib/libserf-0.so.0)
    ____
    is there a chance to fix my error if i just replace lamp by Msf i mean the PATH on my systeme

    im gonna try hope fix it :p

Comments