05-15-2008
thnks for reply
Hi
Im trying to install( locally build and install) berkely db on HP-UX11 ....Installation is perfect( im able to find executables) ...During installation i hve mentioned --prefix=/opt/dev ( im made all the files to be in this path)
i suppose now the loader would be searching in above mentioned path
how can i make the loader point /opt/dev/
/usr/lib/dld.sl: can't finf for shared library: libpthread_tr.1
/usr/lib/dld.sl:No such file or directory
Abort(core dumped)
i got the error error.......... according to u the file missing is libpthread.tr.1
BR
vasanth
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
This question deals with Solaris 2.8 and setuid programs. From research I've done so far, setuid programs ignore LD_LIBRARY_PATH; I've proven this and am OK with it. The thing I am not certain of how the C compiler is supposed to behave when it is invoked via a setuid program. Basically,... (0 Replies)
Discussion started by: WolfBoy
0 Replies
2. UNIX for Dummies Questions & Answers
Hello
I have just tried to install ns-allineone-2.31 on cygwin
cygwin is using the bash shell
it asks for somethings to be put into the LD_LIBRAY_PATH, here is a snippet of what it says.
(1) You MUST put /home/Chris/ns-allinone-2.31/otcl-1.13, /home/Chris/ns-allinone-2.31/lib, into your... (1 Reply)
Discussion started by: bysonary
1 Replies
3. UNIX for Dummies Questions & Answers
Hi, can anyone explain this terrm? should we setup it ?
Thanks (1 Reply)
Discussion started by: ccp
1 Replies
4. UNIX for Advanced & Expert Users
I would like to know the differences between LIB_PATH and LD_LIBRARY_PATH on Linux and SunOS.
I am getting an error while loading shared libraries on Linux (Omni works build environment) as shown below:
1:tradewind/dataaccess/*.pcc... (0 Replies)
Discussion started by: shafi2all
0 Replies
5. UNIX for Dummies Questions & Answers
I have googled around to find the difference between LD_LIBRARY_PATH & PATH. But the answers are creating more confusion.
What is exact difference between these two paths? (1 Reply)
Discussion started by: tostay2003
1 Replies
6. Solaris
Hi all!
I need to add new environment variable.
e.g. # setenv LD_LIBRARY_PATH "/usr/ucblib:"
#
I check:# env
LD_LIBRARY_PATH=/usr/ucblib:
After rebooting I don't see this variable.
Why don't save this variable?
Thanks. (5 Replies)
Discussion started by: wolfgang
5 Replies
7. Shell Programming and Scripting
Inside my csh script, I have the following command:
source ${HOME}/.login
When I execute my csh script, why do I get the following error message:
/cygdrive/c/WINDOWS/system32/export: Permission denied
This is what I have inside my .login
#!/bin/bash
export... (9 Replies)
Discussion started by: casau
9 Replies
8. AIX
I have a question on setting environmental variable LD_LIBRARY_PATH.
The case is that, i cannot execute wget on my AIX machine.
It return the following error:
exec(): 0509-036 Cannot load program wget because of the following errors:
0509-022 Cannot load module... (5 Replies)
Discussion started by: cstsang
5 Replies
9. Shell Programming and Scripting
Hi.,
Currently my LD_LIBRARY_PATH setting is,
LD_LIBRARY_PATH=/opt/app/product/11.2.0/client_1/lib
Now, I need to append the JAVA to this setting...
Can I set this way, Please suggest.
... (4 Replies)
Discussion started by: nuthakki
4 Replies
10. Shell Programming and Scripting
I am on Solaris .
I have written a script callled T_1.sh
#!/bin/sh
########################################################################################################
# # Source borne shell env.This is required for crontab to work as bip.sh uses environmental variables.... (24 Replies)
Discussion started by: rafa_fed2
24 Replies
LEARN ABOUT ULTRIX
environment.d
ENVIRONMENT.D(5) environment.d ENVIRONMENT.D(5)
NAME
environment.d - Definition of user session environment
SYNOPSIS
~/.config/environment.d/*.conf
/etc/environment.d/*.conf
/run/environment.d/*.conf
/usr/lib/environment.d/*.conf
/etc/environment
DESCRIPTION
The environment.d directories contain a list of "global" environment variable assignments for the user environment. systemd-environment-d-
generator(8) parses them and updates the environment exported by the systemd user instance to the services it starts.
It is recommended to use numerical prefixes for file names to simplify ordering.
For backwards compatibility, a symlink to /etc/environment is installed, so this file is also parsed.
CONFIGURATION DIRECTORIES AND PRECEDENCE
Configuration files are read from directories in /etc/, /run/, and /lib/, in order of precedence. Each configuration file in these
configuration directories shall be named in the style of filename.conf. Files in /etc/ override files with the same name in /run/ and
/lib/. Files in /run/ override files with the same name in /lib/.
Packages should install their configuration files in /lib/. Files in /etc/ are reserved for the local administrator, who may use this logic
to override the configuration files installed by vendor packages. All configuration files are sorted by their filename in lexicographic
order, regardless of which of the directories they reside in. If multiple files specify the same option, the entry in the file with the
lexicographically latest name will take precedence. It is recommended to prefix all filenames with a two-digit number and a dash, to
simplify the ordering of the files.
If the administrator wants to disable a configuration file supplied by the vendor, the recommended way is to place a symlink to /dev/null
in the configuration directory in /etc/, with the same filename as the vendor configuration file. If the vendor configuration file is
included in the initrd image, the image has to be regenerated.
CONFIGURATION FORMAT
The configuration files contain a list of "KEY=VALUE" environment variable assignments, separated by newlines. The right hand side of these
assignments may reference previously defined environment variables, using the "${OTHER_KEY}" and "$OTHER_KEY" format. It is also possible
to use "${FOO:-DEFAULT_VALUE}" to expand in the same way as "${FOO}" unless the expansion would be empty, in which case it expands to
DEFAULT_VALUE, and use "${FOO:+ALTERNATE_VALUE}" to expand to ALTERNATE_VALUE as long as "${FOO}" would have expanded to a non-empty value.
No other elements of shell syntax are supported.
Each KEY must be a valid variable name. Empty lines and lines beginning with the comment character "#" are ignored.
Example
Example 1. Setup environment to allow access to a program installed in /opt/foo
/etc/environment.d/60-foo.conf:
FOO_DEBUG=force-software-gl,log-verbose
PATH=/opt/foo/bin:$PATH
LD_LIBRARY_PATH=/opt/foo/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
XDG_DATA_DIRS=/opt/foo/share:${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}
SEE ALSO
systemd(1), systemd-environment-d-generator(8), systemd.environment-generator(7)
systemd 237 ENVIRONMENT.D(5)