Community mailing list archives
Re: OS X El Capitan 10.11 Odoo Server Errorby
This issue is solved.
libpq.5.dylib need to be replaced.
sudo mv /usr/lib/libpq.5.dylib /usr/lib/libpq.5.dylib.old
sudo ln -s /Library/PostgreSQL/9.4/lib/libpq.5.dylib /usr/lib
But in order to replaced, we need to disable SIP.
How to disable SIP : http://stackoverflow.com/questions/32590053/copying-file-under-root-got-failed-in-os-x-el-capitan-10-11/32590885#32590885
On Oct 1, 2015, at 22:39, Suhendri Wijaya <email@example.com> wrote:Hi All,I'm using Mac with Odoo v8 installed in OS X Yosemite 10.10 and works fine. I'm using Postgre SQL 9.4.4. This morning just upgraded to OS X El Capitan 10.11 and server is not running with errors as below:File "/Users/Hok/Odoo/v8/openerp/models.py", line 57, in <module>import psycopg2File "/Library/Python/2.7/site-packages/psycopg2/__init__.py", line 50, in <module>from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWIDImportError: dlopen(/Library/Python/2.7/site-packages/psycopg2/_psycopg.so, 2): Library not loaded: libpq.5.dylibReferenced from: /Library/Python/2.7/site-packages/psycopg2/_psycopg.soReason: unsafe use of relative rpath libpq.5.dylib in /Library/Python/2.7/site-packages/psycopg2/_psycopg.so with restricted binaryIf somebody has fixed it, please let me know. Thanks.Best Regards,黄福侊