Red Squirrel
[H]F Junkie
- Joined
- Nov 29, 2009
- Messages
- 9,223
I hate dealing with dependencies and lib files and all that crap in Linux as it's always a different fight from one system to the other as there's no consistency where stuff goes so stuff like lib paths, versions, etc are different and break.
I'm currently dealing with having to rewrite an application because of this as it wont compile on a new server due to that OS's libs being different or what not.
When using something like say libpng or mysql++ is there a way to simply convert those libs as pure include files so that when I compile my app all that stuff is simply included and it does not depend on anything else?
Failing that is there a way I can simply include the lib files with my program and have it link with those and not have to check the system if they're "installed"? Essentially I want my app to compile and run on ANY system without having to go through dependency hell. half the battle of dependency hell is making sure they're installed, the other half is making sure the program knows where to look because each system installs them in a different spot. I want to do way with having to install libs and I just want them included with my app. Is this something possible to do?
I'm currently dealing with having to rewrite an application because of this as it wont compile on a new server due to that OS's libs being different or what not.
When using something like say libpng or mysql++ is there a way to simply convert those libs as pure include files so that when I compile my app all that stuff is simply included and it does not depend on anything else?
Failing that is there a way I can simply include the lib files with my program and have it link with those and not have to check the system if they're "installed"? Essentially I want my app to compile and run on ANY system without having to go through dependency hell. half the battle of dependency hell is making sure they're installed, the other half is making sure the program knows where to look because each system installs them in a different spot. I want to do way with having to install libs and I just want them included with my app. Is this something possible to do?