Sponsored Content
Operating Systems AIX Set LD_LIBRARY_PATH to 1 or empty Post 302742583 by bakunin on Tuesday 11th of December 2012 09:44:00 AM
Old 12-11-2012
First off,

Code:
$LD_LIBRARY_PATH="1"

Will not set the variable "LD_LIBRARY_PATH", but a variable of the name whatever "$LD_LIBRARY_PATH" will evaluate to. Maybe it was only a typo of yours, i mention this just to be sure.

Second, "LD_LIBRARY_PATH" works like the "PATH" variable, just for libraries instead of executables. Why it works if you set it to the nonsense value of "1" i don't know. Whenever you create a new shell, "/etc/environment" and your local user environment (most times "~/.kshrc") is read and parsed in, probably presetting "LD_LIBRARY_PATH" to some sensible value. Have a look there to which value it is set.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

cc, setuid, and LD_LIBRARY_PATH

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

Bash LD_LIBRARY_PATH?

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

Ld_library_path

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

Difference between LIB_PATH and LD_LIBRARY_PATH

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... (1 Reply)
Discussion started by: shafi2all
1 Replies

5. UNIX for Advanced & Expert Users

Difference between LIB_PATH and LD_LIBRARY_PATH

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... (1 Reply)
Discussion started by: shafi2all
1 Replies

6. HP-UX

SHLIB_PATH or LD_LIBRARY_PATH

hi Im using HP-UX 11i,PARISC .... Where do i find SHLIB_PATH or LD_LIBRARY_PATH , i couldnt find in env, listing...... Moreover im trying to execute file its throwing me error usr/lib/dld.sl: Can't find path for shared library: libgcc_s.sl /usr/lib/dld.sl: No such file or directory... (3 Replies)
Discussion started by: vasanthan
3 Replies

7. UNIX for Dummies Questions & Answers

Ld_library_path & path

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

8. Shell Programming and Scripting

updating LD_LIBRARY_PATH

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

9. Shell Programming and Scripting

Ld_library_path

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

Problem with LD_LIBRARY_PATH

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
FASTJET-CONFIG(1)						   User Commands						 FASTJET-CONFIG(1)

NAME
fastjet-config - fastjet-config DESCRIPTION
This is FastJet configuration tool. Usage: fastjet-config [--help] [--version] [--prefix] [--cxxflags] [--libs] [--shared[=yes|no]] [--plugins[=yes|no]] [--rpath[=yes|no]] [--runpath] [--list-plugins] [--config] The arguments can be either queries (one must be present): --help prints this message and exits --version prints FastJet version and exits --prefix gets the FastJet installation directory --cxxflags returns the compilation flags to be used with C++ programs --libs returns the flags to pass to the linker or flags (optional): --shared controls whether you want to use the static or shared lib (default=yes) --plugins controls whether you also want to link the FastJet plugins (default=no) --rpath adds a -rpath argument at link-time that points to the directory where FastJet libraries are installed. This avoid having to set LD_LIBRARY_PATH at runtime when using shared libs in a non standard location (but may cause the program to inadvertently pick up other shared libraries that happen to be in the FastJet installation directory). (default=yes) --runpath at link-time, adds info about the directory where FastJet libraries are installed to the runpath (ELF systens only). This avoids having to set LD_LIBRARY_PATH at runtime when using shared libs in a non standard location but gives priority to an existing LD_LIBRARY_PATH. --list-plugins list all the available plugins --config shows a summary of how FastJet was configured AUTHOR
This manual page was written by Lifeng Sun <lifongsun@gmail.com> for the Debian system (but may be used by others). fastjet-config May 2012 FASTJET-CONFIG(1)
All times are GMT -4. The time now is 05:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy