I HAD an older version of Gallery installed, and it stopped working after a system upgrade (FreeBSD/PHP/mySQL).
So I do a completely new install (different user, domain, directory), and I get the ubiquitous "unable to create thumbnail" error. Turning on debug gives me this:
Debug messages:
/usr/libexec/ld-elf.so.1: Shared object "libdpstk.so.1" not found
Status: 1 (expected 0)
Error: Unable to make thumbnail (0)
So I install the latest version of ImageMagick, hoping this will solve the problem, and I still get the following:
/usr/libexec/ld-elf.so.1: Shared object "libdpstk.so.1" not found
When I go to Gallery configuration, I see this on the debug page:
We are going to test each ImageMagick binary individually.
Checking: '/usr/local/bin/identify' Expected status: 0, but actually received status 1.
Notice: Undefined offset: 0 in /usr/home/wlw2005/www/gallery/setup/check_imagemagick.php on line 244
Notice: Undefined offset: 0 in /usr/home/wlw2005/www/gallery/setup/check_imagemagick.php on line 247
Checking: '/usr/local/bin/convert'
And here is my system config:
mydomain.net 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #0: Sun Dec 7 12:20:11 EST 2003 :/usr/obj/usr/src/sys/INU i386
This is the type of system on which PHP was compiled:
FreeBSD mydomain.net 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #0: Sun i386
Additionally, here are some tidbits from phpinfo:
Apache Version Apache/1.3.29 (Unix) mod_ssl/2.8.16 OpenSSL/0.9.7c PHP/4.3.4
Apache Release 10329100
Apache API Version 19990320
PHP Version 4.3.4
Is NETPBM that much better?? Are there any disadvantages to using it instead of ImageMagick?
Hope you can help!!
Esme
Posts: 1535
Netpbm is better in that if you download the staticly linked files from the gallery download site, they won't gripe about missing libraries and bail on you
As to which is better, it's a matter of debate AFAIK. Both work and do the same thign.
Posts: 20
Well, my tech support did something to solve the original problems, but then I ended up with another error:
After some very scary commands (I usually rely on tech support to do these kinds of installs for me, as I'm probably more likely to break something than not), I FINALLY got ImageMagick to recognize the jpeg library!!
I followed two pieces of advice - not sure if it required both:
Found that in a post on ImageMagick's forum
AND
Found that in a FAQ somewhere (can't recall now where - I've been all over the world and back trying to resolve this).
Although, I did not use FreeBSD ports to do the install - I installed from source.
I hope this helps somebody else.
Esme
Posts: 20
BTW, NetPBM wouldn't install easily, either, so that's why I stayed with ImageMagick - we had it working at one time . . .
Esme