OK, I am stumped.
I have two projects. One builds a dynamic link library and the other uses that dynamic link library.
Earlier today I deployed the dynamic link library to /usr/local/lib and that was OK. But, later today I had to rebuild the library and decided to reference the library directly from its project file location rather then /usr/local/lib.
So, I put the dynamic link library in my other project (the one that uses it) by moving it from one project window to the another. This seamed to work fine as I checked the references and they were correct, pointing to the proper location for the "debug" build of my dynamic link library which is the one I want to use.
But, now when I run my test program, the second project that uses the DYLIB, it fails because it can't find the library in /usr/local/lib. However, all my references point to the library project and also the search paths in the build settings are pointing to my other dynamic library project as they should.
So, is there a reason why I cannot reference a dynamic link library from a project file. Does it have to be deployed to /usr/local/lib. And, if this is the case, what do you guys do to get over the permissions problem without having to run under root or mess up the permissions on /usr/local/lib.