> is /usr/X11R6/lib a real directory or have you moved it elsewhere > and replaced with a symlink?
No symlink. No mount either. > did you get any errors after "creating runtime link editor directory > cache" at boot? (check with dmesg -s) None. Here are the last 5 lines of `dmesg -s`: ``` creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd smtpd sndiod. starting local daemons: cron. Wed Apr 12 14:33:31 EDT 2023 ``` > how does ldconfig -r look? Sorry, but you asked for it! ;) ``` /var/run/ld.so.hints: search directories: /usr/lib:/usr/local/lib 0:-lc.97.0 => /usr/lib/libc.so.97.0 1:-lcurses.14.0 => /usr/lib/libcurses.so.14.0 2:-lform.6.0 => /usr/lib/libform.so.6.0 3:-lfuse.2.0 => /usr/lib/libfuse.so.2.0 4:-lncursesw.14.0 => /usr/lib/libncursesw.so.14.0 5:-lrpcsvc.3.0 => /usr/lib/librpcsvc.so.3.0 6:-liberty.12.0 => /usr/lib/libiberty.so.12.0 7:-lpcap.9.0 => /usr/lib/libpcap.so.9.0 8:-lexpat.14.0 => /usr/lib/libexpat.so.14.0 9:-lskey.6.0 => /usr/lib/libskey.so.6.0 10:-lossaudio.4.0 => /usr/lib/libossaudio.so.4.0 11:-lperl.23.0 => /usr/lib/libperl.so.23.0 12:-ltls.26.2 => /usr/lib/libtls.so.26.2 13:-lusbhid.7.1 => /usr/lib/libusbhid.so.7.1 14:-lc++abi.6.0 => /usr/lib/libc++abi.so.6.0 15:-lLLVM.7.0 => /usr/lib/libLLVM.so.7.0 16:-lm.10.1 => /usr/lib/libm.so.10.1 17:-liconv.7.1 => /usr/local/lib/libiconv.so.7.1 18:-lpanel.6.0 => /usr/lib/libpanel.so.6.0 19:-lasprintf.1.1 => /usr/local/lib/libasprintf.so.1.1 20:-lcrypto.50.2 => /usr/lib/libcrypto.so.50.2 21:-lgmp.11.0 => /usr/local/lib/libgmp.so.11.0 22:-lsigsegv.1.0 => /usr/local/lib/libsigsegv.so.1.0 23:-lsndio.7.2 => /usr/lib/libsndio.so.7.2 24:-lcbor.2.0 => /usr/lib/libcbor.so.2.0 25:-lexecinfo.3.0 => /usr/lib/libexecinfo.so.3.0 26:-ljq.1.0 => /usr/local/lib/libjq.so.1.0 27:-lradius.1.0 => /usr/lib/libradius.so.1.0 28:-lutil.16.0 => /usr/lib/libutil.so.16.0 29:-llzma.2.2 => /usr/local/lib/liblzma.so.2.2 30:-lonig.8.0 => /usr/local/lib/libonig.so.8.0 31:-lcharset.1.1 => /usr/local/lib/libcharset.so.1.1 32:-lffi.2.0 => /usr/local/lib/libffi.so.2.0 33:-lxml2.18.0 => /usr/local/lib/libxml2.so.18.0 34:-lmpfr.2.2 => /usr/local/lib/libmpfr.so.2.2 35:-lgpg-error.3.24 => /usr/local/lib/libgpg-error.so.3.24 36:-lgcrypt.21.0 => /usr/local/lib/libgcrypt.so.21.0 37:-lkvm.17.0 => /usr/lib/libkvm.so.17.0 38:-lexslt.9.8 => /usr/local/lib/libexslt.so.9.8 39:-lxslt.4.0 => /usr/local/lib/libxslt.so.4.0 40:-lngtcp2_crypto_openssl.0.0 => /usr/local/lib/libngtcp2_crypto_openssl.so.0.0 41:-lagentx.1.1 => /usr/lib/libagentx.so.1.1 42:-lngtcp2.1.0 => /usr/local/lib/libngtcp2.so.1.0 43:-lc++.9.0 => /usr/lib/libc++.so.9.0 44:-lnghttp3.0.1 => /usr/local/lib/libnghttp3.so.0.1 45:-lpcre2-16.0.5 => /usr/local/lib/libpcre2-16.so.0.5 46:-lpcre2-32.0.5 => /usr/local/lib/libpcre2-32.so.0.5 47:-lpcre2-posix.1.0 => /usr/local/lib/libpcre2-posix.so.1.0 48:-lbz2.10.4 => /usr/local/lib/libbz2.so.10.4 49:-largon2.0.0 => /usr/local/lib/libargon2.so.0.0 50:-lpcre2-8.0.6 => /usr/local/lib/libpcre2-8.so.0.6 51:-ljpeg.70.0 => /usr/local/lib/libjpeg.so.70.0 52:-lformw.6.0 => /usr/lib/libformw.so.6.0 53:-lturbojpeg.0.1 => /usr/local/lib/libturbojpeg.so.0.1 54:-lpanelw.6.0 => /usr/lib/libpanelw.so.6.0 55:-ledit.5.2 => /usr/lib/libedit.so.5.2 56:-lnghttp2.0.21 => /usr/local/lib/libnghttp2.so.0.21 57:-lz.7.0 => /usr/lib/libz.so.7.0 58:-ltermlib.14.0 => /usr/lib/libtermlib.so.14.0 59:-lfido2.7.0 => /usr/lib/libfido2.so.7.0 60:-llz4.3.2 => /usr/local/lib/liblz4.so.3.2 61:-lintl.7.0 => /usr/local/lib/libintl.so.7.0 62:-lzstd.6.2 => /usr/local/lib/libzstd.so.6.2 63:-lsqlite3.37.22 => /usr/local/lib/libsqlite3.so.37.22 64:-lreadline.4.0 => /usr/lib/libreadline.so.4.0 65:-ltiff.42.0 => /usr/local/lib/libtiff.so.42.0 66:-lpython3.10.0.0 => /usr/local/lib/libpython3.10.so.0.0 67:-ltiffxx.42.0 => /usr/local/lib/libtiffxx.so.42.0 68:-lsodium.10.0 => /usr/local/lib/libsodium.so.10.0 69:-lcapstone.3.0 => /usr/local/lib/libcapstone.so.3.0 70:-lpng.18.0 => /usr/local/lib/libpng.so.18.0 71:-lpng16.18.0 => /usr/local/lib/libpng16.so.18.0 72:-lmenuw.6.0 => /usr/lib/libmenuw.so.6.0 73:-lpthread.27.0 => /usr/lib/libpthread.so.27.0 74:-lgif.9.0 => /usr/local/lib/libgif.so.9.0 75:-lssl.53.2 => /usr/lib/libssl.so.53.2 76:-levent.4.1 => /usr/lib/libevent.so.4.1 77:-lwebp.4.3 => /usr/local/lib/libwebp.so.4.3 78:-lwebpdecoder.2.1 => /usr/local/lib/libwebpdecoder.so.2.1 79:-lwebpdemux.2.0 => /usr/local/lib/libwebpdemux.so.2.0 80:-lncurses.14.0 => /usr/lib/libncurses.so.14.0 81:-lwebpmux.2.0 => /usr/local/lib/libwebpmux.so.2.0 82:-lmenu.6.0 => /usr/lib/libmenu.so.6.0 83:-lgd.23.0 => /usr/local/lib/libgd.so.23.0 84:-ltermcap.14.0 => /usr/lib/libtermcap.so.14.0 85:-lelf.3.0 => /usr/lib/libelf.so.3.0 ``` Hmmm, this looks relevant: `gd.23.0 => /usr/local/lib/libgd.so.23.0`. The file exists: ``` # ls -l /usr/local/lib/libgd.so.23.0 -rw-r--r-- 1 root bin 484080 Mar 24 20:32 /usr/local/lib/libgd.so.23.0 ``` And ldd works on it too: ``` /usr/local/lib/libgd.so.23.0: Start End Type Open Ref GrpRef Name 00000977008bd000 000009770092d000 dlib 2 0 0 /usr/local/lib/libgd.so.23.0 000009769d450000 000009769d46e000 rlib 0 5 0 /usr/lib/libz.so.7.0 000009775052d000 00000977505fe000 rlib 0 2 0 /usr/X11R6/lib/libfreetype.so.30.2 000009771bb80000 000009771bbc2000 rlib 0 1 0 /usr/local/lib/libpng.so.18.0 00000976db5ff000 00000976db711000 rlib 0 1 0 /usr/local/lib/libiconv.so.7.1 0000097764f07000 0000097764faa000 rlib 0 2 0 /usr/local/lib/libjpeg.so.70.0 000009776c9c5000 000009776ca58000 rlib 0 1 0 /usr/local/lib/libtiff.so.42.0 00000977524fd000 0000097752550000 rlib 0 1 0 /usr/X11R6/lib/libfontconfig.so.13.1 00000977564db000 000009775656e000 rlib 0 1 0 /usr/local/lib/libwebp.so.4.3 000009768166c000 0000097681750000 rlib 0 1 0 /usr/lib/libc++.so.9.0 000009776cb2a000 000009776cb70000 rlib 0 2 0 /usr/lib/libc++abi.so.6.0 0000097689fdd000 0000097689fe9000 rlib 0 5 0 /usr/lib/libpthread.so.27.0 0000097684596000 00000976845c7000 rlib 0 4 0 /usr/lib/libm.so.10.1 00000976f2a2c000 00000976f2b20000 rlib 0 1 0 /usr/local/lib/libzstd.so.6.2 0000097697410000 0000097697446000 rlib 0 1 0 /usr/local/lib/liblzma.so.2.2 00000976e07df000 00000976e0811000 rlib 0 1 0 /usr/lib/libexpat.so.14.0 ``` I'm confused. PHP is looking for `/usr/local/lib/php-8.1/modules/gd.so`, is `/usr/local/lib/libgd.so.23.0` related? K.