I have a CMake C++ dylib project that builds correctly in one MacOS X
environment but fails in another. Environments are on the same machine, but
under different users. I'm seeking help how to do I troubleshoot where the
failure in the second one comes from.What I managed to figure out is that i
Gonzalo,
Could you please elaborate, where should I check it? Will CMake indeed generate
-L/usr/local/lib argument for the linker if it sees something in
LD_LIBRARY_PATH?
Do you have any insight why other flags (-arch, -isysroot) get generated in one
environment, but not the other?
WBR Ole
El 24/08/15 a las 16:13, Oleg Zhylin escibió:
Gonzalo,
Could you please elaborate, where should I check it?
In the shell, do:
echo $LD_LIBRARY_PATH
and check the directories. I am not sure cmake pays attention to it,
but I believe it might.
--
Powered by www.kitware.com
Please keep
I confirmed there's nothing in $LD_LIBRARY_PATH in both the environment where
the build succeeds and where it fails.
I will gladly try other suggestions.
WBR Oleg Zhylin o...@yahoo.com
On Monday, August 24, 2015 12:16 PM, Gonzalo wrote:
El 24/08/15 a las 16:13, Oleg Zhylin