$ ldd /usr/bin/sqlite3
/usr/bin/sqlite3:
Start End Type Open Ref GrpRef Name
000000b21e800000 000000b21ec11000 exe 1 0 0
/usr/bin/sqlite3
000000b491c4e000 000000b492120000 rlib 0 1 0
/usr/lib/libsqlite3.so.28.0
000000b498a0f000 000000b498e42000 rlib 0 1 0
/usr/lib/libedit.so.5.1
000000b430ec9000 000000b431323000 rlib 0 1 0
/usr/lib/libcurses.so.14.0
000000b472f65000 000000b473377000 rlib 0 2 0
/usr/lib/libpthread.so.18.1
000000b497b7e000 000000b49806a000 rlib 0 1 0
/usr/lib/libc.so.78.0
000000b448400000 000000b448400000 rtld 0 1 0
/usr/libexec/ld.so
I copied all libraries used by sqlite3 in the folder /var/www/usr/lib/:
$ ls -lh /var/www/usr/lib/
total 17920
-r--r--r-- 1 root daemon 3.2M Dec 29 09:01 libc.so.78.0
-r--r--r-- 1 root daemon 1.4M Dec 29 09:01 libcurses.so.14.0
-r--r--r-- 1 root daemon 480K Dec 29 09:01 libedit.so.5.1
-r--r--r-- 1 root daemon 208K Dec 29 09:01 libpthread.so.18.1
-r--r--r-- 1 root daemon 3.4M Dec 29 09:01 libsqlite3.so.28.0
I think it has something to do with sqlite3 - this is just a guess.
Trying to install wordpress form ports, it failed at the database setup
(although wp uses mariadb/mysql). Has anyone else experienced such problems?
Clemens