Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

mmcache.so: undefined symbol: php_sprintf

Help
2005-03-18
2013-06-04
  • David Biesack
    David Biesack
    2005-03-18

    On Red Hat 9, with Apache 2.0.46 and PHP 4.3.10,
    I built and installed mmcache as instructed but when
    I restart Apache, I get the following in error_log:

    PHP Warning:  Unknown(): Unable to load dynamic library '/usr/lib/php4/mmcache.so' - /usr/lib/php4/mmcache.so: undefined symbol: php_sprintf in Unknown on line 0

    and running mmcache.php shows mmcache not installed.

    Is there a workaround or fix? Is there an install problem -- something I'm misisng?

    The only references to sprintf are:

    content.c:    sprintf(etag,"ETag: mmcache-%u",mmcache_crc32(Z_STRVAL_P(return_value),Z_STRLEN_P(return_value)));
    mmcache.c:  sprintf(buf, "%ld%ld%0.8f", tv.tv_sec, tv.tv_usec, php_combined_lcg(TSRMLS_C) * 10);