Dyld: library not loaded: /Volumes/hd2/pb2/build/sb_0-18231254-1457628263.05/unixODBC-2.3.2-osx10.8-x86-64bit/lib/libodbc.2.dylib

Does anyone know a solution for a specific problem? I am trying to install the ODBC connector on Mac OS X 10.9.5, however I get a message stating that a specific file was not found:

$ myodbc-installer -a -d -n "MySQL ODBC 5.2 Driver" -t "Driver=/usr/local/lib/libmyodbc5w.so" 

dyld: library not loaded: /Volumes/hd2/pb2/build/sb_0-18231254-1457628263.05/unixODBC-2.3.2-osx10.8-x86-64bit/lib/libodbc.2.dylib Link from: / usr / local / bin / myodbc-installer Reason: image not found

I used otool to track an unreasonable file:

 $ otool -L myodbc-installer 

MyODBC installer:

/Volumes/hd2/pb2/build/sb_0-18231254-1457628263.05/unixODBC-2.3.2-osx10.8-x86-64bit/lib/libodbc.2.dylib (compatibility version 3.0.0, current version 3.0.0)

/Volumes/hd2/pb2/build/sb_0-18231254-1457628263.05/unixODBC-2.3.2-osx10.8-x86-64bit/lib/libodbcinst.2.dylib (compatibility version 3.0.0, current version 3.0. 0)

/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)

/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)

/ usr / lib / libC ++. 1.dylib (compatibility version 1.0.0, current version 120.0.0)

/Volumes exists, but everything after /hd2 does not exist on my disk. What to do? Thanks in advance!

+5
source share
1 answer

installing unixodbc formula with brew fix this for me.

 brew install unixodbc 
+1
source

Source: https://habr.com/ru/post/1245865/


All Articles