You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was doing a PR to add the convert command of imagemagick the dynamic-apps repository while the error occurred.
It is missing a library, when I copied from the original installation it works.
Steps to reproduce
After installing imagemagick on your computer start by extracting the convert bin to your dynamic-apps:
./run.sh -r ../dynamic-apps/imagemagick/ /usr/bin/convert img.png img.jpg or use ./run.sh -k app-elfloader_qemu-x86_64_strace -r ../dynamic-apps/imagemagick/ /usr/bin/convert img.png img.jpg to have strace logs.
If I use the next command it should work properly:
Describe the bug
I was doing a PR to add the
convert
command of imagemagick thedynamic-apps
repository while the error occurred.It is missing a library, when I copied from the original installation it works.
Steps to reproduce
After installing
imagemagick
on your computer start by extracting the convert bin to yourdynamic-apps
:./extract.sh /usr/bin/convert /imagemagick
Copy the bin file:
cp /usr/bin/convert ../dynamic-apps/imagemagick/usr/bin
There are some modules and configurations we need to copy as well to the directory:
cp --parents /etc/ImageMagick-7/delegates.xml ../dynamic-apps/imagemagick
cp --parents -r /usr/lib/ImageMagick-7.1.1/ ../dynamic-apps/imagemagick
Add an image in the
/dynamic-apps/imagemagick
directory calledimg.png
Then run in the
app-elfloader
:./run.sh -r ../dynamic-apps/imagemagick/ /usr/bin/convert img.png img.jpg
or use./run.sh -k app-elfloader_qemu-x86_64_strace -r ../dynamic-apps/imagemagick/ /usr/bin/convert img.png img.jpg
to havestrace
logs.If I use the next command it should work properly:
cp --parents /usr/lib/libjpeg.so.8 ../dynamic-apps/imagemagick
Expected behavior
Convert, for example, an image from PNG to JPEG.
Which architectures were you using or does this bug affect?
x86_64
Which platforms were you using or does this bug affect?
kvm
Relevant log output
The text was updated successfully, but these errors were encountered: