I'm having some problems getting an extension to work in the AIX
environment, and I'm wondering if anyone has seen anything similar.

Please reply to me, and I will summarize for the list if there is a
solution.

I'm using PHP 4.1.2, and everything is fine until I add an extension to the
php.ini file.  Then, on startup, I get the following error messages:

PHP Warning:  Unable to load dynamic library
'/usr/HTTPServer/libexec/libfirstmod.so' - Invalid argument in Unknown on
line 0
PHP Warning:  Unable to load dynamic library
'/usr/HTTPServer/libexec/libfirstmod.so' - Invalid argument in Unknown on
line 0

And the extension doesn't load.  If I try to load it within a page using
dl(), I get a similar problem.  The module works fine on Solaris.  I
additionally tried using the firstmod module in the documentation, and get
the same results.

Here's what I'm using to compile PHP and the extension:

env CC=cc CXX=xlC CFLAGS="-ma -Dinline" ./configure
  --enable-shared
  --with-apxs=/usr/HTTPServer/bin/apxs
  --with-ibm-db2=/usr/db2inst1/sqllib
  --without-mysql
  --with-ldap=/users/rysmith/apache/openldap-2.0.25_AIX/

cc -I/usr/local/include -I../../Zend -I../../main -I../.. -I../../TSRM -c -o
firstmod.o firstmod.c

cc -G -qmkshrobj -o libfirstmod.so firstmod.o

  --Ryan






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

Reply via email to