Hi guys,
I can load libsqlite3 in normal environment but NOT while in chroot. It is interesting that other libraries like libc can be loaded as you can see in the following example:
Now chroot, the same library file with different path of course:
ANY idea?
I can load libsqlite3 in normal environment but NOT while in chroot. It is interesting that other libraries like libc can be loaded as you can see in the following example:
Code Select
gringo: ~ $: newlisp
newLISP v.10.7.6 64-bit on BSD IPv4/6 UTF-8 libffi, options: newlisp -h
> (import "/var/www/usr/lib/libsqlite3.so.8.6")
true
Now chroot, the same library file with different path of course:
Code Select
gringo: ~ $: doas chroot -u www -g www /var/www /usr/bin/newlisp
newLISP v.10.7.6 64-bit on BSD IPv4/6 UTF-8 libffi, options: newlisp -h
> (import "/usr/lib/libsqlite3.so.8.6")
ERR: problem loading library in function import : "Cannot load specified object"
> (import "/usr/lib/libc.so.100.3" "printf")
printf@D5CDE4B7A40
>
gringo: ~ $:
ANY idea?