You are not logged in.

#1 2007-10-18 01:41:15

dtandersen
Member
Registered: 2007-01-30
Posts: 41

problem with apache-2.2.6-2 (related to the db package)

The current package in extra (apache-2.2.6-2) crashes because it is compiled against db 4.5 instead of 4.6.

When I tried to build the package it also detected db 4.5 instead of 4.6, even though my system has db 4.6.

I upgraded to the latest apr and apr-utils and it compiles and runs now.  Perhaps the current apr and apr-utils should be added as a build dependency?

Last edited by dtandersen (2007-10-18 01:43:42)

Offline

#2 2007-10-18 08:50:53

roadt
Member
Registered: 2007-10-18
Posts: 26

Re: problem with apache-2.2.6-2 (related to the db package)

i met the same problem.

$ apachectl start
/usr/sbin/httpd: error while loading shared libraries: libdb-4.5.so: cannot open shared object file: No such file or directory

I make a symlink to libdb-4.6.so,  seems it works.

$ sudo ln -sv libdb-4.6.so  /usr/lib/libdb-4.5.so
"/usr/lib/libdb-4.5.so" -> "libdb-4.6.so"
$ sudo apachectl start

maybe we need some update  for db or apache?

Offline

#3 2007-10-18 19:34:21

dtandersen
Member
Registered: 2007-01-30
Posts: 41

Re: problem with apache-2.2.6-2 (related to the db package)

To get rid of that error (without the symlink hack) you can recompile it from the PKGBUILD in /var/abs/extra/daemon/apache

You have to upgrade your apr-utils first I believe.

Offline

#4 2007-10-19 02:40:04

roadt
Member
Registered: 2007-10-18
Posts: 26

Re: problem with apache-2.2.6-2 (related to the db package)

Yep, 
and it should be better to update the package in extra repo  rather than  in my custom repo.
now, i work around and wait new offical package

Offline

Board footer

Powered by FluxBB