Hi Mr. Cotton ;),
is the location of libmysqlclient* available through DYLD_LIBRARY_PATH
at runtime of your code?
Best,
P
On 09/06/2016 10:56 AM, Cotton Candy wrote:
Hi,
I have a project that I originally coded up using XCode. It builds and runs
just fine using XCode. Now I have tried to set up the same project using
CMake to generate a makefile. The project builds 100% without any errors
using 'make', but the resulting code doesn't work. I get error:
dyld: Library not loaded: libmysqlclient.18.dylib
Referenced from: /Users/schurger/tmp/test_CMake2/./skedmo-solver
Reason: image not found
Trace/BPT trap: 5
Any idea how it could build OK without any errors if there was a missing
library?
Thanks!
Aaron
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake