On Thu, May 17, 2007 at 12:19:42PM -0300, Marcos Laufer wrote:
> Hello ,
> 
> Has anyone had luck in making ImageMagick work into the www chroot
> environment?
> Some web applications need to use the 'convert' system command, so i
> included it
> into the /var/www/bin/ directory and also every file that gets mentioned
> when you
> run : ldd convert , into it's corresponding directory.
> 
> system:/var/www/bin{4}# ldd convert
> convert:
>         Start    End      Type Open Ref GrpRef Name
>         00000000 00000000 exe  1    0   0      convert
>         04d59000 24d68000 rlib 0    1   0
> /usr/local/lib/libWand.so.10.1
>         0d077000 2d147000 rlib 0    2   0
> /usr/local/lib/libMagick.so.10.1
>         05d92000 25dc5000 rlib 0    3   0      /usr/local/lib/libxml2.so.9.0
>         00d90000 20e6c000 rlib 0    4   0
> /usr/local/lib/libiconv.so.4.0
>         0b4b9000 2b4c1000 rlib 0    4   0      /usr/lib/libz.so.4.1
>         02e0c000 22e10000 rlib 0    3   0      /usr/local/lib/libbz2.so.10.3
>         0c23c000 2c243000 rlib 0    3   0      /usr/local/lib/libpng.so.4.2
>         06a32000 26a38000 rlib 0    3   0
> /usr/local/lib/libjpeg.so.62.0
>         04b0b000 24b1b000 rlib 0    3   0
> /usr/local/lib/libjasper.so.1.0
>         032e1000 232e8000 rlib 0    5   0      /usr/lib/libm.so.2.1
>         060fb000 2611f000 rlib 0    3   0
> /usr/local/lib/libtiff.so.37.3
>         0ee7e000 2ee89000 rlib 0    3   0
> /usr/local/lib/liblcms.so.1.12
>         054f3000 254f9000 rlib 0    3   0      /usr/local/lib/libjbig.so.2.0
>         04183000 241b4000 rlib 0    1   0      /usr/lib/libc.so.39.0
>         0a2a3000 0a2a3000 rtld 0    1   0      /usr/libexec/ld.so
> system:/var/www/bin{5}#
> 
> But it still doesn't work. What am i missing?
> Any suggestions or ideas are welcome.
> 
> Marcos

You could trying manually chrooting into /var/www and running the
command by hand to see if it throws any useful warnings.  You will need
a shell within the chroot while testing tho.

-- 
James Turner
http://bsdgroup.org

Reply via email to