Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

Facing issues using mysql-connector-c++ on macOS 10.14 (no replies)

$
0
0
Hello,

Ive just installed the new mysql connector c++ v8 and it is problematic.

The library is not loading and it is asking for libmysqlcppconn.7.dylib, which i symlinked in /usr/local/lib, the same for some others but now there's a boost library error.

```
dyld: Library not loaded: /usr/local/opt/mysql-connector-c++/lib/libmysqlcppconn.7.dylib
Referenced from: /Users/sagunkho/CLionProjects/Horizon/build/./../bin/char
Reason: image not found
Abort trap: 6
fun:build sagunkho$ ./../bin/char
dyld: Library not loaded: libssl.1.0.0.dylib
Referenced from: /usr/local/lib/libmysqlcppconn.7.dylib
Reason: image not found
Abort trap: 6
fun:build sagunkho$ ./../bin/char
dyld: Library not loaded: libssl.1.0.0.dylib
Referenced from: /usr/local/lib/libmysqlcppconn.7.dylib
Reason: image not found
Abort trap: 6
fun:build sagunkho$ ./../bin/char
dyld: Library not loaded: libcrypto.1.0.0.dylib
Referenced from: /usr/local/lib/libmysqlcppconn.7.dylib
Reason: image not found
Abort trap: 6
fun:build sagunkho$ ./../bin/char
dyld: lazy symbol binding failed: Symbol not found: __ZN5boost6system15system_categoryEv
Referenced from: /Users/sagunkho/CLionProjects/Horizon/build/./../bin/char
Expected in: /usr/local/opt/boost/lib/libboost_system-mt.dylib

dyld: Symbol not found: __ZN5boost6system15system_categoryEv
Referenced from: /Users/sagunkho/CLionProjects/Horizon/build/./../bin/char
Expected in: /usr/local/opt/boost/lib/libboost_system-mt.dylib

Abort trap: 6
fun:build sagunkho$

```

When compiling on xcode it asks for libmysqlcppconn8.1.dylib which is not loaded and the image isn't found.

I'm using macos 10.14 and have installed the package from the download section.

Any help will be appreciated, thanks.

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>