Sponsored Content
Top Forums UNIX for Advanced & Expert Users What does LD_PRELOAD signify? Post 101772 by shriashishpatil on Monday 13th of March 2006 04:35:10 AM
Old 03-13-2006
What does LD_PRELOAD signify?

Hi,

What does LD_PRELOAD variable signify on HP-UX?


thanks in advance,
-Ashish
 

5 More Discussions You Might Find Interesting

1. Linux

LD_PRELOAD on x86_64 gives error from ld.so

I have implemented an interposer for open() and open64() system call. This interposer is implemented in interposer.c and I have compiled it in a shared library (libinterposer.so) using the following commands: gcc -g -fPIC -s -o interposer.o -c interposer.c gcc -s -g -shared -nostartfiles ... (0 Replies)
Discussion started by: Manish Mukherje
0 Replies

2. HP-UX

LD_PRELOAD on HP UX?

Hi , Is LD_PRELOAD supported on HP UX? I am having issues when i export the below export LD_PRELOAD=/usr/local/vertex/commtax_1.0.16/64bit/lib/libctq.so ldd /usr/local/vertex/commtax_1.0.16/64bit/lib/libctq.so /usr/lib/hpux64/dld.so: Unable to find library 'libodbc.so'. Killed Can... (2 Replies)
Discussion started by: psreddy1234
2 Replies

3. UNIX for Advanced & Expert Users

Preloading libraries.. LD_PRELOAD

well i know what LD_PRELOAD is. Now suppose i have hooked a function XDrawString in the my library (Mylib.so.1) and then used the command export LD_PRELOAD=/path/mylib.so.1 Now suppose i open Xeditor by typing 'xeditor' in the console, my library is geting used, so i knw that this applilcation is... (3 Replies)
Discussion started by: manchester
3 Replies

4. UNIX for Advanced & Expert Users

Declaring LD_PRELOAD system wide for dynamic loading

Dear Fellows; As being new to linux, i have tried to synamically load a custom library which overrides some system calls like conncet(), socket() etc.... for custom purposes. It works well, if declaring the environment path LD_PRELOAD and execution of the application to be override... (0 Replies)
Discussion started by: mzeeshan
0 Replies

5. Programming

LD_PRELOAD getting ignored .. can anyone tell me why ?

I had it working but i screwed up something and now i get me@mymachine:~$ LD_PRELOAD=/home/me/libf1.o ldd FCaller ERROR: ld.so: object '/home/me/libf1.o' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/home/me/libf1.o' from LD_PRELOAD cannot be preloaded: ignored. ERROR:... (3 Replies)
Discussion started by: NetworkLearning
3 Replies
TORSOCKS(1)                                                   General Commands Manual                                                  TORSOCKS(1)

NAME
torsocks - Shell wrapper to simplify the use of the torsocks(8) library to transparently allow an application to use a SOCKS proxy. Basi- cally a renamed, patched tsocks. SYNOPSIS
torsocks [application [application's arguments]] or torsocks [on|off] or torsocks DESCRIPTION
torsocks is a wrapper between the torsocks library and the application what you would like to run socksified. SUMMARY
By default, torsocks will assume that it should connect to the SOCKS proxy running at 127.0.0.1 on port 9050. This is the default address and port for Tor's socks server on most installations. In order to use a configuration file, you must set the environment variable TORSOCKS_CONF_FILE with the location of the file. If TORSOCKS_CONF_FILE is not set, torsocks will attempt to read the configuration file at /etc/torsocks.conf. If that file cannot be read, torsocks will use sensible defaults for most Tor installations, i.e. it will assume that you want to use a SOCKS proxy running at 127.0.0.1 (localhost) on port 9050. For further information on configuration, see torsocks.conf(5). OPTIONS
[application [application's arguments]] run the application as specified with the environment (LD_PRELOAD) set such that torsocks(8) will transparently proxy SOCKS connec- tions in that program [on|off] this option adds or removes torsocks(8) from the LD_PRELOAD environment variable. When torsocks(8) is in this variable all executed applications are automatically socksified. If you want to use this function, you HAVE to source the shell script from yours, like this: "source /usr/bin/torsocks" or ". /usr/bin/torsocks" Example: ". torsocks on" -- add the torsocks lib to LD_PRELOAD ". torsocks off" -- remove the torsocks lib from LD_PRELOAD [show|sh] show the current value of the LD_PRELOAD variable <without any argument> create a new shell with LD_PRELOAD including torsocks(8). AUTHOR
This script was created by Tamas SZERB <toma@rulez.org> for the debian package of tsocks. It (along with this manual page) have since been adapted into the torsocks project and modified. TORSOCKS
TORSOCKS(1)
All times are GMT -4. The time now is 07:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy