Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2019 08:42:49 -0500
From:      Andy Firman <firmdog@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   apache24 won't start now after php upgrade --> Undefined symbol "apr_atomic_add64"
Message-ID:  <CAHcg-UEbjBpTfKsm2JP%2BUWfjEqmg56D6ejfT7PcSFsO8Rh_tZA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
My daily security email said that php72-7.2.22 is vulnerable.

So I did a pkg upgrade (see further below) and now apache will not start,
even after pkg delete and install of apache24. What on earth happened and
how do I fix this?

# apachectl start
Performing sanity check on apache24 configuration:
ld-elf.so.1: /usr/local/sbin/httpd: Undefined symbol "apr_atomic_add64"
Starting apache24.
ld-elf.so.1: /usr/local/sbin/httpd: Undefined symbol "apr_atomic_add64"
/usr/local/etc/rc.d/apache24: WARNING: failed to start apache24




[root@freebsd ~]# pkg upgrade php72
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:

php72: 7.2.22 -> 7.2.24
pcre: 8.43_1 -> 8.43_2
libargon2: 20171227_1 -> 20190702

Number of packages to be upgraded: 3
5 MiB to be downloaded.
Proceed with this action? [y/N]: y
[1/3] Fetching php72-7.2.24.txz: 100%    3 MiB   3.6MB/s    00:01
[2/3] Fetching pcre-8.43_2.txz: 100%    1 MiB   1.3MB/s    00:01
[3/3] Fetching libargon2-20190702.txz: 100%   65 KiB  66.1kB/s    00:01
Checking integrity... done (0 conflicting)
[1/3] Upgrading pcre from 8.43_1 to 8.43_2...
[1/3] Extracting pcre-8.43_2: 100%
[2/3] Upgrading libargon2 from 20171227_1 to 20190702...
[2/3] Extracting libargon2-20190702: 100%
[3/3] Upgrading php72 from 7.2.22 to 7.2.24...
[3/3] Extracting php72-7.2.24: 100%
[root@freebsd ~]#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHcg-UEbjBpTfKsm2JP%2BUWfjEqmg56D6ejfT7PcSFsO8Rh_tZA>