Hello,

I am experiencing a weird problem, hopefully someone can help me with it:

Environment:
        HP-UX 11.11
        PhP ver.4.1.1
        libmcrypt 2.4.19

I have successfully built libmcrypt:
        /opt/mcrypt/configure --disable-posix-threads
        make ; make install

Library is created in /usr/local/lib

I have successfuly built PhP DSO module:
        CC=cc ./configure --prefix=/home/bpia \
        --with-apxs=/home/bpia/bin/apxs \
      --with-php-config \
        --with-ldap=/home/bpia/ldapsdk \
      --with-mcrypt=/opt/mcrypt \
        --with-openssl \
        --with-db \
        --with-gdbm \
        --with-zlib \
        --with-bz2 \
        --with-regex=php \
        --enable-inline-optimization \
        --enable-debugger \
        --enable-magic-quotes \
        --enable-track-vars \
        --enable-yp \
        --without-mysql \
        --with-xml \
        --with-gmp \
        --with-mhash \
        --enable-bcmath \
        --with-config-file=/home/bpia/php.ini

        make 

        make install

When I try to restart apache server I get the following errors:
        [Tue Feb 12 14:04:57 2002] [warn] VeriSign CVM 2.02: VeriSign
Certificate Validation Module, Version 2.02 starting up!
/usr/lib/dld.sl: Unresolved symbol: end_mcrypt_cfb (code)  from
/opt/apache/modules/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mcrypt_cfb (code)  from
/opt/apache/modules/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mcrypt_cbc (code)  from
//opt/apache/modules/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: end_mcrypt_ofb (code)  from
//opt/apache/modules/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mcrypt_ecb (code)  from
/opt/apache/modules/libphp4.so
etc.

I checked and the above symbols are defined in libmcrypt.2.2.5 which is in
php/ext/mcrypt directory. 
Why does PhP configure script go to ext/mcrypt directory even when I
specifically specify to go to mcrypt directory?

# nm -p libmcrypt.sl  // doesn't defined the above unresolved symbols

# cd /opt/php/ext/mcrypt ; nm -p libmcrypt.2.5.sl // defines the above
mentioned symbols.


P.S. If I used libmcrypt.2.2.5, everything works fine. I *have to* use
libmcrypt.2.4.2.

Any ideas?

Thank you in advance!
Leon


-----------
Leon Zilber
HP Internet Operation R&D Lab
phone: 973.443.78.82
email: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to