I'm having trouble getting lib mm working w/ php. Anyone have a clue where I am screwing up?
First, I'm building and installing MM (from my build script):
echo "building mm"
sleep 2
cd $dir/$mm
./configure
make && make install
libtool --finish /usr/local/lib
Then building PHP w/ mm enabled:
echo "building php"
sleep 2
cd $dir/$php
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=$dir/$mysql \
--with-pfpro=$dir/$pfpro \
--with-mm=$dir/$mm \ #points to the MM source dir
--with-gd=$dir/$gd --enable-track-vars
make && make install
when I try to restart apache, I get:
Cannot load /usr/local/apache/libexec/libphp4.so into server: libmm.so.11: cannot open shared object file: No such file or directory
/usr/local/apache/bin/apachectl startssl: httpd could not be started
Even though it is all over my machine:
% find / -name libmm.so.11
/usr/lib/lib/libmm.so.11
/usr/local/lib/libmm.so.11
/usr/local/src/mm-1.1.3/.libs/libmm.so.11
/usr/local/apache/libexec/lib/libmm.so.11
/usr/loca/lib/lib/libmm.so.11
Any advice?
Thanks.
-F