| From: | PANAGIOTIS GERMANIS <pgermanis(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Mac OSX 10.6 libpq.5.dylib |
| Date: | 2011-02-19 11:46:10 |
| Message-ID: | 298401A4-3348-446F-B777-8CBE4BAC88A2@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
My application builds successfully in Xcode and runs without problems in my mac (running snow leopard 10.6.6) because I have properly installed the postgres 9.0 software.
But when I am trying to run my application in an other mac (that hasn't the postgres installed) I get the following error:
Dyld Error Message:
Library not loaded: libpq.5.dylib
Referenced from: /Volumes/Documents/Projects/Mac_Software/iMacProjects/macReport/build/Release/macReport.app/Contents/MacOS/macReport
Reason: image not found
My application bundle includes libpq.5.dylib into the Frameworks folder.
I faced similar problem with mySQL libraries and resolved them using the following commands in terminal:
install_name_tool -change /usr/local/mysql/lib/libmysqlclient.16.dylib @executable_path/../Frameworks/libmysqlclient.16.dylib macReport
install_name_tool -change /usr/local/mysql/lib/libmysqlclient_r.16.dylib @executable_path/../Frameworks/libmysqlclient_r.16.dylib macReport
I tryed to do the same with libpq.5.dylib but the problem remains.
If you have any idea how to solve this error please respond.
THANKS
___________________________________
Panos Germanis
Software Engineer
pgermanis(at)gmail(dot)com
mob: 6944339998
"Peace cannot be kept by force. It can only be achieved by understanding."
(Albert Einstein)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andy Colson | 2011-02-19 13:49:22 | Re: mysql 2 pg script... |
| Previous Message | Radosław Smogura | 2011-02-19 11:33:21 | Re: Postgresql prepared transactions |