I have a locally built stack
project that copies an lib_.so
to a shared lib directory in El Capitan. This shared object is itself linked to a number of others, all of which are .so
files. I have another stack
project that references the first project as a local dependency and expects to find the shared library that it copies to the said directory, except that stack looks for lib_.dylib
in the shared directory and not lib_.so
. It predicably fails to find the file.
Is there a way to tell stack that it should use the .so
files? If I rename the root file to .dylib
stack can find it but then fails to find the other linked files, all of which are expected to be .dylib
.