php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58785 "undefined symbol: XOpenDisplay" on Media Temple Servers
Submitted: 2009-07-31 15:13 UTC Modified: 2009-08-30 11:32 UTC
From: steve at studio831 dot com Assigned:
Status: Not a bug Package: gmagick (PECL)
PHP Version: 5.2.6 OS: Linux cl33 2.6.20.2mtv7 #12 SMP
Private report: No CVE-ID: None
 [2009-07-31 15:13 UTC] steve at studio831 dot com
Description:
------------
Trying to install gmagick as local extension to a Media Temple gs server.

Did the following

downloaded a local copy of package
phpize5
./configure --with-gmagick=/home/####/data --with-php-config=/usr/local/php-5.2.6-1/bin/php-config 
make
copy modules/gmagick.so to /home/29628/data/lib/php/gmagick.so

configured php.ini to use extension_dir 

get the following error:

[Fri Jul 31 12:10:22 2009] [error] [client 67.188.200.14] PHP Warning:  PHP Startup: Unable to load dynamic library '/home/#####/data/lib/php/gmagick.so' - /home/####/data/lib/php/gmagick.so: undefined symbol: XOpenDisplay in Unknown on line 0, referer: http://studio831.com/info.php



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-30 11:32 UTC] vito@php.net
Try the following sequences:

Install GraphicsMagick

Download stable branch (GraphhicsMagick-1.3.6.tar.gz) from www.graphicsmagick.org
tar xvfz GraphicsMagick-1.3.5.tar.gz
cd GraphicsMagick-1.3.5
./configure --without-perl --enable-shared
(use the --prefix="[YOUR_PATH]" to specify the path of your desired bin path the default configuration installs to /usr/local/bin.
Leave out the /bin path from your path specification)   -make install (as root)

Then Install Gmagick

   -Download latest from pecl.php.net/gmagick
   -tar xvfz gmagick.*
   -cd gmagick.*
   -phpize
   -./configure
   -make
   -make install
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 18:01:29 2024 UTC