Article 5EJQC To create a portable linux application

To create a portable linux application

by
BudiKusasi
from LinuxQuestions.org on (#5EJQC)
How is the definitive way to create a portable linux application having its own separated dependencies in a separated partition

Tried to have that for Audacious on Debian but even if it and its additional deps (not ready in Debian base as it installed) all collected and move in /opt partition, it search them on / system root.

e.g its deps
Code:/lib/x86_64-linux-gnu/libmount.so.1
/lib/x86_64-linux-gnu/libselinux.so.1
/lib/x86_64-linux-gnu/libresolv.so.2
/lib/x86_64-linux-gnu/libffi.so.6
/lib/x86_64-linux-gnu/libpcre.so.3
/lib/x86_64-linux-gnu/libicui18n.so.63
/lib/x86_64-linux-gnu/libicuuc.so.63
/lib/x86_64-linux-gnu/libpcre2-16.so.0
/lib/x86_64-linux-gnu/libdouble-conversion.so.1
/lib/x86_64-linux-gnu/libblkid.so.1
/lib/x86_64-linux-gnu/librt.so.1
/lib/x86_64-linux-gnu/libicudata.so.63
/lib/x86_64-linux-gnu/libuuid.so.1So how is the definitve correct way to make such app "portable" or like in its own "container" put in /opt partition?latest?d=yIl2AUoC8zA latest?i=K-DOO1PjMZA:E9QOoHmxGck:F7zBnMy latest?i=K-DOO1PjMZA:E9QOoHmxGck:V_sGLiP latest?d=qj6IDK7rITs latest?i=K-DOO1PjMZA:E9QOoHmxGck:gIN9vFwK-DOO1PjMZA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments