[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gallery/ImageMagick/NetPBM req'd files in chroot?



Hello,

Nick Holmes wrote:

Maybe someone here has got this app working properly in a chroot environment? If so, would you please share the list of files needed to copy into /var/www/???


I have Gallery running on OpenBSD 3.6-stable with no problems. You need to copy needed NetPBM-binaries (same aplies to zip, unzip, ImageMagick etc.)
to /var/www. Check with ldd what libraries you need besides the binaries and copy those to right places under /var/www. For instance:


$ ldd /var/www/usr/local/bin/pnmcut
/var/www/usr/local/bin/pnmcut:
       Start    End      Type Ref Name
       00000000 00000000 exe   1  /var/www/usr/local/bin/pnmcut
       07be5000 27bea000 rlib  1  /usr/local/lib/libpnm.so.1.0
       066be000 266c3000 rlib  2  /usr/local/lib/libppm.so.1.0
       0bef9000 2befd000 rlib  3  /usr/local/lib/libpgm.so.1.0
       05738000 25741000 rlib  4  /usr/local/lib/libpbm.so.1.0
       0cf66000 2cf6d000 rlib  1  /usr/lib/libm.so.2.0
       064f1000 26529000 rlib  1  /usr/lib/libc.so.34.1
       05a9c000 05a9c000 rtld  1  /usr/libexec/ld.so

Best Regards,

- Tapio



Visit your host, monkey.org