Making binary packages in Linux
2008-01-16
My school c++-project work was a game that uses ClanLib. I tried to show it to my friends, but it seems most distros don't have ClanLib version 0.8.0 available. The next obvious thing to do was to build a package with the libraries in it. I'm not quite sure I did it the best way possible, but at least I got the job done. This is how I did it:
Just built it like always, copied all necessary .so-files to ./libs and made a script for starting it:
(Where ./binary is your executable)
#!/bin/bash
export LD_LIBRARY_PATH=./libs
./binary
I spent quite a long time searching for examples on how to do this, but didn't find anything. Hopefully this helps someone...
Comments
Post new comment