Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kamalsofteng

macrumors newbie
Original poster
Mar 24, 2009
1
0
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.