![]() |
PHP GD problems: Missing libX11.so.6 => how to get it?
Hi,
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: http://www.actua-forums.be/extra/phpinfo.html 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: Code:
/usr/lib/php/extensions# ldd gd.soIn 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 |
libX11.so.6 is a symlink to the most recent version of libX11 (libX11.so.6.2.0 on my machine). Same goes for libXpm.so.4, it's a link (libXpm.so.4.11.0 on my machine). Just create the links and you should be in business.
|
Quote:
Code:
root@datanuke209:/usr/lib/php/extensions# find / -name "libX*"As said: the box does not have X11 (or any other window manager/GUI) installed.. Could you perhaps (rapid)share those files, so I can just copy them (& symlink them)? Or is that a bad idea? |
Quote:
Quote:
|
Quote:
Quote:
Quote:
But is I can find someone with a standaard Slackware install, it should be ok just to copy these files? |
Quote:
Now, the rest of the your reply was top notch! You gave not only the main libraries needed, but the names of all dependencies to provide support for those libraries. It would have taken me forever to determine that. Quote:
Using the information given by weibullguy, I was able to get GD working just fine. Just download and install these packages: http://slackware.cs.utah.edu/pub/sla...3-noarch-1.tgz http://slackware.cs.utah.edu/pub/sla...0.2-i486-1.tgz http://slackware.cs.utah.edu/pub/sla...0.3-i486-1.tgz http://slackware.cs.utah.edu/pub/sla...1.1-i486-4.tgz http://slackware.cs.utah.edu/pub/sla...0.5-i486-1.tgz http://slackware.cs.utah.edu/pub/sla...0.3-i486-1.tgz http://slackware.cs.utah.edu/pub/sla...0.3-i486-1.tgz http://slackware.cs.utah.edu/pub/sla...5.6-i486-1.tgz Once they are installed, your GD should work just fine! It did for me. I didn't install them in any particular order. I just used pkgtool to 'install from the current directory'. TLD |
Nice list, I installed all of those, but required one more libxcb-xlib which is required by libXt. You can find it here:
http://slackware.cs.utah.edu/pub/sla...1.0-i486-2.tgz |
Hi there - as i had same problem in slack 13 and this was the first result in google about it.
There is another dependency (at least on slack 13): libXdmcp-1.0.2-i486-2.txz found again under x/ series of the install source |
| All times are GMT -5. The time now is 08:56 AM. |