Re: [sqlite] sqlite ICU libs with otool

2009-12-14 Thread Sylvain Pointeau
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.

I don't know about those lib reference, do you think the problem comes from
macdeployqt?

Many thanks in advance,
Best regards,
Sylvain

On Mon, Dec 14, 2009 at 11:41 PM, Sylvain Pointeau <
sylvain.point...@gmail.com> wrote:

> Hi,
>
> I compiled sqlite 3.6.21 (ICU enabled) + icu 4.2.1
> I installed both in /usr/local/lib
> I also compiled the sqlite plugin of Qt linked with libsqlite3 located in
> /usr/local/lib
>
> the problem is when I want a single bundle with no external dependency.
> when I use macdeployqt, I have the following error:
> ERROR: no file at "/usr/lib/libicui18n.42.dylib"
> ERROR: no file at "/usr/lib/libicuuc.42.dylib"
>
> when I execute otool on libsqlite3.dylib
>
> otool -L libsqlite3.dylib
> libsqlite3.dylib:
> /usr/local/lib/libsqlite3.0.dylib (compatibility version 9.0.0, current
> version 9.6.0)
>  libicui18n.42.dylib (compatibility version 42.0.0, current version
> 42.1.0)
> libicuuc.42.dylib (compatibility version 42.0.0, current version 42.1.0)
>  ../lib/libicudata.42.1.dylib (compatibility version 42.0.0, current
> version 42.1.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
> 125.0.0)
>
> Why are the icu libs not linked as /usr/local/lib ?
> it may be the cause of my problem ...
>
> What do you think?
>
> Best regards,
> Sylvain
>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] sqlite ICU libs with otool

2009-12-14 Thread Sylvain Pointeau
Hi,

I compiled sqlite 3.6.21 (ICU enabled) + icu 4.2.1
I installed both in /usr/local/lib
I also compiled the sqlite plugin of Qt linked with libsqlite3 located in
/usr/local/lib

the problem is when I want a single bundle with no external dependency.
when I use macdeployqt, I have the following error:
ERROR: no file at "/usr/lib/libicui18n.42.dylib"
ERROR: no file at "/usr/lib/libicuuc.42.dylib"

when I execute otool on libsqlite3.dylib

otool -L libsqlite3.dylib
libsqlite3.dylib:
/usr/local/lib/libsqlite3.0.dylib (compatibility version 9.0.0, current
version 9.6.0)
libicui18n.42.dylib (compatibility version 42.0.0, current version 42.1.0)
libicuuc.42.dylib (compatibility version 42.0.0, current version 42.1.0)
../lib/libicudata.42.1.dylib (compatibility version 42.0.0, current version
42.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
125.0.0)

Why are the icu libs not linked as /usr/local/lib ?
it may be the cause of my problem ...

What do you think?

Best regards,
Sylvain
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users