conf, and before the ldd command, I had to execute ldconfig first to load the change. I had this exact problem and I did manage to solve doing what you suggested. If your path show up, everything is setup correctly I had to set up LD_LIBRARY_PATH correctly I've addedĮxport LD_LIBRARY_PATH=/.bashrc instead of /etc/environment I noticed that /etc/ld.so.conf loads files looking like /etc/ld.so.conf.d/*.conf, thus the rename.Ĭheck that your system can find/resolve all the shared libraries with: Rename the file /etc/ld.so.conf.d/oracle-instantclient to /etc/ld.so.conf.d/nf. Which means that libmql1.so could not be found. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20170718/oci8.so' (tried: /usr/lib/php/20170718/oci8.so (libmql1.so: cannot open shared object file: No such file or directory), /usr/lib/php/20170718//usr/lib/php/20170718/oci8.so.so (/usr/lib/php/20170718//usr/lib/php/20170718/oci8.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Works except for one step point.Īfter following all the steps, php -m gave the following warning: Thank you very very much for usefull tips. ![]() ![]() Sudo sh -c "echo /opt/oracle/instantclient_12_2 > /etc/ld.so.conf.d/nf"Īnd then: ✘ /opt/oracle php -m | grep 'oci8' Tried: export LD_LIBRARY_PATH=/opt/oracle/instantclient_12_2 With Zend OPcache v7.2.18-1+ubuntu18.04.1++1, Copyright (c) 1999-2018, by Zend Technologiesĭid exactly the steps and found out libclntsh.so.12.1 is not found. Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
0 Comments
Leave a Reply. |