I generated my shared library in 64bit on AIX, but when I ran ldd, it says:
Could not load program libmylib.so:
Could not load module libmylib.so.
The module has an invalid magic number.
Anyone knows how to list library dependencies with 64bit shared library on AIX?
If you... (1 Reply)
Hi
I have one libXYZ.a executable.
When i did ldd on that file, it gives me error like
"Cannot find /usr/ccs/lib//libpthread.a(shr_xpg5.o)".
The same library is loaded by the libABC.a executable.
The file location is added to "LIBPATH" variable.
And also libpthread.a is present... (4 Replies)
how to make a line BLINKING in output and also how to increase font size in output
suppose in run a.sh script
inside echo "hello world "
i want that this should blink in the output and also
the font size of hello world should be big ..
could you please help me out in this (3 Replies)
I tried to compile php and integrate it into apache on solaris.
It compiled ok and I created a package. If I install it on a system that has the libpng from sunfreeware, it wants to use that library instead of the system SUNWpng. It doesn't run using SMCpng, but it runs using the system SUNWpng.... (4 Replies)
Hi All,
I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file.
Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 Replies)
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
I ran the following command.
cat abc.c > abc.c
I got message the following message from command cat:
cat: abc.c : input file is same as the output file
How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
I have given the relevant details below. Why are the libraries in
/export/home/builds/pc9x_root/960/build/powrmart/pmbuild/bin/SunOS.64.r are invisible to ldd?
%setenv
... (3 Replies)
Discussion started by: old_as_a_fossil
3 Replies
LEARN ABOUT NETBSD
ldd
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