Page 1 of 1

Fehler bei Install von suPHP

Posted: 2005-03-26 16:23
by sven-reichelt
Bei meiner Installation von suPHP kommt folgender Fehler:

gcc -shared -o mod_suphp.so mod_suphp.o -Wc,-g -O2 -lc -lm -lcrypt -ldb1 -ldb -lexpat
/usr/bin/ld: cannot find -ldb1
collect2: ld returned 1 exit status
apxs:Break: Command failed with rc=1
make[2]: *** [suphp.mod] Error 1
make[2]: Leaving directory `/root/suphp-0.5.2/src/apache'
make[1]: *** [suphp.mod] Error 2
make[1]: Leaving directory `/root/suphp-0.5.2/src'
make: *** [all] Error 2


Weiß jemand wie ich das mit ldb1 behebe?

Debian Woody
Apache 1.3.26
PHP 4.3.10

Beste Grüße,
Sven Reichelt

Re: Fehler bei Install von suPHP

Posted: 2005-03-26 16:36
by superuser1
Hi...

apt-get install libdb1-altdev

:roll:

Re: Fehler bei Install von suPHP

Posted: 2005-03-26 23:10
by sven-reichelt
Hm, bei mir soll bei der Install folgendes entfernt werden:

snowflake:~# apt-get -u install libdb1-altdev Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
ldso libc5 libc5-altdev libdb1
The following packages will be REMOVED:
apache-dev g++ g++-2.95 libc6-dev libexpat1-dev libstdc++2.10-dev
The following NEW packages will be installed:
ldso libc5 libc5-altdev libdb1 libdb1-altdev
0 packages upgraded, 5 newly installed, 6 to remove and 0 not upgraded.
Need to get 1476kB of archives. After unpacking 8831kB will be freed.
Do you want to continue? [Y/n]

Brauche ich das nicht noch?

Re: Fehler bei Install von suPHP

Posted: 2005-03-27 09:50
by Joe User
sven-reichelt wrote:Brauche ich das nicht noch?
Du brauchst die Packete noch, es sei denn, Du willst das System neu aufsetzen ;)

Re: Fehler bei Install von suPHP

Posted: 2005-03-27 13:56
by superuser1
Hi...

dann probiers doch mal mit dem 'normalen' libdb1-Paket...

:roll:

Re: Fehler bei Install von suPHP

Posted: 2005-03-28 14:28
by sven-reichelt
Hm, also das mit dem 'normalen' libdb1 hat geklappt.

Jedoch kommt immer noch:

Code: Select all

/usr/bin/ld: cannot find -ldb1
collect2: ld returned 1 exit status
apxs:Break: Command failed with rc=1
make[2]: *** [suphp.mod] Error 1
make[2]: Leaving directory `/root/suphp-0.5.2/src/apache'
make[1]: *** [suphp.mod] Error 2
make[1]: Leaving directory `/root/suphp-0.5.2/src'
make: *** [all] Error 2
Was nun?
Will mich das System veräppeln?

Re: Fehler bei Install von suPHP

Posted: 2005-03-28 16:01
by Joe User

Code: Select all

>/etc/ld.so.cache
/sbin/ldconfig
Wenn Obiges nicht hilft:

Code: Select all

cat /etc/ld.so.conf

Re: Fehler bei Install von suPHP

Posted: 2005-03-28 21:51
by sven-reichelt
Hier die Ausgabe von cat /etc/ld.so.conf

snowflake:~/suphp-0.5.2# cat /etc/ld.so.conf
/usr/X11R6/lib

/usr/lib/libc5-compat
/lib/libc5-compat
/usr/i486-linuxlibc1/lib

Also das erste half nix.

Re: Fehler bei Install von suPHP

Posted: 2005-03-29 20:23
by sven-reichelt
Weiß den keiner ne Lösung?