• 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've 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:

Visitors have tagged this post: make [sapi/cli/php] Error 1 (1046) - make: *** [sapi/cli/php] Error 1 (754) - t (287) - install-pear-installer Error 137 (111) - [sapi/cli/php] Error 1 (91) - make: *** [install-pear] Error 2 (85) - make[1]: *** [install-pear-installer] Error 127 (78) - install-pear-installer (62) - f (60) - make install error 1 (56) - php make: *** [sapi/cli/php] Error 1 (55) - make: *** [install] Error 1 (46) - symbol xmlRelaxNGCleanupTypes: referenced symbol not fo (44) - ld.so.1: php: fatal: relocation error: (43) - make error 2 (43) - [install-pear] Error 2 (41) - make install error (40) - make: *** Error 1 (37) - sapi/cli/php (36) - make[1]: *** [install-pear-installer] Error 137 (32) - xmlRelaxNGCleanupTypes (31) - php "make install" (31) - [install-pear-installer] Error 127 (30) - make: *** [all] Error 1 (29) - php relocation error: (28) - make: *** [*] Error 1 (27) - make sapi/cli/php error (25) - make error 3 (24) - php make install error (23) - make [sapi/cli/php] (23) - "xmlRelaxNGCleanupTypes: referenced symbol not found" (20) - "make install" error 2 (20) - ld.so.1: ./php: fatal (19) - php xml2 (19) - make: *** [sapi/cli/php] Erreur 1 (18) - make error 137 (18) - make: *** [sapi/cli/php] Fehler 1 (17) - php make install (16) - /sapi/cli/php: relocation error: (15) - "make[1]: *** [install-pear-installer]" (15) - php: fatal: relocation error (14) - ld.so.1: php: fatal: relocation error: file php: symbol (13) - sapi/cli/php +error (13) - php make error (12) - make "Error 137" (12) - ld so 1: php: fatal: libldap-2 3 so 0: (12) - "install-pear-installer" error (11) - SUNwlxml (11) - ld so 1: php: fatal: relocation error: (11) - make *** error 1 (11) - php xmlRelaxNGCleanupTypes (10) - php 5.0.5 (10) - ld.so.1: php: fatal: relocation error: file (10) - make: ** [sapi/cli/php] Erro 1 (10) - gmake[1]: *** [install-pear-installer] Error 137 (10) - make sapi cli php Error 1 (10) - \"make: *** [sapi/cli/php] Error 1\ (10) - pkgrm php (9) - make[1]: *** [install-pear-installer] Error 254 (9) - gmake: *** [sapi/cli/php] Error 1 (9) - make: *** [] Error 1 (9) - php symbol xmlRelaxNGCleanupTypes (8) - xmlRelaxNGCleanupTypes + php (8) - php5 solaris (8) - make "error 5" (8) - make: *** [install] Error 2 (8) - [install-pear-installer] Error 137 (8) - php "make install" problem (7) - make install errors (7) - php make error 1 (7) - make install pear (7) - sapi cli php error 1 (7) - [install-pear-installer] Error 254 (7) - fatal: libldap-2 3 so 0: (7) - php: fatal: libldap-2 3 so 0: (7) - ld.so.1: php: fatal: relocation error (7) - sapi/cli/php error 1 (7) - php "symbol xmlRelaxNGCleanupTypes: referenced symbol n (6) - symbol: xmlRelaxNGCleanupTypes (6) - sapi/cli/php: fatal: relocation error: (6) - php install error (6) - php install-pear-installer Error 137 (6) - ld.so.1: php: fatal: relocation error: file php (6) - php make: *** [sapi/cli/php] (6) - php error 2 (6) - make install problem (6) - php installer error (6) - make error 254 (6) - make install php error (5) - ld.so.1: php: (5) - : referenced symbol not found solaris 9 (5) - php5 make error (5) - install-pear error (5) - "make: *** [sapi/cli/php] Error 1" PHP (5) - php make (5) - install error 2 (5) - ld so 1: httpd: fatal: libldap-2 3 so 0 (5) - make: *** [] Erreur 1 (5) - make[1]: *** [install-pear-installer] Error 127 make: *** [install-pear] Error 2 (5) - error (4) - PHP 5.0.5 installer (4) - php "error 137" (4) - php "make install" pear (4) - ld.so.1: php: fatal: relocation error: file sapi/cli/ph (4) - install "php 5" solaris (4) - php symbol (4) - solaris php relocation error (4) - "sapi/cli/php" error make (4) - ld.so.1 php installation error pear (4) - pear installer error 137 (4) - make[1]: *** [sapi/cli/php] Error 1 (4) - "error 137" make (4) - make: *** [install-pear] Error 1 (4) - [sapi/cli/php] Error 1 + php (4) - [sapi/cli/php] Error 127 (4) - php5 + make: *** [sapi/cli/php] Error 1 (4) - ld.so.1: php: fatal: libldap-2.3.so.0 (4) - php make install pear error (4) - php install-pear-installer (4) - ld so 1: php: fatal: libldap (4) - make Error 11 (4) - sapi/cli/php] Error 1 (4) - make install php (4) - make[1]: *** [install-pear-packages] Error 127 (4) - make: *** [sapi/cli/php] (4) - make: *** [install] Error 127 (4) - php error 137 (4) - make error 1 (4) - make: *** [all] Error 2 (4) - "xmlRelaxNGCleanupTypes" solaris (3) - install php 5 solaris 9 (3) - php make install error PEAR (3) - pear install problems (3) - install php on solaris 9 (3) - /sapi/cli/php: symbol xmlRelaxNGCleanupTypes (3) - symbol xmlRelaxNGCleanupTypes: referenced symbol (3) - php 5.0.5 install (3) - "[install-pear-installer] Error 137" php (3) - xmlRelaxNGCleanupTypes not found (3) - howto install pear (3) - [sapi/cli/php] Error 1 solaris (3) - make -s install-pear-installer (3) - "file php: symbol xmlRelaxNGCleanupTypes: referenced sy (3) - sapi/cli/php: not found (3) - fatal: relocation error php (3) - php relocation (3) - xmlRelaxNGCleanupTypes: referenced (3) - php5 "relocation error" (3) - php: fatal: relocation error: file php: symbol xmlRelax (3) - ld.so.1: php: fatal: relocation error: file symbol xmlR (3) -