[HPADM] Couldnt start Apache with PHP on HP-UX 11.23

From: mathan (mathan_at_hotpop.com)
Date: 07/15/04

  • Next message: mathan: "[HPADM] Re: Couldnt start Apache with PHP on HP-UX 11.23"
    To: <hpux-admin@dutchworks.nl>
    Date: Thu, 15 Jul 2004 17:03:31 +0530
    
    

    Hello Admins,

        I have built Apache 2.0.50 + PHP 4.3.7 on HP-UX 11.23. I have the following error while starting apache daemon. Also I have buit 64 bit PHP 4.3.7 to use with default system HP Apache (64 bit /opt/hpws/apache/bin/httpd). I got some unsatisfied symbol errors. Please help me to solve this errors. Its very urgent. Thanks in advance.

        Is that possible to install PHP as a shared object under HP-UX 11.23?

    OS: HP-UX 11.23 LR

    1) Apache 2.0.50 + PHP 4.3.7 (32 bit build)

    Apache build steps:
      # ./configure --prefix=/disk1/mathan/PHP/fileset/httpd --enable-so
      # gmake
      # gmake install
    PHP build steps:
      # ./configure --prefix=/disk1/mathan/PHP/fileset/php --with-apxs=/disk1/mathan/PHP/fileset/httpd/bin/apxs --with-mysql=/opt/mysql
      # gmake
      # gmake test
      # gmake install

      # ./apachectl start
      Syntax error on line 232 of /disk1/mathan/PHP/fileset/httpd/conf/httpd.conf:
      Cannot load /disk1/mathan/PHP/fileset/httpd/modules/libphp4.so into server: Unresolved external

    Also I have buit 64 bit PHP 4.3.7 to use with default system Apache (64 bit /opt/hpws/apache/bin/httpd). I got the following unsatisfied symbol errors. These symbols (__udivdi3, __udivsi3, __divdi3. etc..) are in /usr/local/lib/gcc-lib/ia64-hp-hpux11.22/3.3.2/hpux64/libgcc.a library. But I cant link this library with libphp4.so, as it cannot accept static library.

    2) HP Apache 2.0.46 + PHP 4.3.7 (64 bit build)

      PHP build:
      # export CFLAGS="-mlp64"
      # ./configure --prefix=/opt/hpws/apache/php --with-apxs2=/opt/hpws/apache/bin/apxs
      # gmake
      # gmake test
      # gmake install

      # ./apachectl start
      /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__udivdi3' in load module '/opt/hpws/apache/modules/libphp4.so'.
      /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__udivsi3' in load module '/opt/hpws/apache/modules/libphp4.so'.
      /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__divdi3' in load module '/opt/hpws/apache/modules/libphp4.so'.
      /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__divdf3' in load module '/opt/hpws/apache/modules/libphp4.so'.
      /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__divsi3' in load module '/opt/hpws/apache/modules/libphp4.so'.
      /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__moddi3' in load module '/opt/hpws/apache/modules/libphp4.so'.
      /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__modsi3' in load module '/opt/hpws/apache/modules/libphp4.so'.
      /usr/lib/hpux64/dld.so: Unsatisfied code symbol '__umoddi3' in load module '/opt/hpws/apache/modules/libphp4.so'.
      Syntax error on line 222 of /opt/hpws/apache/conf/httpd.conf:
      Cannot load /opt/hpws/apache/modules/libphp4.so into server: Unresolved external
    Please help me to solve this errors. Its very urgent. Thanks in advance

    Thanks,
                                      Mathan

    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.718 / Virus Database: 474 - Release Date: 7/9/2004
    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: mathan: "[HPADM] Re: Couldnt start Apache with PHP on HP-UX 11.23"

    Relevant Pages

    • Re: Access Denied when using gmake
      ... "Mohammed Shaikh" wrote: ... I got the gmake installed successfully. ... it's possible to install gmake from the packages collection. ...
      (freebsd-questions)
    • RE: Access Denied when using gmake
      ... That did work and I am able to compile now. ... > Mohammad Shaikh ... I got the gmake installed successfully. ...
      (freebsd-questions)
    • Problem installing/upgrading QT3.2
      ... `qmake' is up to date. ... cd qmake && gmake install ... cd src/moc && gmake install ...
      (freebsd-questions)
    • Memory leak in php
      ... I generate html with php using gmake: ... should bother me. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: gmake dumps core in Solaris 10 (x86 and sparc)
      ... > I'm on the way compiling several GNU tools missing from Solaris 10, ... > % which gmake ... Fresh x86 initial install with no add ons ... gmake test passes all 19 tests too. ...
      (comp.unix.solaris)