Library search paths
Posted
by
David Clements
on Ask Ubuntu
See other posts from Ask Ubuntu
or by David Clements
Published on 2012-12-14T17:14:01Z
Indexed on
2012/12/14
17:18 UTC
Read the original article
Hit count: 265
libraries
This question originally started in an apparent problem in Cups calling various back-ends and using non-standard library search paths. If I want to change a library search path for a app running in a terminal I can use LD_LIBRARY_PATH, RPATH, etc., but if I want to change a library path for a Cups back end, I subsequently resolved the Cups issue, but I don't see any mechanism to change the search path whare an app is not running in terminal.
For example Cups calls backendA and backendB to print on 2 printers, BackendA uses libxxx.1.15 and BackendB needs libxxx.1.05, is there any way to change the library search path for backendB (only) without recompiling backendB, (I may not have the source)?
Any ideas?
© Ask Ubuntu or respective owner