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