LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   GD and libX11 (https://www.linuxquestions.org/questions/slackware-14/gd-and-libx11-641522/)

lordjaggy 05-11-2008 08:24 PM

GD and libX11
 
Why am I required to have the X11 libraries when all I want to use GD for is with PHP? I've never had to have X11 installed before when using GD, so what has happened for 12.1 that now requires it?

Even after the patch for PHP 5.2.6, it still is wanting the libX11 libraries.

Here is the error I'm getting:
PHP Warning: 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
PHP 5.2.6 (cli) (built: May 7 2008 16:16:20)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies



Info, Direction, help?

Alien Bob 05-12-2008 03:44 AM

As far As I know, the gd package in Slackware has always needed X11 libraries, that is why I recompile my own "gd-nox" package for my server. All it needs is to add "--with-x=no" to the configure line in "/source/l/gd/gd.SlackBuild" and recompile the gd package.

Eric


All times are GMT -5. The time now is 03:53 PM.