Re: Mac OSX 10.6 libpq.5.dylib

Поиск
Список
Период
Сортировка
От Scott Ribe
Тема Re: Mac OSX 10.6 libpq.5.dylib
Дата
Msg-id BD1001D0-65CD-41A6-8740-5E586E77E71C@elevated-dev.com
обсуждение исходный текст
Ответ на Mac OSX 10.6 libpq.5.dylib  (PANAGIOTIS GERMANIS <pgermanis@gmail.com>)
Список 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.
Youneed 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
fatlib that includes all architectures that your app will support. 

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice





В списке pgsql-general по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: How to make the user-defined function or type being accessed in the global database server?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Building extensions on Windows using VS2008