PHP 8.3 missing dependency

Hi folks,

I just upgraded my server from 12.0-REL to 14.1-REL (yeah, I know) (I'm still running CentOS, too), and now PHP refuses to run; php at the command line gives me:

ld-elf.so.1: Shared object "libdl.so.1" not found, required by "libxml2.so.2"

I've been pulling my hair out, trying updates and downgrades and side-parries and allkindsashit and I can't figure out how to fix this. I tried downgrading from php8.3 to php8.2 and then back to 8.3 -- no joy.

I need php for PmWiki running on Apache24, but it isn't running correctly, and I'm assuming that the missing library file is the culprit -- or at least the culprit du jour.

Any help appreciated -- thanks!

- V
 
Hi folks,

I just upgraded my server from 12.0-REL to 14.1-REL (yeah, I know) (I'm still running CentOS, too), and now PHP refuses to run; php at the command line gives me:

ld-elf.so.1: Shared object "libdl.so.1" not found, required by "libxml2.so.2"

I've been pulling my hair out, trying updates and downgrades and side-parries and allkindsashit and I can't figure out how to fix this. I tried downgrading from php8.3 to php8.2 and then back to 8.3 -- no joy.

I need php for PmWiki running on Apache24, but it isn't running correctly, and I'm assuming that the missing library file is the culprit -- or at least the culprit du jour.

Any help appreciated -- thanks!

- V
And it's worse than that ... named (BIND) won't start. Tried removing and reinstalling it, but no joy.

Is it possible to just 'get a copy' of libdl.so.1 and install it in /usr/local/lib/ ?
 
I just upgraded my server from 12.0-REL to 14.1-REL
That's quite a big leap. But, it should work.

Is it possible to just 'get a copy' of libdl.so.1 and install it in /usr/local/lib/ ?
No, libdl.so.1 is part of the base OS.

Code:
% ll /usr/lib/libdl.*
-r--r--r--  1 root wheel  868 Dec 13 23:31 /usr/lib/libdl.a
lrwxr-xr-x  1 root wheel   10 Apr  7  2023 /usr/lib/libdl.so@ -> libdl.so.1
-r--r--r--  1 root wheel 6472 Dec 13 23:30 /usr/lib/libdl.so.1
So, your upgrade got botched, or you haven't finished it. What does freebsd-version -urk show?
 
Back
Top