Hi. I apologise for the inconvenience. In short, I thought I had copied all the 
necessary files into /var/www. However, it's not working.     ----- Reply to 
message ----- Subject: Re: install_driver(SQLite) failed: Can't load SQLite.so 
Date: Tue, Nov 25, 2025, 05:05 From: Stuart Henderson < 
[email protected]> To: < [email protected]>       your email formatting 
is very difficult to decipher (either here or at 
https://marc.info/?l=openbsd-misc&m=176400768821493&w=2) but guessing you 
probably forgot to run ldconfig for the libraries inside the chroot. however, 
it's debatable whether there's any point bothering with a chroot jail if you're 
going to copy in a shell, libc, perl and a bunch of CPAN, etc.       # chroot 
/var/www/ /bin/sh                                            /bin/sh: No 
controlling tty (open /dev/tty: No such file or directory) /bin/sh: warning: 
won't have full job control # ls -l total 56 drwxr-xr-x  2 0   1  512 Nov 15 
23:38 acme drwxr-xr-x  2 0   1  512 Nov 23 16:13 bin drwx-----T  2 67  1  512 
Oct 12 18:32 cache drwxr-xr-x  2 0   1  512 Nov 23 12:01 cgi-bin drwxr-xr-x  2 
0   1  512 Nov 15 10:53 conf drwxr-xr-x  2 0   1  512 Nov 23 15:59 dev 
drwxr-xr-x  2 0   1  512 Nov 23 16:04 etc drwxr-xr-x  4 0   1  512 Nov 16 00:20 
htdocs drwxr-xr-x  2 0   1  512 Nov 15 23:02 logs drwxr-xr-x  2 0   1  512 Nov 
24 02:27 perl drwxr-xr-x  2 0   1  512 Nov 24 23:18 run drwxr-xr-x  2 0   1  
512 Nov 25 01:36 sbin drwxr-xr-x  7 0   1  512 Nov 23 13:22 usr drwxr-xr-x  3 0 
  1  512 Nov 25 02:06 var # /sbin/ldconfig && echo 'LDCONFIG SUCCESS'   
LDCONFIG SUCCESS # cd perl/ # perl sqlite.pl                                    
                  install_driver(SQLite) failed: Can't load 
'/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/DBD/SQLite/SQLite.so' 
for module DBD::SQLite: Cannot load specified object at 
/usr/libdata/perl5/XSLoader.pm line 94.  at 
/usr/local/libdata/perl5/site_perl/amd64-openbsd/DBD/SQLite.pm line 16. 
Compilation failed in require at (eval 5) line 3. Perhaps a required shared 
library or dll isn't installed where expected  at sqlite.pl line 12.    

Reply via email to