asfernandes / node-firebird-drivers

Node.js Firebird Drivers
MIT License
53 stars 17 forks source link

createNativeClient fails in mac OS #29

Closed mreis1 closed 4 years ago

mreis1 commented 4 years ago

Cannot load Firebird client library: 'libfbclient.dylib'. Error: Cannot load Firebird client library: 'libfbclient.dylib'.

Due to: https://forum.lazarus.freepascal.org/index.php?topic=8128.0

asfernandes commented 4 years ago

@mreis1 if it's due to the problem you pointed out, fix seems out of scope of that library, no?

Isn't a installation problem of Firebird?

mreis1 commented 4 years ago

I completely agree with you @asfernandes but I would still state the known issue in the README file of this project and point out the solution.

For example:

Warning for MacOS users Make sure to create a symlink of your firebird installation into /usr/local/lib/libfbclient.dylib You can do so by running sudo ln -s /Library/Frameworks/Firebird.framework/Versions/A/Firebird /usr/local/lib/libfbclient.dylib

If you don't do this, you will not be able to use this library due to:

Cannot load Firebird client library: 'libfbclient.dylib'.
Error: Cannot load Firebird client library: 'libfbclient.dylib'. 

What do you think?

asfernandes commented 4 years ago

Ok, will do. Could you please also create a ticket in Firebird tracker http://tracker.firebirdsql.org ?

mreis1 commented 4 years ago

Done: http://tracker.firebirdsql.org/browse/CORE-6117