From:             [EMAIL PROTECTED]
Operating system: OpenBSD
PHP version:      4.3.0RC3
PHP Bug Type:     Apache2 related
Bug description:  Undefined symbol "___guard" in libphp4.so

OS : OpenBSD-current
Platform : i386
gcc : gcc version 2.95.3 20010125 (prerelease, propolice)
Webserver : Apache 2.0.43
Datbabse : MySQL 4.23.54a
PHP Version : 4.3.0RC3 and php4-STABLE-200211230430

PHP Configure Line: ./configure --enable-sockets
--with-mysql=/opt/db/mysql --with-apxs2=/opt/apache2/bin/apxs
MySQL Configure Line: (./configure --prefix=location).


Updated MySQL from 4.23.53 to 4.23.54a to address recently announced
bugs.

Recompiled PHP and tried to restart Apache.

I get this:

Undefined symbol "___guard" in httpd:/opt/apache2/modules/libphp4.so

On checking out the file...

# nm /opt/apache2/modules/libphp4.so
000e9c34 T _OnUpdateBool
000e9c64 T _OnUpdateInt
000e9c98 T _OnUpdateReal
000e9ccc T _OnUpdateString
000e9ce0 T _OnUpdateStringUnempty
0005640c T _PHP_MD5Final
00056308 T _PHP_MD5Init
0005633c T _PHP_MD5Update
0007e19c T _PHP_SHA1Final
0007e090 T _PHP_SHA1Init
0007e0c8 T _PHP_SHA1Update
00069018 T _ValidateFormat
0011c000 d __DYNAMIC
0011c060 D __GLOBAL_OFFSET_TABLE_
000fa6b4 T ___cmpdi2
000fa7ec T ___divdi3
000e0de8 T __array_init
00122b04 D __codes
000d976c T __convert_to_string
000cfe4c T __ecalloc
000cfd44 T __efree
000cfc28 T __emalloc
000cff08 T __erealloc
000d0040 T __estrdup
000d00c0 T __estrndup
000e0e30 T __object_and_properties_init
000e0ef4 T __object_init
000e0ecc T __object_init_ex
00033254 T __php_error_log
000ad0bc T __php_import_environment_variables
00054b50 T __php_math_basetolong
00054c10 T __php_math_basetozval
00054d14 T __php_math_longtobase
000557a4 T __php_math_number_format
00054de8 T __php_math_zvaltobase
000ad5ec T __php_stream_alloc
....


I tried 4.3.0RC3 to see if it was something fixed, however it does not
seem that way.  

Yesterday I installed MySQL 4.23.53 and php4-STABLE-200211230430 on a
different OpenBSD machine with the same -current src tree with no
problems.  (going to start testing this on it, but will take time as it is
only a slow p2...)


Any ideas?


~CH







-- 
Edit bug report at http://bugs.php.net/?id=21084&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21084&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21084&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21084&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21084&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21084&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21084&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21084&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21084&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21084&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21084&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21084&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21084&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21084&r=isapi

Reply via email to