Answer the question
In order to leave comments, you need to log in
How to specify the required shared library for assembly?
Dear Linux gurus, tell a newbie, or tell me where to read.
I'm using ubuntu 16.04
I downloaded and compiled sqlite(with like support for Cyrillic) , installed it, the library was installed in /usr/local/lib, and the system one is in /usr/lib/x86_64-linux-gnu
How can I install it as a system one?
Because when building an extension for php, php_sqlite.so it is going to work with the system one, and does not see mine
. Of course, I can simply replace it by rewriting the system one with my own, but it seems to me that this is not correct. (so far I did it, but I want to know how to do it right)
so question 2
1) how to build php_sqlite.so by pointing it to my library?
2) is it necessary to replace the system, and if necessary, how?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question