new to installing G2 but not new to installing gallery.
got everything but these things...
ffmpeg binaries & ImageMagick/GraphicsMagick binaries
I have tried and installed all kinds of versions and still says not able to find binaries. maybe I am too green in their installtion to know that I am doing something wrong during installation.
but if someone can point me in the right direction for these two items that work with G2 and how to get the gallery configuration to see them properly.. . I would be in Debt
Posts: 3236
You don't neccessarily have to have them. ffmpeg will give you thumbs for most movies and IM/NetPBM have a LOT of overlap so you can almost skip IM if you like. You gotta find binaries for your platform, put em someplace, mark em executable and point gallery to the dir they are in. Its pretty simple IF you can find the right binaries.
Most people just end up with the source code for IM, so I'd skip that for now. Dunno about ffmpeg, never looked... always compiled it on my system.
Maybe more information from you would make it possible to help you more.
Posts: 8
I have also tried installing many different ImageMagick binaries through SSH, and nothing works. I always get this error: "problem executing binary" on these binaries: identify, convert, and composite.
I've set the file permissions to 755, so that shouldn't be the problem. Its a linux server, so i've tried Linux and Unix version ImageMagick 6.2.2 binaries...as well as some older version of ImageMagick. Still not working.
Anybody have any idea of what to do?
Posts: 8601
since you have ssh, try running those commands directly in the shell and make sure they work...
Posts: 8
What codes are you talking about? Also, just as a note, i did not compile ImageMagick through SSH ( i tried but it kept giving me a couple errors), so i ended up just extracting the gzipped file. This should be ok shouldnt it? since all we need is the binaries.
So yeah, what codes can i run in the shell to test it?
If you are talking about running a code like this in my bin folder:
convert logo: dart.jpg
then i am getting this error:
convert: error while loading shared libraries: libMagick.so.6: cannot open shared object file: No such file or directory
So, have any idea of how to get this working?
Posts: 8601
ya, that means your imagemagick isn't working, so of course it fails when G2 tries to use it.
what does ldd return for your convert binary?
ldd /whatever/path/bin/convert
Posts: 8
Ok, so I'm not exactly what sure what these commands do, but i just executed them though SSH:
export MAGICK_HOME="$HOME/ImageMagick-6.2.2"
export PATH; PATH="$HOME/ImageMagick-6.2.2/bin:$PATH"
export LD_LIBRARY_PATH="$HOME/ImageMagick-6.2.2/lib"
And now when I run "convert logo: dart.jpg", it looks like it is finding the "libMagick.so.6" file. But now it is saying:
convert: error while loading shared libraries: libbz2.so.1: cannot open shared object file: No such file or directory
I have no idea what this library file is, but i know it is not anywhere in the ImageMagick-6.2.2 folder.
Anyone have a clue of where this file is located? And how to get my binaries to be able to access it?
Posts: 8
when i run "ldd convert", i get the following code:
./convert: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by xxxxxxxx/htdocs/ImageMagick-6.2.2/lib/libMagick.so.6)
./convert: /lib/libc.so.6: version `GLIBC_2.3' not found (required by xxxxxxxx/htdocs/ImageMagick-6.2.2/lib/libMagick.so.6)
./convert: /lib/libc.so.6: version `GLIBC_2.3' not found (required by xxxxxxxx/htdocs/ImageMagick-6.2.2/lib/libltdl.so.3)
libMagick.so.6 => xxxxxxxx/htdocs/ImageMagick-6.2.2/lib/libMagick.so.6 (0x40014000)
libc.so.6 => /lib/libc.so.6 (0x40596000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x406b4000)
libdpstk.so.1 => /usr/X11R6/lib/libdpstk.so.1 (0x406d3000)
libdps.so.1 => /usr/X11R6/lib/libdps.so.1 (0x406da000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4071a000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40727000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40771000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40779000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4078f000)
libbz2.so.1 => not found
libz.so.1 => /usr/lib/libz.so.1 (0x4086a000)
libm.so.6 => /lib/libm.so.6 (0x4087b000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4089c000)
libltdl.so.3 => xxxxxxxx/htdocs/ImageMagick-6.2.2/lib/libltdl.so.3 (0x408b0000)
libdl.so.2 => /lib/libdl.so.2 (0x408b7000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libpng12.so.0 => not found
libbz2.so.1 => not found
So maybe my server does not have all of the files necessary for ImageMagick?
Posts: 8601
not for that binary.