diff options
author | Martijn Otto <martijn.otto@copernica.com> | 2015-06-10 12:55:43 +0200 |
---|---|---|
committer | Martijn Otto <martijn.otto@copernica.com> | 2015-06-10 12:55:43 +0200 |
commit | ea6170527b5d52f027e0ef666f72016570c88961 (patch) | |
tree | b84d4a64ad53b4dbeee518ff68ed7a34c9817862 | |
parent | e3bfac6027181aed6e54fe8128d7d28bc509e8aa (diff) | |
parent | decda93b269df29be6707cbf8e635310f8002024 (diff) |
Merge branch 'master' of github.com:CopernicaMarketingSoftware/PHP-CPP
-rw-r--r-- | documentation/install.html | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/documentation/install.html b/documentation/install.html index a498acb..753de5d 100644 --- a/documentation/install.html +++ b/documentation/install.html @@ -53,16 +53,6 @@ <p> This will start the compiler and build the library. </p> - -<h2 id="osx">Compiling on OSX?</h2> -<p> - 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. -</p> - <p> 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. @@ -73,7 +63,26 @@ <pre><code>sudo make install</code></pre> </p> <p> + 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. +</p> +<p> + <pre><code>sudo make install</code></pre> +</p> +<p> 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. </p> + +<h2 id="osx">Compiling on OSX?</h2> +<p> + 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. +</p> + |