Problem mit libphp4.so und libsablot.so.0

Alles, was den Apache betrifft, kann hier besprochen werden.

Problem mit libphp4.so und libsablot.so.0

Postby LAMPe_0815 » 28. November 2005 13:03

Hallo,
wenn ich meinen Apache starten will bekomme ich die Fehlermeldung:

Syntax error on line 9 of /etc/httpd/suse_loadmodule.conf:
Cannot load /usr/lib/apache/libphp4.so into server: libsablot.so.0: cannot open shared object file: No such file or directory
/usr/sbin/apachectl start: httpd could not be started

Irgendwie hakt er da mit dem php ein, oder?

Offensichtlich fehlt die libsablot.so.0. Die würde ich gerne nachinstallieren, nur wie und woher nehmen?

/usr/lib/apache> ldd /usr/lib/apache/libphp4.so
libsablot.so.0 => not found
Auch ein find ... usw. libsablot.so.0 ist ergebnislos....
Wer kann mir da weiterhelfen.
Vielen Dank für Hinweise.

Ich benutze SuSE 8.0
Apache/1.3.23 (Unix)
PHP 4.3.1 (cgi)
Zend Engine v1.3.0
upgrades schafft mein langsamer PC eher nicht mehr.... deshalb bitte Hinweise wie ich mit dem gegebenen weiterkommen kann.

Ich habe Perl:
v5.6.1 built for i586-linux
php:
php -v PHP 4.3.1 (cgi), Copyright (c) 1997-2002 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
[PHP Modules]ctype mysql overload pcre posix session standard tokenizer xml
[Zend Modules]

Ich hatte
httpd-2.0.40.tar.gz
mysql-3.23.52.tar.gz
php-4.3.1.tar.gz
pdflib-4.0.3.tar.gz
mod_perl-1.99_05.tar.gz
entpackt in /usr/local/src/lamp.
-------------------------------
MySQL habe ich wie folgt im Verzeichnis /usr/local/src/lamp/mysql/3.23.52 konfiguriert:
./configure --prefix=/usr/local/mysql/3.23.52
--localstatdir=/var/mysql/data
make
make install
Folgende Links wurden erzeugt:
ln -s /usr/local/mysql/3.23.52 /usr/local/mysql/current
mkdir /var/mysql
mkdir /var/mysql_data
scripts/mysql_install_db
/usr/local/mysql/current/bin/safe_mysqld &
/usr/local/mysql/current/bin/mysqladmin -u root passwort 'xyz'
Für den Autostart wurde folgendes eingetragen:
cp support-files/mysql.server /etc/rc.d/init.d
chmod 744 /etc/rc.d/init.d/mysql.server
ln -s /etc/rc.d/init.d/mysql.server /etc/rc.d/rc2.d
K20mysql.server
ln -s /etc/rc.d/init.d/mysql.server /etc/rc.d/rc2.d
K20mysql.server
ln -s /etc/rc.d/init.d/mysql.server /etc/rc.d/rc3.d
K20mysql.server
ln -s /etc/rc.d/init.d/mysql.server /etc/rc.d/rc3.d
K20mysql.server
---------------------------------
Apache wurde wie folgt installiert:
cd /usr/local/src/lamp/httpd-2.0.40
./configure ----prefix=/usr/local/apache2/2.0.40 -enable-modules=all --enable-so
make
make install
ln -s /usr/local/apache2/2.0.40 /usrlocal/apache2/current
Für den Autostart:
cp /usr/local/apache2/current/bin/apachectl /etc/rc.d/init.d/httpd
ln -s /etc/rc.d/init.d/httpd2 /etc/rc.d/rc2.d/S20httpd2
ln -s /etc/rc.d/init.d/httpd2 /etc/rc.d/rc2.d/K20httpd2
ln -s /etc/rc.d/init.d/httpd2 /etc/rc.d/rc3.d/S20httpd2
ln -s /etc/rc.d/init.d/httpd2 /etc/rc.d/rc3.d/K20httpd2
in der Datei /usr/local/apache2/current/conf/httpd.conf wird die Zeile
DirectoryIndex index.html ergänzt zu
DirectoryIndex index.html index.htm index.php index.pl index.cgi
anschließend noch:
chown -R nobody:nobody /usr/local/apache2/htdocs
-------------------------------------
pdf-Library wurd wie folgt installiert:
cd /usr/local/src/lamp/pdflib-4.0.3
./configure --with-shared-pdflib --enable-cxx
make
make test
make install
dann noch Änderung der Datei ld.so.conf:
gegebenenfalls die Zeile /etc/local/lib einfügen
zu Schluß:
/sbin/ldconfig
---------------------------------------
php wurde so installiert:
cd /usr/local/src/lamp/php-4.3.1
./configure
--with-apx2=/usr/local/apache2/current/bin/apxs
--with-mysql=/usr/local/mysql/current
--with-pdflib=/usr/local/
--with-zlib-dir=/usr/lib/
--enable-versioning
--enable-track-vars=yes
--enable-url-includes
--enables-trans-sid
--enable-sysvshm=yes
--enable-sysvsem=yes
--enable-ftp
--with-config-file-path=/etc
--with-gd
make
make install
Kopie der optionalen Konfigurationsdatei:
cp /urs/local/src/lamp/php-4.3.1/php.ini-dist /etc/php.ini
zuletzt Apache Konfiguration:
in der Datei /usr/local/apache2/current/conf/httpd.conf
einfügen:
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
------------------------------
phpMyAdmin "installieren":
hier sollte es reichen die Datei phpMyAdmin-2.2.0-php.tar.gz in das Verzeichnis
/usr/local/apache2/current/htdocs/phpmyadmin zu entpacken. Startbar soll es durch
den Aufruf http://localhost/phpmyadmin sein.
LAMPe_0815
 
Posts: 2
Joined: 28. November 2005 12:33

Return to Apache

Who is online

Users browsing this forum: No registered users and 36 guests