LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-07-2005, 11:25 PM   #1
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Cannot load /usr/lib/apache2/libphp5.so into server


Hi,

I seem to be having an issue with getting Apache working with PHP. I am using the Slackware packages from http://www.linuxpackages.net/

This is what I get when I try and start Apache;

Code:
root@krusty:/usr/lib/apache2# /etc/rc.d/rc.httpd start
Syntax error on line 5 of /etc/apache2/mod_php.conf:
Cannot load /usr/lib/apache2/libphp5.so into server: libidn.so.11: cannot open shared object file: No such file or directory
root@krusty:/usr/lib/apache2#
I went to take a look at the libphp5.so module;

Code:
root@krusty:/usr/lib/apache2# ldd libphp5.so
        linux-gate.so.1 =>  (0xffffe000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7a6a000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7a53000)
        libexslt.so.0 => /usr/lib/libexslt.so.0 (0xb7a43000)
        libhistory.so.4 => /usr/lib/libhistory.so.4 (0xb7a3c000)
        libreadline.so.4 => /usr/lib/libreadline.so.4 (0xb7a10000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb79d1000)
        libpanel.so.5 => /usr/lib/libpanel.so.5 (0xb79cd000)
        libmysqlclient.so.14 => /usr/lib/libmysqlclient.so.14 (0xb78c4000)
        libgmp.so.3 => /usr/lib/libgmp.so.3 (0xb7898000)
        libt1.so.5 => /usr/lib/libt1.so.5 (0xb7844000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb77da000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0xb77a9000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7798000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb777a000)
        libdb-4.2.so => /lib/libdb-4.2.so (0xb76a7000)
        libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0xb76a1000)
        libbz2.so.1 => /lib/libbz2.so.1 (0xb7692000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb767f000)
        libm.so.6 => /lib/libm.so.6 (0xb765c000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7657000)
        libssl.so.0 => /usr/lib/libssl.so.0 (0xb7626000)
        libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0xb7527000)
        libcurl.so.3 => /usr/lib/libcurl.so.3 (0xb74f9000)
        libidn.so.11 => not found
        libxslt.so.1 => /usr/lib/libxslt.so.1 (0xb74c7000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb73bf000)
        libc.so.6 => /lib/libc.so.6 (0xb72a2000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7250000)
        libgpm.so.1 => /lib/libgpm.so.1 (0xb724a000)
        /lib/ld-linux.so.2 (0x80000000)
        libidn.so.11 => not found
What I then tried is to download and install ftp://alpha.gnu.org/pub/gnu/libidn/libidn-0.5.9.tar.gz. It didn't seem to resolve anything.

I think this is pretty much where my problem lies. How can I get this to work?

Regards,
-Kristijan
 
Old 10-08-2005, 01:28 AM   #2
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Original Poster
Rep: Reputation: 30
Problem resolved, all I needed to do was install libidn from the 'L' series.

-Kristijan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot access `/usr/local/apache2/modules/libphp5.so' gravesb Linux - Software 13 12-02-2011 03:56 AM
Error in PHP 5.0.5 and Apache 1.3.34 - Cannot load libphp5.so jun_tuko Linux - Software 7 01-06-2008 12:12 AM
Webmin: The Apache server executable /usr/local/apache2/bin does not exist hektor Linux - Software 0 01-14-2005 07:48 AM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-29-2004 12:33 AM
Cannot load /usr/lib/apache/libphp4.so into server jmnovak Linux - General 3 07-01-2002 11:52 AM


All times are GMT -5. The time now is 10:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration