Bug 120004 - devel/ZendOptimizer does not work on 7.0-BETA4
Summary: devel/ZendOptimizer does not work on 7.0-BETA4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
Depends on:
Reported: 2008-01-26 13:20 UTC by Cristian KLEIN
Modified: 2008-01-26 13:50 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Cristian KLEIN 2008-01-26 13:20:01 UTC
I am running lighttpd with PHP5-FCGI and ZendOptimizer. When starting lighttpd, the following error occurs:

hosting# /usr/local/etc/rc.d/lighttpd restart
Performing sanity check on lighttpd configuration:
Syntax OK
Stopping lighttpd.
Waiting for PIDS: 7946.
Starting lighttpd.
hosting# Failed loading /usr/local/lib/php/20060613/ZendExtensionManager.so:  Shared object "libm.so.4" not found, required by "ZendExtensionManager.so"
Failed loading /usr/local/lib/php/20060613/ZendExtensionManager.so:  Shared object "libm.so.4" not found, required by "ZendExtensionManager.so"
Failed loading /usr/local/lib/php/20060613/ZendExtensionManager.so:  Shared object "libm.so.4" not found, required by "ZendExtensionManager.so"
Failed loading /usr/local/lib/php/20060613/ZendExtensionManager.so:  Shared object "libm.so.4" not found, required by "ZendExtensionManager.so"

And ZendOptimizer is not started.


It seems that libm.so.5 is able to provide Zend everything he needs:

# ln -s /lib/libm.so.5 /lib/libm.so.4

My opinion is that pkg-message should be changed to show the above message.
How-To-Repeat: 1) Install lighttpd:
# pkg_add -r lighttpd

2) Install php5 and extensions
# pkg_add -r php5
# pkg_add -r php5-extensions

3) Enable PHP5-FCGI in Lighttpd
Edit /usr/local/etc/lighttpd.conf like it says on

4) Install ZendOptimizer
# cd /usr/ports/devel/ZendOptimizer
# make install
Edit php.ini as it says in pkg-message.

5) Start lighttpd
# /usr/local/etc/rc.d/lighttpd forcestart
Comment 1 Edwin Groothuis freebsd_committer 2008-01-26 13:20:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2008-01-26 13:44:59 UTC
ale         2008-01-26 13:44:55 UTC

  FreeBSD ports repository

  Modified files:
    devel/ZendOptimizer  Makefile 
  Add support for FreeBSD 7.x.
  PR:             ports/120004
  Submitted by:   Cristian KLEIN <cristi@net.utcluj.ro>
  Revision  Changes    Path
  1.31      +3 -0      ports/devel/ZendOptimizer/Makefile
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alex Dupre freebsd_committer 2008-01-26 13:45:10 UTC
State Changed
From-To: open->closed

Fixed, thanks.