had some troubles with my newly installed Slackware 12.0 box. As this question is not Slack-specific, I choose to post it here..
I use this box for PHP developement (as it provides PHP 5.2 & MySQL 5.0). However, when testing my old (PHP 4.x) code on this box, I encountered problems whenever an image should be generated.
You can find a phpinfo()-copy of this server on the following page:
As you can see, PHP is configured with '--with-gd=shared', so it should work, right? However, no 'GD' summary is shown on the page.
After some searching, I found out that I miss 2 files:
/usr/lib/php/extensions# ldd gd.so
linux-gate.so.1 => (0xffffe000)
libt1.so.5 => /usr/lib/libt1.so.5 (0xb7ebd000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7e50000)
libX11.so.6 => not found
libXpm.so.4 => not found
libpng.so.3 => /usr/lib/libpng.so.3 (0xb7e15000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7e00000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7de0000)
libc.so.6 => /lib/libc.so.6 (0xb7c9e000)
libm.so.6 => /lib/libm.so.6 (0xb7c77000)
I guess I could just copy these files to the correct directory, right?
In that case: where can I download this single files from?
If not, how can I find out which package I need to install in order to get it (and dependencies) right?
Important: this is a pretty old box (P1 233) without a lot of diskspace. Because of this, I prefer not to install to many things like a complete X11 environment
Thanks for the info