Zeos dbo & debugger error lazarus / 15-macOS - Mac OS X ---------------------------------------------------------------------- luigi65 · 2009-02-12 08:51 I have created a form with only a TZConnection component, but when run from IDE the debugger will crash (see the attached image). My system is: Mac OSX 10.5.4 XCode 3.0 Lazarus 0.9.26 Zeoslib 6.6.4 The same configuration, but under Linux and Windows work fine. Can you help me? Thanks & goodbye ---------------------------------------------------------------------- Marc · 2009-02-15 16:19 can you paste the output of the [view] [debugger] [debugger output] ? ---------------------------------------------------------------------- luigi65 · 2009-02-16 16:25 Here the output of debugger: (gdb) <-gdb-set confirm off> ^done (gdb) <-gdb-set new-console off> ^error,msg="No symbol table is loaded.  Use the \"file\" command." (gdb) <-gdb-version> ~"GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct  2 04:07:49 UTC 2007)\n" ~"Copyright 2004 Free Software Foundation, Inc.\n" ~"GDB is free software, covered by the GNU General Public License, and you are\nwelcome to change it and/or distribute copies of it under certain conditions.\nType \"show copying\" to see the conditions.\nThere is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n" ~"This GDB was configured as \"i386-apple-darwin\"." ^done,version="6.3.50-20050815 (Apple version gdb-768)",rc_version="768",target="i386-apple-darwin",build-date="Tue Oct  2 04:07:49 UTC 2007" (gdb) <-gdb-set env Apple_PubSub_Socket_Render=/tmp/launch-q8i8Dm/Render> ^done (gdb) <-gdb-set env COMMAND_MODE=legacy> ^done (gdb) <-gdb-set env DISPLAY=/tmp/launch-5CpLCJ/:0> ^done (gdb) <-gdb-set env HOME=/Users/redred> ^done (gdb) <-gdb-set env LOGNAME=redred> ^done (gdb) <-gdb-set env PATH=/usr/bin:/bin:/usr/sbin:/sbin> ^done (gdb) <-gdb-set env SECURITYSESSIONID=4137a0> ^done (gdb) <-gdb-set env SHELL=/bin/bash> ^done (gdb) <-gdb-set env SSH_AUTH_SOCK=/tmp/launch-mpkWtr/Listeners> ^done (gdb) <-gdb-set env TMPDIR=/var/folders/TN/TN0cRrYhG-8WwqrheEcd9k+++TI/-Tmp-/> ^done (gdb) <-gdb-set env USER=redred> ^done (gdb) <-gdb-set env __CF_USER_TEXT_ENCODING=0x1F5:0:0> ^done (gdb) <-file-exec-and-symbols "/Developer/Projects/test-DB01/project1.app"> ---------------------------------------------------------------------- luigi65 · 2009-02-16 16:31 If I try to connect to database in design time I'm getting the error showed in attached image. The problem seems alike this http://forum.lazarus.freepascal.org/index.php/topic,6291.0.html, the search of libsqlite3.so instead of libsqlite3.dylib. ---------------------------------------------------------------------- Loesje · 2009-02-16 19:06 Quote from: luigi65 on February 16, 2009, 05:31:33 pmIf I try to connect to database in design time I'm getting the error showed in attached image. I think that ZEOS doesn't support OS/X. You can send the ZEOS- developers a bug report. QuoteThe problem seems alike this http://forum.lazarus.freepascal.org/index.php/topic,6291.0.html, the search of libsqlite3.so instead of libsqlite3.dylib. That was a sqldb-bug, which is fixed in the new fpc-version (2.2.4) But ZEOS uses their own db-client bindings. ---------------------------------------------------------------------- Marc · 2009-02-17 10:34 Quote from: luigi65 on February 16, 2009, 05:25:44 pmHere the output of debugger: [...] (gdb) <-file-exec-and-symbols "/Developer/Projects/test-DB01/project1.app"> Ehm... there is nothing after that ?  There must be some error response, otherwise the debugger won't show the Ooops.. ---------------------------------------------------------------------- luigi65 · 2009-02-17 10:43 Sorry that's all, you can see in the attach screenshot. ---------------------------------------------------------------------- Marc · 2009-02-17 15:05 Then it is hard to tell what's going wrong. Indeed maybe same issue as not finding correct lib.