Unable to load dynamic library gd.so on Slackware
This is how to see the Slackware’s version: more /etc/slackware-version.
Here are a couple of links to see if php GD library is loaded:
– How-to install / enable GD2 support
– GD Library not support Slackware 12.1
Although the php.ini has the extension uncommented the php throws this error:
PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/gd.so' - libX11.so.6: cannot open shared object file: No such file or directory in Unknown on line 0
So after a couple of days researching the problem I found a link that helped me solve the problem. This is the link. This link states that you should download these links:
wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/xtrans-1.0.3-noarch-1.tgz
wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libXdmcp-1.0.2-i486-1.tgz
wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libXau-1.0.3-i486-1.tgz
wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libX11-1.1.1-i486-4.tgz
wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libXt-1.0.5-i486-1.tgz
wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libSM-1.0.3-i486-1.tgz
wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libICE-1.0.3-i486-1.tgz
wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libXpm-3.5.6-i486-1.tgz
wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libxcb-1.0-i486-2.tgz
And then install them using pkgtool. Go to /tmp and download the files and then run pkgtool and choose yes for every package. After you have done this restart apache. One way to restart the apache server is this command:
apachectl restart
and then check to see if the gd is loaded.
Sphere: Related Content