[CMake] works when I build using XCode, but not with CMake makefile

clinton at elemtech.com clinton at elemtech.com
Fri Sep 9 10:36:56 EDT 2016


----- On Sep 7, 2016, at 12:52 PM, Cotton Candy <cottoncandycoder at gmail.com> wrote: 

> Here is the output from otool -L on skedmo-solver that you requested:

> skedmo-solver:
> libmysqlclient.18.dylib (compatibility version 18.0.0, current version 18.0.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
> 1197.1.1)
> /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
> /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)

> on /usr/lib/libmysqlclient.18.dylib I get an error
> aaron-schurgers-computer-3:lib schurger$ otool -L libmysqlclient.18.dylib
> error:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool:
> can't open file: libmysqlclient.18.dylib (No such file or directory)

> even though the file libmysqlclient.18.dylib is clearly there when I do ls

Try doing "ls -l" 
Perhaps its a softlink to a file which doesn't exist. 

Clint 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160909/84da1fef/attachment-0001.html>


More information about the CMake mailing list