If you have a shell account on the machine in question, it's likely. Get the libgd source and unpack it to ~/src/libgd/. Compile it with the right options (point to the installed libjpg, libpng, lib(un)gif, etc) - ./configure --help will be useful here. Don't forget to set the install prefix to ~/lib/.
Then compile your GD.pm module on the remote system, pointing to your custom installation of libgd in ~/lib.
You can't compile it locally, then upload it, unless you have the exact same version of FreeBSD and related libraries that are on the remote system.
Seriously though, if you have a willing sysadmin, let him do it. Unless you don't trust him, or don't trust that the module is built correctly... In that case, it would be best to find some sort of test program that uses libgd (other than GD.pm) and verify jpeg is broken before trying to compile it yourself. It's very likely that libgd and GD.pm are correct and your problem is just something minor elsewhere. Break it down to the simplest blocks and test each component in the chain -- libjpeg, libgd, GD.pm, your script.
Hope this helps... | [reply] [Watch: Dir/Any] [d/l] |
Thank you very much for your help jmanning2k, I will ask the admin to do that, and if he doesn't, try to do it myself. I will also find some test progs now.
Thanks again.
-------------------------
Live fat, die young
| [reply] [Watch: Dir/Any] |