开发者

Installing executable with linked libraries on other system (GCC)

I have an application which use some libraries on OS X and they are licensed by LGPL. I can link them statically or dynamically. Everything is working fine. But what should i do if i want to install my application on another computer with OS X? I mean, on another system there will not be those libraries already installed and application probably will not run. I should to place this libs somewhere (as i understand in the same directory with binary), where user can change it by another version (due to LGPL), but i don't understand how should i do it right. Can someone expla开发者_StackOverflow社区in this techinque?


Having had to face this myself recently, I advise you to start off immidiately by understanding how bundles work and making use of them (specifically, application bundles). Moreover you will have to understand how tools like install_name_tool works. Best of luck!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜