LD.SO(1) BSD General Commands Manual LD.SO(1)NAME
ld.so -- run-time link-editor
DESCRIPTION
ld.so is a self-contained, position independent program image providing run-time support for loading and link-editing shared objects into a
process' address space.
For the particular details, refer to ld.aout_so(1) or ld.elf_so(1), depending on the system's object file format.
SEE ALSO ld(1), ld.aout_so(1), ld.elf_so(1), a.out(5), elf(5), link(5), ldconfig(8)
John R. Levine, Linkers and Loaders, Morgan Kaufmann, 1999.
BSD March 31, 2010 BSD
Check Out this Related Man Page
LDD(1) BSD General Commands Manual LDD(1)NAME
ldd -- list dynamic object dependencies
SYNOPSIS
ldd [-o] [-f format] program ...
DESCRIPTION
ldd displays all shared objects that are needed to run the given program. Contrary to nm(1), the list includes ``indirect'' dependencies
that are the result of needed shared objects which themselves depend on yet other shared objects. Zero, one or two -f options may be given.
The argument is a format string passed to rtld(1) and allows customization of ldd's output. The first format argument is used for library
objects and defaults to " -l%o.%m => %p
". The second format argument is used for non-library objects and defaults to " %o => %p
".
These arguments are interpreted as format strings a la printf(3) to customize the trace output and allow ldd to be operated as a filter more
conveniently. The following conversions can be used:
%a The main program's name (also known as ``__progname'').
%A The value of the environment variable LD_TRACE_LOADED_OBJECTS_PROGNAME in a.out and the program name from the argument vector from elf.
%o The library name.
%m The library's major version number.
%n The library's minor version number (a.out only, ignored in elf).
%p The full pathname as determined by rtld's library search rules.
%x The library's load address
Additionally,
and are recognized and have their usual meaning.
The -o option is an alias for -f %a:-l%o.%m => %p
, which makes ldd behave analogously to nm -o.
SEE ALSO ld(1), ld.elf_so(1), nm(1), rtld(1)HISTORY
A ldd utility first appeared in SunOS 4.0, it appeared in its current form in NetBSD 0.9A.
BUGS
The a.out ldd actually runs the program it has been requested to analyze which in specially constructed environments can have security impli-
cations.
BSD September 7, 2009 BSD
I made the fatal mistake of rename the usr directory.
I cannot run any commands due to the fact that ld.so.1 is in usr/lib/--and it doesn't exist
How can I recover my system? (1 Reply)
I renamed ld.so.1 on a Sun machine running Solaris 2.6. Now I cannot boot the system and I can use only very few commands in Maintenance Mode.
Can someone help me? (3 Replies)
Hi Friends,
I had been facing the below mentioned Error Messages for the past 2/3 days in my E3500 Server running Solaris 5.6,
Situation 1
----------------------------------------------------------------------
While starting the CRON
# /etc/init.d/cron start
# ld.so.1:... (1 Reply)
Hi Iam getting the following error...
ld.so.1: xxxx: fatal: relocation error: file /home/costar4/bin/xxxx: symbol __1cH__rwstdUInterlockedIncrement6Fpl_l_: referenced symbol not found.
Can anyone tell me anything in this ?
Thanks,
Sanja (1 Reply)
Hi Guys,
Please help me out. I am new to solaris. I am using solaris 10
___________________________________________________________
public class Filecheck{
public static void main(String args) {
System.out.println("LD_LIBRARY_PATH is : "+System.getProperty("java.library.path"));... (5 Replies)
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)
Why should you never rename ld.so.1 on a Solaris server?
if you were going to replace ld.so.1, how can you do it safely?
Please reply me soon.
Thanks,
Alberto (2 Replies)
Hi Friends
I have a compiler(Sun Forte,I believe) running in my Solaris 9 box.
since y'day my development team is finding this error when they compile:
ld.so.1: expr: fatal: libgmp.so.3: open failed: No such file or directory
I ran a search for this file and found it in one of my file... (2 Replies)
dear fellows;
i have used ld.so.preload file to override connect() function, dynamic library overriding, it did worked really fine ......
but i went on to struck in a situation ... within the overrided connect() i have used printf once to see IP and Port to whom the connect request is being... (1 Reply)
Hi,
A cron job CJ invokes a shell script SC. SC internally invokes multiple perl scripts. One of the perl scripts deals with Accurev (i am using Accurev CLI).
The first accurev command encountered is
accurev merge -i <<file_name>> (file name has absolute path)
When I run the perl script or... (1 Reply)
Hello all,
I am releatively new to Solaris and I am the System administrator for my branch at the FAA. This is the first time I can say I have really messed something up thankfully. My issue came up after installing and uninstalling Oracle Secure Backup which i felt I needed to do a clean... (7 Replies)
I am trying to start a server for a class I am in but... mysql won't start with this error ( ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) )
---------- Post updated at 03:51 PM ---------- Previous update was at 03:50 PM ----------
... (2 Replies)