Re: [sqlite] sqlite3_analyzer issue on MacOS X 10.6.5

2010-12-08 Thread Marco Bambini
I just tried it on my Mac and this new build works pretty well.
Thanks a lot for your assistance.
--
Marco Bambini
http://www.sqlabs.com






On Dec 8, 2010, at 1:54 AM, Richard Hipp wrote:

> In Tue, Dec 7, 2010 at 7:15 PM, Richard Hipp  wrote:
>> On Tue, Dec 7, 2010 at 6:22 PM, Marco Bambini  wrote:
>>> Running sqlite3_analyzer on a MacOS X 10.6.5 results in the following issue:
>>> 
>>> dyld: Library not loaded: /usr/local/lib/libtcl8.6.dylib
>>>  Referenced from: /Users/marco/Desktop/sqlite3_analyzer
>>>  Reason: image not found
>>> Trace/BPT trap
>>> 
>>> Seems like a broken binary to me.
>>> Any idea?
>> 
>> I don't know how to statically link the TCL libraries on a Mac.  I
>> tried every combination of options I could think of and none of them
>> seem to work.
>> 
>> I think you just have to install TCL on your Mac in order to use
>> sqlite3_analyzer there.  Bummer.
> 
> I finally figured out how to statically link TCL on a Mac (you have to
> add "-framework CoreFoundation" to the compiler command-line)  I
> rebuilt using this recipe and put up a new image.  Please download the
> latest and try again.
> 
> 
>> 
>> 
>>> --
>>> Marco Bambini
>>> http://www.sqlabs.com
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> sqlite-users mailing list
>>> sqlite-users@sqlite.org
>>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>>> 
>> 
>> 
>> 
>> --
>> D. Richard Hipp
>> d...@sqlite.org
>> 
> 
> 
> 
> -- 
> D. Richard Hipp
> d...@sqlite.org
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

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


Re: [sqlite] sqlite3_analyzer issue on MacOS X 10.6.5

2010-12-07 Thread Richard Hipp
In Tue, Dec 7, 2010 at 7:15 PM, Richard Hipp  wrote:
> On Tue, Dec 7, 2010 at 6:22 PM, Marco Bambini  wrote:
>> Running sqlite3_analyzer on a MacOS X 10.6.5 results in the following issue:
>>
>> dyld: Library not loaded: /usr/local/lib/libtcl8.6.dylib
>>  Referenced from: /Users/marco/Desktop/sqlite3_analyzer
>>  Reason: image not found
>> Trace/BPT trap
>>
>> Seems like a broken binary to me.
>> Any idea?
>
> I don't know how to statically link the TCL libraries on a Mac.  I
> tried every combination of options I could think of and none of them
> seem to work.
>
> I think you just have to install TCL on your Mac in order to use
> sqlite3_analyzer there.  Bummer.

I finally figured out how to statically link TCL on a Mac (you have to
add "-framework CoreFoundation" to the compiler command-line)  I
rebuilt using this recipe and put up a new image.  Please download the
latest and try again.


>
>
>> --
>> Marco Bambini
>> http://www.sqlabs.com
>>
>>
>>
>>
>>
>>
>> ___
>> sqlite-users mailing list
>> sqlite-users@sqlite.org
>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>>
>
>
>
> --
> D. Richard Hipp
> d...@sqlite.org
>



-- 
D. Richard Hipp
d...@sqlite.org
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] sqlite3_analyzer issue on MacOS X 10.6.5

2010-12-07 Thread Simon Slavin

On 8 Dec 2010, at 12:15am, Richard Hipp wrote:

> I don't know how to statically link the TCL libraries on a Mac.  I
> tried every combination of options I could think of and none of them
> seem to work.
> 
> I think you just have to install TCL on your Mac in order to use
> sqlite3_analyzer there.  Bummer.

It works fine on my Mac running 10.6.5.  I haven't knowingly installed TCL (or 
MacPorts, or anything of the sort), but I do have Apple's Developer Tools 
installed.

Simon.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] sqlite3_analyzer issue on MacOS X 10.6.5

2010-12-07 Thread Richard Hipp
On Tue, Dec 7, 2010 at 6:22 PM, Marco Bambini  wrote:
> Running sqlite3_analyzer on a MacOS X 10.6.5 results in the following issue:
>
> dyld: Library not loaded: /usr/local/lib/libtcl8.6.dylib
>  Referenced from: /Users/marco/Desktop/sqlite3_analyzer
>  Reason: image not found
> Trace/BPT trap
>
> Seems like a broken binary to me.
> Any idea?

I don't know how to statically link the TCL libraries on a Mac.  I
tried every combination of options I could think of and none of them
seem to work.

I think you just have to install TCL on your Mac in order to use
sqlite3_analyzer there.  Bummer.


> --
> Marco Bambini
> http://www.sqlabs.com
>
>
>
>
>
>
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
D. Richard Hipp
d...@sqlite.org
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users