Yes, the default firebird.conf (as produced by the build) is in the bin folder together with fbclient library. I have not changed any settings, however (so all settings are commented out)
I also placed firebird.msg file in the same folder. I've also tried running without firebird.conf, no change in behaviour. I have set DYLD_PRINT_LIBRARIES=1, and noticed that plugins/libEngine12.dylib is never loaded. That's surprising to me, on desktop it is being loaded quite early on. Mark -----Original Message----- From: Vlad Khorsun [mailto:hv...@users.sourceforge.net] Sent: 23 February 2017 16:43 To: firebird-devel@lists.sourceforge.net Subject: Re: [Firebird-devel] Firebird 3 on MacOS not working as an embedded server 23.02.2017 16:45, Mark De Wit wrote: > Hi all, > > > > I'm developing a cross-platform application, trying to use firebird for my > data storage. Everything works fine on Windows. > > > > On Mac, I have built firebird 3 from source (official release > 3.0.1.32609 sources), and isql runs fine. However, when linking my > application against libfbclient.dylib and calling > isc_dsql_execute_immediate() with a "CREATE DATABASE 'test.db' USER 'test' > PASSWORD 'test';" sql command, firebird returns the error message: "Unable to > complete network request to host "localhost". > > > > This would suggest to me that it's not running in embedded mode, but > trying to act like a client. The same statement in isql for my build works > fine, so the binaries appear to be ok? > > > > Is there anything in particular that I need to do to make libfbclient > act as an embedded server? Did I build it wrong (it was not a trivial build, > not many instructions to help)? > > > > Details, in case they are relevant: > > I have placed libfbclient.dylib.3.0.1 in the same folder as my binary, > and fixed the rpaths accordingly. The same bin folder also holds > libib_util.dylib, icu binaries etc. > > I've created a subfolder called plugins which holds libEngine12.dylib > and libfbtrace.dylib, as well as the intl subfolder for libfbintl.dylib. Do you have firebird.conf at the libfbclient folder ? Regards, Vlad ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel