[Qt-interest] macdeployqt sqlite icu

Sylvain Pointeau sylvain.pointeau at gmail.com
Tue Dec 15 16:38:29 CET 2009


yes I compiled myself ICU and sqlite...
but I think the references are good,
I think it is much more a "bug" in macdeployqt
or it has something I don't understand


On Tue, Dec 15, 2009 at 4:02 PM, Timothy Reaves <
treaves at silverfieldstech.com> wrote:

>
> 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.
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091215/75175c38/attachment.html 


More information about the Qt-interest-old mailing list