LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2004, 10:30 AM   #1
Nerox
Member
 
Registered: Jul 2004
Location: Spain
Posts: 111

Rep: Reputation: 20
Differences between LD_LIBRARY_PATH and LD_PRELOAD


Hello there, I would like to know what differences are between LD_LIBRARY_PATH and LD_PRELOAD environment variables. I know they are very similar, both are used by the linker.

Thanks In Advance
 
Old 10-01-2004, 09:03 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
They control the order in which the system looks for symbols when loading and libraries. See the dlopen manpage for more.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Differences between LD_LIBRARY_PATH and LD_PRELOAD Nerox Linux - General 1 05-12-2012 08:51 PM
segmentation fault while defining LD_PRELOAD javeree Linux - Software 0 01-10-2005 04:48 PM
Ld_library_path fng_#1 Linux - Software 4 09-20-2004 12:33 AM
How do I make my shared loader (ld-linux.so.1/ld.so) understand LD_PRELOAD? ic3 Slackware 1 11-02-2003 07:57 AM
Ld_library_path ? dahmad Linux - Newbie 5 02-22-2003 12:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration