• After getting PHP 5.0.5 to compile on my Solaris 9 server, I got the following error when doing the make install:

    ld.so.1: php: fatal: relocation error: file /u01/packages/src/php-5.0.5/sapi/cli/php: symbol xmlRelaxNGCleanupTypes: referenced symbol not found
    Killed

    make[1]: *** [install-pear-installer] Error 137
    make: *** [install-pear] Error 2

    Turns out that the Sun XML packages are stomping all over the xml2 package from http://xmlsoft.org/. Simply removing the following two packages allowed the make install to complete.

    # pkgrm SUNWlxml
    # pkgrm SUNWlxmlx

    This entry was posted on Tuesday, October 18th, 2005 at 4:08 pm and is filed under Data and Technology. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • 2 Comments

    Take a look at some of the responses we have had to this article.

    1. Adriana
      Nov 24th
      Reply

      Why does this error happend?

    2. Instead of removing the other xml packages, you can add “–with-libxml-dir=/usr/local” to the ./configure. Be sure to make clean before a you attempt to make again.

      I also had luck with adding /usr/local/lib to the front of my LD_LIBRARY_PATH:
      “LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH”

      Hope this helps

  • Leave a Reply

    Let us know what you thought.

  • Name(required):

    Email(required):

    Website:

    Message: