Fehler bei Install von suPHP

Apache, Lighttpd, nginx, Cherokee
Post Reply
sven-reichelt
Posts: 92
Joined: 2003-04-25 15:08
 

Fehler bei Install von suPHP

Post 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
superuser1
Posts: 291
Joined: 2003-11-26 18:43
Location: earth
 

Re: Fehler bei Install von suPHP

Post by superuser1 »

Hi...

apt-get install libdb1-altdev

:roll:
sven-reichelt
Posts: 92
Joined: 2003-04-25 15:08
 

Re: Fehler bei Install von suPHP

Post 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?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Fehler bei Install von suPHP

Post 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 ;)
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
superuser1
Posts: 291
Joined: 2003-11-26 18:43
Location: earth
 

Re: Fehler bei Install von suPHP

Post by superuser1 »

Hi...

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

:roll:
sven-reichelt
Posts: 92
Joined: 2003-04-25 15:08
 

Re: Fehler bei Install von suPHP

Post 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?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Fehler bei Install von suPHP

Post by Joe User »

Code: Select all

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

Code: Select all

cat /etc/ld.so.conf
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
sven-reichelt
Posts: 92
Joined: 2003-04-25 15:08
 

Re: Fehler bei Install von suPHP

Post 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.
sven-reichelt
Posts: 92
Joined: 2003-04-25 15:08
 

Re: Fehler bei Install von suPHP

Post by sven-reichelt »

Weiß den keiner ne Lösung?
Post Reply