Deploy issue: libpq.5.dylib not found
Unsolved
General and Desktop
-
Created a macos dmg file using
macdeployqt
.Running the executable from the commandline gives me the following error:
$ ./Contents/MacOS/MezzoForta dyld[25086]: Library not loaded: /usr/lib/libpq.5.dylib Referenced from: <5ED931A8-FBD8-3364-B404-ABDD3190BC7B> /Volumes/MezzoForta/MezzoForta.app/Contents/MacOS/MezzoForta Reason: tried: '/usr/lib/libpq.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/libpq.5.dylib' (no such file), '/usr/lib/libpq.5.dylib' (no such file, not in dyld cache), '/usr/local/lib/libpq.5.dylib' (no such file) Abort trap: 6 roy@globe:/Volumes/MezzoForta/MezzoForta.app : $
However, the library is there:
$ find . -type f -print|grep libpq ./Contents/Frameworks/libpq.5.dylib
Is there anything I am missing?
Any pointers are greatly appreciated!Thanks,
Roy -
Hi,
Where do you have that library on your build machine ?