From: | Scott Ribe <scott_ribe(at)elevated-dev(dot)com> |
---|---|
To: | PANAGIOTIS GERMANIS <pgermanis(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Mac OSX 10.6 libpq.5.dylib |
Date: | 2011-02-20 04:30:38 |
Message-ID: | BD1001D0-65CD-41A6-8740-5E586E77E71C@elevated-dev.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Feb 19, 2011, at 4:09 AM, PANAGIOTIS GERMANIS wrote:
> 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
There are two ways I know of to get that error:
- The dylib is being looked for at the wrong location, which is of course what the install_name_tool command is about. You need to understand what you're actually doing with that command, what the library dependencies actually are and so on, and make sure you're doing it right.
- The dylib might be located, but might not contain the correct architecture. You need to make sure you're building a fat lib that includes all architectures that your app will support.
--
Scott Ribe
scott_ribe(at)elevated-dev(dot)com
http://www.elevated-dev.com/
(303) 722-0567 voice
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2011-02-20 04:39:35 | Re: Building extensions on Windows using VS2008 |
Previous Message | John R Pierce | 2011-02-20 04:16:11 | Re: How to make the user-defined function or type being accessed in the global database server? |