This will list the shared libraries it will try to open. libpopt.so.0 should exist in /usr/lib.
Or it should exist in one of the directories in the LD_LIBRARY_PATH environment variable. Anyway, the ldd command will show you where the program expects to find libpopt.so
Based on the name of the library in your example, I'm guessing it is a link to the earliest version of libpopt.so - try creating a link, if you have the shared library file.
Hi,
I am able to use rsync and run it thro' command line. But when I schedule a script file that has rsync command thro' cron, the job doesn't get executed. All other jobs in the cron runs fine.
cron entry--
57 13 * * * /home/apm/cron/rsync-backup.sh
rsync-backup.sh file--
rsync -avz... (1 Reply)
Hi,
I am able to use rsync and run it thro' command line. But when I schedule a script file that has rsync command thro' cron, the job doesn't get executed. All other jobs in the cron runs fine.
cron entry--
57 13 * * * /home/apm/cron/rsync-backup.sh
rsync-backup.sh file--
rsync -avz... (1 Reply)
hey all, i'm trying to rsync some dir's and files between servers and i've added an exclude statement, but it still goes out and tries to rsync the directory.
I've tried the following:
--exclude="/export/home/zones/lab"
as well as:
--exclude=/export/home/zones/lab
and also:... (1 Reply)
We are using Red Hat linux system.
I am transferring my rman backup files to another server.
Here is the command i am using to transfer the files.
/usr/bin/rsync -avpP --delete /xyz/xyz/ 99.99.999.99::db110bkp
Here is the rsync version.
>rsync --version
rsync version 3.0.6 ... (1 Reply)
I have tried rsync command as shown below, (if directory doesn't not exist on destination, i needs to create directories and sub directories through rsync at the destination server.)
Note: Here /thaks/new/28/ directories doesn't exists on destination, How to create this on destination via rsync... (1 Reply)
Hi all,
I have a backup script from my work computer to my home computer for my research for multiple reasons. It's a simple rsync script, with about 5 gigs of data. (Obviously with rsync it doesn't transfer 5 GB every time.).
Recently, it has stopped working, scp also doesn't work, it simply... (1 Reply)
copying daily changes from serverA to serverB using rsync(solaris8, v2.6.2) at root folder level.
serverA: cd /
rsync -a -vv --delete --checksum --sparse --stats --dry-run --exclude /tmp/ --exclude /proc/ --exclude /devices/ . root@<IP of ServerB>:/
This is generating mainly three debug... (0 Replies)
I am trying to automate a script where I need to use pbrun /bin/su but for some reason it is not passing thru the pbrun as my code below.
. ~/.bash_profile
pbrun /bin/su - content
c h 1
hpsvn up file path
I am executing this from an external .sh file that is pointing to this scripts file... (14 Replies)
I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location
I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
Hi Team,
I have written the shell script which returns the result of the disk space filesystems which has crossed the threshold limit in HTML Format. Below mentioned is the script which worked perfectly on QA system.
df -h | awk -v host=`hostname` '
BEGIN {
print "<table border="4"... (13 Replies)
Discussion started by: Harihsun
13 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