Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2018 16:05:13 +0100
From:      "Philippe Maechler" <pmaechler-ml@glattnet.ch>
To:        <ports@freebsd.org>
Subject:   Apache24/libgdbm.so.4 (mod_php56)
Message-ID:  <004601d492f5$3fbfe350$bf3fa9f0$@glattnet.ch>

next in thread | raw e-mail | index | archive | help
Hi

 

I'm updating several FreeBSD 11.2-p4 Boxes to the latest FreeBSD Version
11.2-p6 including Ports with portmaster.

 

After doing the first two boxes, apache couldn't start because the
libgdbm.so.4 is missing. My solution was to go into the apache ports dir,
make deinstall reinstall and everything was working again

Further boxes didn't had any issues with the port/module, they worked fine
after the upgrade.

 

My current box gives me a somewhat similar error message:

 

===>>> www/mod_php56 1/11

 

===>>> Currently installed version: mod_php56-5.6.38

===>>> Port directory: /usr/ports/www/mod_php56

 

Shared object "libgdbm.so.4" not found, required by "httpd"

Shared object "libgdbm.so.4" not found, required by "httpd"

Shared object "libgdbm.so.4" not found, required by "httpd"

===>  Cleaning for mod_php56-5.6.39

Shared object "libgdbm.so.4" not found, required by "httpd"

Shared object "libgdbm.so.4" not found, required by "httpd"

Shared object "libgdbm.so.4" not found, required by "httpd"

===>  mod_php56-5.6.39 is marked as broken: : Error from apache.mk. Apache

is installed and port requires 2.4.

*** Error code 1

 

Stop.

make: stopped in /usr/ports/www/mod_php56

 

===>>> make build failed for www/mod_php56

===>>> Aborting update

 

===>>> Update for www/mod_php56 failed

===>>> Aborting update

 

The interesting part is, that apache24 is installed. What "2.4" is required?

# pkg info | grep apac

apache-xml-security-c-2.0.2    Apache XML security libraries - C++ version

apache24-2.4.37                Version 2.4.x of Apache web server

#

 

My make.conf has some old entries in it

# cat /etc/make.conf 

WITH_PKGNG=     yes

DEFAULT_VERSIONS+=    perl5=5.24

#

 

 

The system is running a 11.2-RELEASE-p4 kernel (-p6 is installed)

 

The command used to upgrade the ports is

portmaster -no-term-title -bD -a

 

Then I got the above failure and tried to reinstall gdbm with portmaster
-no-term-title -bD gdbm

And afterwards the command portmaster gave me with the error message
portmaster --no-term-title -bD www/mod_php56 databases/mysql56-server
emulators/open-vm-tools-nox11 devel/php56-pcntl devel/pear@php56
net/php56-sockets databases/phpmyadmin@php56 lang/cython@py27 lang/ruby24
devel/subversion security/sudo

 

/usr/ports/UPDATING only has something for */py* from 20171130 and gdb, is
only mentioned as an example

 

Maybe someone can help me get rid of these gdbm "issues"?

 

Best regards

Philippe 

 

 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004601d492f5$3fbfe350$bf3fa9f0$>