By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,901 Members | 1,297 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,901 IT Pros & Developers. It's quick & easy.

overriding the dynamic library

P: n/a
Hi,

I wonder how can we override the dynamic library loaded by ld on start
up.(dynamic linked application). so that linker uses the new library
to find symbols.

Is it possible to do.

May 28 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

you can set a default library path while linking or set the environment
to override the dynamic library:

http://godi.ocaml-programming.de/pro..._libraries.txt

ma*******@gmail.com schrieb:
Hi,

I wonder how can we override the dynamic library loaded by ld on start
up.(dynamic linked application). so that linker uses the new library
to find symbols.

Is it possible to do.
May 28 '07 #2

P: n/a
On May 28, 3:14 pm, Tobias Bergmann <t...@tobipage.dewrote:
Hi,

you can set a default library path while linking or set the environment
to override the dynamic library:

http://godi.ocaml-programming.de/pro..._libraries.txt

marika...@gmail.com schrieb:

Thaks for that..

It works when v set LD_LIBRARY_PATH to latest lib(lib we want),but
this happens on start up.

can we do this after loader did his job, by finding the address of
loaded library, and loading our library into this area.

May 28 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.