10-16-2017
I am assuming the LD_LIBRARY_PATH works in AIX as it does elsewhere. Please correct me if this is a bad assumption. EDIT: checked - 5.1 AIX and earlier uses LIBPATH, which may be brought forward to other newer releases. Newer releases use LD_LIBRARY_PATH as I expected.
See if you can successfully run the ldd command as yourself against the compiled program. Try it again as root user.
It could be that LD_LIBRARY_PATH needs to change for your user. The differences in output of the two ldd commands should give you a clue.
As an aside, subverting/reinventing system calls like exit() is generally a poor idea. And it is sometimes done by using replacement shared libraries and/or changing the LD_LIBRARY_PATH order of shared libraries.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm receiving an exit code 64 in our batch scheduler (BMC product control-m) executing a PERL script on UX-HP. Can you tell me where I can find a list of exit codes and their meaning. I'm assuming the exit code is from the Unix operating system not PERL. (3 Replies)
Discussion started by: jkuchar747
3 Replies
2. Shell Programming and Scripting
I have a function that returns a bunch of exit codes, say func1, and in my code I'm trying to execute that function in an if statement. This is the closest I could get.
f1call=`func1 $arg1 $arg2`
if ]; then
...
fi
When I run the script the function never gets called. What's the right way... (7 Replies)
Discussion started by: eur0dad
7 Replies
3. Programming
What is the difference between using exit(0) and exit(1) to exit a program? Which should I use? (9 Replies)
Discussion started by: enuenu
9 Replies
4. UNIX for Dummies Questions & Answers
My job is launched using this command: I'm at home and having VPN drops so I used nohup and background.
nohup perf_mon -c rating_4_multi,cfg &
The main script is PID 26119, and the sub task under it is 26118 which is not running - just sits there. 26119 runs forever but nothing else runs. I... (2 Replies)
Discussion started by: ido1957
2 Replies
5. Shell Programming and Scripting
Hello Friends,
Hope you are doing well.
I just need a help in executing multiple processes.
I've written a shell script which calls another scritps. But the problem is there are too many processes to run, and each process takes about a min to finish its execution.
So, I want to just... (3 Replies)
Discussion started by: singh.chandan18
3 Replies
6. Shell Programming and Scripting
Hi
In one of the script I am seeing some thing like exit 7,exit 1,exit 2,exit 3,exit 9,exit6.What is the difference between all of this exit.Can anyone help here please (3 Replies)
Discussion started by: ginrkf
3 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I have one shell script start.sh which executes another shell script test.sh something like below :test.sh -param1 -param2
In the test.sh there is one command for removing file:rm file1.bak
I want whenever I execute start.sh, it will execute test.sh and if it finds string rm... (7 Replies)
Discussion started by: ORAI
7 Replies
8. Shell Programming and Scripting
Hi,
I am writing shell script to automate few use cases for CLI interface. We have CLI interface which has bunch of commands. I am trying to execute one of the commands 'exit' as part of automation to exit from CLI object (not from shell script) in my shell script.
My intension is to execute... (4 Replies)
Discussion started by: Mahesh Desai
4 Replies
9. Shell Programming and Scripting
i have a "if .. then exit end " in s shell script on remote servers.
now the connection to the remote server got killed after i run this script on the remote servers. How do i run this script on remote hosts and still keep remote connections alive after executing the script.
Thank you. (10 Replies)
Discussion started by: moonmonk
10 Replies
LEARN ABOUT DEBIAN
fastjet-config
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)