0

I have already followed this link and installed mongosqld in my Mac OS. Now, I can see the folder under contents under bin/mongosqld.

But, when I followed this link and launched /bin/mongosqld, I got the error:

$ bin/mongosqld 
dyld: Library not loaded: /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib
  Referenced from: /Users/chengtie/Downloads/mongodb-bi-osx-x86_64-v2.13.4/bin/mongosqld
  Reason: image not found
Abort trap: 6

Does anyone know how to fix this?

SoftTimur
  • 5,630
  • 38
  • 140
  • 292

1 Answers1

0

You need to install OpenSSL 1.1 if you haven't already.

If the libraries were not installed at /usr/local/opt/openssl@1.1/lib/ (I believe this is the default location if you install via HomeBrew), you will need to set up the environment so the linker can find them.

See Is it OK to use DYLD_LIBRARY_PATH on Mac OS X? And, what's the dynamic library search algorithm with it?

Joe
  • 25,000
  • 3
  • 22
  • 44
  • i have install mongosql bi connector but how would i run this as background because to start in i have to run this as by typing mongosql in terminal – Hassan Shafique Mar 04 '22 at 12:02