beatwaves.net

Making binary packages in Linux

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:

#!/bin/bash
export LD_LIBRARY_PATH=./libs
./binary
(Where ./binary is your executable)

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

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
five plus six equals
Solve this math question and enter the solution with digits. E.g. for "two plus four = ?" enter "6".