Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    2

    Default EasyApache building Apache2/PHP5 with GD giving errors

    Hello,

    I am trying to add GD support to my PHP on a FreeBSD 7.5 server. However.. I am getting strange and not very helpful messages... I've looked all over google but still cannot find a solution, so I'm turning to the community for help!

    Here's what I get during the configure:
    checking for XpmFreeXpmImage in -lXpm... no
    configure: error: Problem with libXpm.(a|so) or libX11.(a|so). Please check config.log for more information.
    !! './configure --disable-pdo --enable-bcmath --enable-calendar --enable-ftp --enable-libxml --enable-magic-quotes --enable-mbstring --enable-sockets --prefix=/usr/local --with-apxs2=/usr/local/apache/bin/apxs --with-curl=/opt/curlssl/ --with-gd --with-gettext --with-imap=/opt/php_with_imap_client/ --with-imap-ssl=/usr/local --with-jpeg-dir=/usr/local --with-libxml-dir=/opt/xml2/ --with-mysql=/usr/local --with-mysql-sock=/tmp/mysql.sock --with-png-dir=/usr/local --with-xpm-dir=/usr/local --with-zlib --with-zlib-dir=/usr' failed with exit code '256' !!
    !! Restoring original working apache !!

    !! Executing '/scripts/initsslhttpd' !!
    !! Restarting 'httpd' ... !!
    !! 'httpd' restart complete. !!
    !! Executing '/scripts/initfpsuexec' !!
    !! Executing '/scripts/initsslhttpd' !!
    Compiling report...
    Sending report (738 bytes)...
    !! If you want to create a support ticket with cPanel regarding this please reference 'BuildAP Report Id': '2675077' !!
    config.log
    configure:36469: checking for XpmFreeXpmImage in -lXpm
    configure:36488: gcc -o conftest -g -O2 -lstdc++ -R/opt/xml2/lib -L/opt/xml2/lib -R/opt/curlssl/lib -L/opt/curlssl/
    lib -R/opt/curlssl//lib -L/opt/curlssl//lib -lX11 conftest.c -lXpm -lpng -lz -ljpeg -lcurl -lz -lm -lxml2 -lz -lico
    nv -lm -lcurl -lidn -lssl -lcrypto -lz -lxml2 -lz -liconv -lm -L/usr/local/lib 1>&5
    /usr/local/lib/libX11.so: undefined reference to `shmctl@FBSD_1.1'
    configure: failed program was:
    #line 36477 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char XpmFreeXpmImage();

    int main() {
    XpmFreeXpmImage()
    ; return 0; }
    Anybody has a clue what the hell is going on with this?

    Thanks in advance

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    I believe this issue needs careful inspection and investigation; please consider submitting a ticket so that we can better diagnose and examine the problem in-depth. If possible, please PM me the ticket number so I may follow-up with this internally.

Similar Threads & Tags
Similar threads

  1. I need help about upgrading to apache2/php5
    By xserverx in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-19-2008, 05:00 AM
  2. Error building php5 with fastcgi
    By garito in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-01-2007, 08:53 AM
  3. Does it work with apache2, php5, mysql 5?
    By Nikoms in forum New User Questions
    Replies: 2
    Last Post: 12-05-2006, 01:25 PM
  4. Apache2+php4+php5......Help!!!
    By ipglobe in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-16-2006, 03:26 PM
  5. Apache2 + php5 + MySQL4.1
    By aaroncampbell in forum New User Questions
    Replies: 2
    Last Post: 03-22-2005, 05:42 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube