[Qt-interest] macdeployqt sqlite icu
Timothy Reaves
treaves at silverfieldstech.com
Tue Dec 15 16:02:00 CET 2009
On Dec 15, 2009, at 3:28 AM, Sylvain Pointeau wrote:
> I had to do:
>
> sudo install_name_tool -change "libicuuc.42.dylib" "/usr/local/lib/libicuuc.42.dylib" libicui18n.42.1.dylib
> sudo install_name_tool -change "libicudata.42.dylib" "/usr/local/lib/libicudata.42.dylib" libicui18n.42.1.dylib
> sudo install_name_tool -change "libicudata.42.dylib" "/usr/local/lib/libicudata.42.dylib" libicuuc.42.1.dylib
>
> sudo install_name_tool -change "libicui18n.42.dylib" "/usr/local/lib/libicui18n.42.dylib" libsqlite3.dylib
> sudo install_name_tool -change "libicuuc.42.dylib" "/usr/local/lib/libicuuc.42.dylib" libsqlite3.dylib
> sudo install_name_tool -change "../lib/libicudata.42.1.dylib" "/usr/local/lib/libicudata.42.1.dylib" libsqlite3.dylib
>
> and it works now.
>
> but I don't think it is the normal way...
> how to force macdeployqt to look at the /usr/local/lib/ folder?
>
Did you custom compile sqlite?
The above are needed because that is where the libraries were found when compiled (in the current directory) - or set with install_name_tool. It is unfortunate, but common, to need to use install_name_tool on apps on the Mac. The project I work on has a cmake script that runs it with the install target.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091215/6a278909/attachment.html
More information about the Qt-interest-old
mailing list