01-12-2015
I don't think LD_LIBRARY_PATH works that way. I don't think you can cram multiple paths into it. Just export LD_LIBRARY_PATH=/local/tools/wxpython/lib
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI All,
Suddenly don't know what happened to redhat linux 7.2 any program start then itsn't listing while using ps -ef
ex: ./xyz this xyz program pid not showing in ps-ef
Pls let me know what is the reason for the same.
Thanks a lot in advance
Bache (7 Replies)
Discussion started by: bache_gowda
7 Replies
2. Shell Programming and Scripting
Hi,
I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ).
Eg:
0000001
0000220
0001235
0000022
0000023
...........
.........
........
Like this i am having around 1500000 records. After adding... (23 Replies)
Discussion started by: thambi
23 Replies
3. Shell Programming and Scripting
Hi all,
I am very new to shell scripting.I have the requirement like
one program is there, if it is running leave like that only and if it is stopped it has to be restart and once again keep watching and it is stopped we a have to restart once agian.I want a shell script for this.Please help me... (10 Replies)
Discussion started by: bhas85
10 Replies
4. UNIX for Dummies Questions & Answers
In LINUX(CentOS, RedHat) is there a way to have the banner statement appear before the logon instead of after the logon? In UNIX and Windows the banner appears before a person actually logs on, what I'm seeing in LINUX is that it appears after the login(ftp, telnet, SSH).
Thanks (0 Replies)
Discussion started by: ejjones
0 Replies
5. Solaris
hi ,
I have a Solaris server which is part of a domain. The IP for this Solaris box is allocated dyanamically by a DHCP. Everytime the solaris box is restarted the IP gets changed. Being an admin what should i do to find the new ip of the Solaris server sitting at my location? Till now i get... (2 Replies)
Discussion started by: BalajiUthira
2 Replies
6. Shell Programming and Scripting
I want to copy large amount of files aproximately more than 20,000 files from one file system to another file system, but it gives me error like:
#cd /opt/appserver/images
#cp * /opt/appserver02/public/images
Argument list is too long
Also above mention error appear again when i run:
... (1 Reply)
Discussion started by: telnor
1 Replies
7. Shell Programming and Scripting
Hello everyone, I'm in need of some assistance. I'm currently enrolled in an introductory UNIX shell programming course and, well halfway through the semester, we are receiving our first actual assignment. I've somewhat realized now that I've fallen behind, and I'm working to get caught up, but for... (1 Reply)
Discussion started by: MrMagoo22
1 Replies
8. Shell Programming and Scripting
Hi All,
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies
9. Shell Programming and Scripting
Hi,
when i am trying below script
assume that below values are taken in code
#!/bin/ksh
if
then
echo usage: aNlist.sh QMGR NAME MQREQ
fi
NL=`echo 'dis qmgr'|runmqsc $1|grep REPOSNL|sed 's/.*REPOSNL\(.*\).*/\1/' |cut -d'(' -f2|cut -d')' -f1`
echo 'define nl('$NL_$2')... (25 Replies)
Discussion started by: darling
25 Replies
10. Shell Programming and Scripting
Hi All,
I have a small queries to get the character count
i tried with wc -c and wc -m but its not returend current result
For eg:
wc -c
wc -m
echo "Name" | wc -c
result: 5 but actually it should returned 4
Help me on this to ge the correct one.
Thanks!
----------... (4 Replies)
Discussion started by: siva.pitchai
4 Replies
LEARN ABOUT NETBSD
ldconfig
LDCONFIG(8) BSD System Manager's Manual LDCONFIG(8)
NAME
ldconfig -- configure the a.out shared library cache
SYNOPSIS
ldconfig [-cmrsSv] [directory ...]
DESCRIPTION
ldconfig is used to prepare a set of ``hints'' for use by the a.out run-time linker ld.so to facilitate quick lookup of shared libraries
available in multiple directories. ldconfig is only available on systems that use the ``a.out'' format for executables and libraries - on
ELF systems, all the work is done by ld.elf_so.
By default, it scans a set of built-in system directories, directories listed in /etc/ld.so.conf, and any directories specified on the com-
mand line (in the given order) looking for shared libraries and stores the results in the file /var/run/ld.so.hints to forestall the overhead
that would otherwise result from the directory search operations ld.so would have to perform to load required shared libraries.
The shared libraries so found will be automatically available for loading if needed by the program being prepared for execution. This obvi-
ates the need for storing search paths within the executable.
The LD_LIBRARY_PATH environment variable can be used to override the use of directories (or the order thereof) from the cache or to specify
additional directories where shared libraries might be found. LD_LIBRARY_PATH is a ':' separated list of directory paths that are searched
by ld.so when it needs to load a shared library. It can be viewed as the run-time equivalent of the -L switch of ld.
ldconfig is typically run as part of the boot sequence.
The following options are recognized by ldconfig:
-c Do not scan directories listed in /etc/ld.so.conf for shared libraries.
-m Merge the result of the scan of the directories given as arguments into the existing hints file. The default action is to build the
hints file afresh.
-r Lists the current contents of ld.so.hints on the standard output. The hints file will not be modified.
-s Do not scan the built-in system directory (/usr/lib), nor any directories listed in /etc/ld.so.conf for shared libraries.
-S Do not scan the built-in system directory (/usr/lib), for shared libraries. (Directories listed in /etc/ld.so.conf are still
scanned.)
-v Switch on verbose mode.
FILES
/var/run/ld.so.hints, /etc/ld.so.conf
SEE ALSO
ld(1), ld.so(1), ld.so.conf(5), link(5)
HISTORY
A ldconfig utility first appeared in SunOS 4.0, it appeared in its current form in NetBSD 0.9A.
SECURITY CONSIDERATIONS
Special care must be taken when loading shared libraries into the address space of set-user-ID programs. Whenever such a program is run,
ld.so will only load shared libraries from the ld.so.hints file. In particular, the LD_LIBRARY_PATH and LD_PRELOAD is not used to search for
libraries. Thus, the role of ldconfig is dual. In addition to building a set of hints for quick lookup, it also serves to specify the
trusted collection of directories from which shared objects can be safely loaded. It is presumed that the set of directories specified to
ldconfig is under control of the system's administrator. ld.so further assists set-user-ID programs by erasing the LD_LIBRARY_PATH and
LD_PRELOAD from the environment.
BSD
October 8, 2000 BSD