From decda93b269df29be6707cbf8e635310f8002024 Mon Sep 17 00:00:00 2001
From: Emiel Bruijntjes
This will start the compiler and build the library.
- If you compile the software on OSX, you may run into linking and "unresolved
- symbol" errors. In that case you will have to make a change to the Makefile.
- Somewhere in this Makefile there is an option "LINKER_FLAGS". This option
- should be extended, and the extra flag "-undefined dynamic_lookup" should
- be added to it.
-
After you ran 'make', and the PHP-CPP library was built, all that is left to do is
install it on your system. You can use the "make install" command for it.
@@ -72,8 +62,27 @@
Compiling on OSX?
-sudo make install
+ We've heard reports from some users that when they try to run their first extension, + an error is reported that the "libphpcpp.so" can not be located on their system. + To fix this, you should update the shared library cache on your system. This + can be done with the "ldconfig" command. +
++
sudo make install
+
That was it! After these steps you are now the happy owner of a system with PHP-CPP installed and nothing can stop you from building your first fast native PHP extension.
+ ++ If you try to compile the software on OSX, you may run into linking and "unresolved + symbol" errors. In that case you should make a change to the Makefile. + Somewhere in the Makefile there is an option "LINKER_FLAGS". This option + should be modified, the flag "-undefined dynamic_lookup" should + be added to it. +
+ -- cgit v1.2.3