Hi all;
I am a newbie here. I need to distribute a binary that depends on a library. On PC, I just copy them over to the same folder and it works. But my Mac programming friends sent me the Mac version of the application, they said I have to copy the library to usr/local/lib but when I try that, it gives me permission denied error.
This piece may go out as an install in which case I have root privileges, but in other cases, it may be just an update, so I can't assume that. Is there something I can do like setting some environment variable or possibly an alternative location with lower security constraints?
Thank you soooo much.
I am a newbie here. I need to distribute a binary that depends on a library. On PC, I just copy them over to the same folder and it works. But my Mac programming friends sent me the Mac version of the application, they said I have to copy the library to usr/local/lib but when I try that, it gives me permission denied error.
This piece may go out as an install in which case I have root privileges, but in other cases, it may be just an update, so I can't assume that. Is there something I can do like setting some environment variable or possibly an alternative location with lower security constraints?
Thank you soooo much.