Forum Moderators: coopster

Message Too Old, No Replies

PHP Warning: Cannot load php extensions

PHP Warning: Cannot load php extensions

         

Socceraccess

10:12 pm on Feb 15, 2005 (gmt 0)

10+ Year Member



PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/php/lib/extras/imap.so' - /usr/local/php/lib/extras/imap.so: undefined symbol: file_globals in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/php/lib/extras/mysql.so' - /usr/local/php/lib/extras/mysql.so: undefined symbol: core_globals in Unknown on line 0

Hello

I compiled php-4.3.10 myself, in order to have an apache-worker compatible php.

Hover, I downloaded the package:
php-mysql-4.3.10-1.rhel3.art
which includes the mysql.so extension

When I restart apache, this is what I get

PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/php/lib/extras/imap.so' - /usr/local/php/lib/extras/imap.so: undefined symbol: file_globals in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/php/lib/extras/mysql.so' - /usr/local/php/lib/extras/mysql.so: undefined symbol: core_globals in Unknown on line 0

I really thought that it was going to work since it's the same version of php (except for the -1 part of the RPM)

Any suggestions will be appreciated

Regards

Xavier

Socceraccess

11:54 pm on Feb 15, 2005 (gmt 0)

10+ Year Member



I tried configuring the c-client from ftp://ftp.cac.washington.edu/imap/installing in order to build a php compatible with imap.

Configuration is successfull, however when I 'make' in the php source directory, I receive this error:

/downloads/php/php-4.3.10-horde/ext/imap/php_imap.c: In function `zm_startup_imap':
/downloads/php/php-4.3.10-horde/ext/imap/php_imap.c:437: `auth_gss' undeclared (first use in this function)
/downloads/php/php-4.3.10-horde/ext/imap/php_imap.c:437: (Each undeclared identifier is reported only once
/downloads/php/php-4.3.10-horde/ext/imap/php_imap.c:437: for each function it appears in.)

I used '--with-imap=/usr/local/imap'.

I'm trying to build a php that has support for Horde (which needs imap into php)

Also, how can I custom build a imap.so or whatever.so extension for my php?

Regards

Xavier