1 |
There are a handful of 3rd party, closed-source apps that I run on my |
2 |
Gentoo systems. Often they're available for RedHat or Ubuntu, |
3 |
sometimes for "generic" Linux. |
4 |
|
5 |
The apps for "generic" Linux usually run without too much trouble, |
6 |
since they tend to include most of the libraries they need bundled |
7 |
with the package or linked statically with the executable. |
8 |
|
9 |
Apps packaged for RedHat or Ubuntu tend to rely on the host for far |
10 |
more libraries (e.g. Qt or Gtk and underlying X11 stuff). Sometimes I |
11 |
have to copy some libraries from a RedHat or Ubuntu system and set |
12 |
LD_LIBRARY_PATH to point to that set of "private" libraries to get |
13 |
these apps running. Manually figuring out which libraries are |
14 |
required is a time-consuming and error-prone process. One of the ones |
15 |
I use regularly is going to stop working one of these days because it |
16 |
depends on qtwebkit-4.8, which has been EOL'ed on Gentoo. [So I'll |
17 |
have to grab one more library from an Ubuntu system.] |
18 |
|
19 |
I've been thinking about trying to automate this by installing the app |
20 |
on an Ubuntu or RedHat system and then running a bash script that uses |
21 |
ldd et alia to find and bundle up the set of required library files. |
22 |
(How deep to recurse in the tree of library dependencies will be a big |
23 |
question.) |
24 |
|
25 |
If I understand what containers are (never used them), it occurs to me |
26 |
that if I bundle up everything all the way down to libc and libgcc, I |
27 |
might as well be using a container, right? |
28 |
|
29 |
Is this a good use case for containers, or is there some other way to |
30 |
do this? |
31 |
|
32 |
-- |
33 |
Grant Edwards grant.b.edwards Yow! Yes, but will I |
34 |
at see the EASTER BUNNY in |
35 |
gmail.com skintight leather at an |
36 |
IRON MAIDEN concert? |