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

Cotton Candy cottoncandycoder at gmail.com
Mon Sep 12 07:12:21 EDT 2016


Thanks.
I checked the link (it is a softlink) and the target of the link exists
with a file size of 4.2 Mb.

Aaron

On Fri, Sep 9, 2016 at 4:36 PM, <clinton at elemtech.com> wrote:

>
>
> ----- 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/20160912/8194a123/attachment.html>


More information about the CMake mailing list