summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-06-10 11:10:26 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-06-10 11:10:26 +0200
commitdecda93b269df29be6707cbf8e635310f8002024 (patch)
tree50c8b0ca60d0e641716f4dc24c1795095afcf467
parent158d0974df9207e89dc63b55812e0d073195f0f5 (diff)
Add "ldconfig" to the installation instructions
-rw-r--r--documentation/install.html29
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>
+