Using two same shared libs
Dan Shimshoni
danshimsh at gmail.com
Sat Apr 2 14:34:08 IDT 2011
Hi,
For development and debugging needs I created my own version of libpam.so.0.
I want to run my application with this verson of libpam.so.0.
However, I don't want to replace /lib64/libpam.so.0 with
the libpam.so.0 I created, since it is from a dirrenet release of
libpam, and it will probably make problem with other essential programs
which uses it, like "/bin/login". Even if not, I would really want to get
an answer to this question: can you tell an application you run (let's
say it is
called "myapp") to use
a specifed library (which is located **not** in the default place for libraries,
like /lib or /lib64/, but elsewhere, like /work/myLibs? )
and assuming that other programs, which are running and cannot be stopped,
like login, are using a library with the same name, like libpam.so.0 in this
case?)
DS
More information about the Linux-il
mailing list