03-22-2019
Quote:
Originally Posted by
colt
configure complained about the existence of another version of Glib, that already was installed in my system. However, when I adjusted LD_LIBRARY_PATH
Yes, LD_LIBRARY_PATH is for runtime, but when you
run configure this is
its runtime. Therefore it noticed that you are compiling against one
glibc but woud have been running (once you would have tried to run the compiled program) against another
glibc. This was why it complained. Most probably this was not an error but a warning, right?
Once you changed your runtime environment
configure saw that your compile-time environment and your runtime-environment would be the same and found nothing to complain about any more.
I hope this helps.
bakunin
This User Gave Thanks to bakunin For This Post:
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. HP-UX
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
5. 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
6. Solaris
Hi,
We currently have a Makefile which has the following option in LDFLAGS:
LDFLAGS_solaris= -G -library=%none
Can anyone please help on what the significance of -library=%none is ?
Thanks in advance. (1 Reply)
Discussion started by: jkbuilds
1 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
heart(3erl) Erlang Module Definition heart(3erl)
NAME
heart - Heartbeat Monitoring of an Erlang Runtime System
DESCRIPTION
This modules contains the interface to the heart process. heart sends periodic heartbeats to an external port program, which is also named
heart . The purpose of the heart port program is to check that the Erlang runtime system it is supervising is still running. If the port
program has not received any heartbeats within HEART_BEAT_TIMEOUT seconds (default is 60 seconds), the system can be rebooted. Also, if the
system is equipped with a hardware watchdog timer and is running Solaris, the watchdog can be used to supervise the entire system.
An Erlang runtime system to be monitored by a heart program, should be started with the command line flag -heart (see also erl(1) . The
heart process is then started automatically:
% erl -heart ...
If the system should be rebooted because of missing heart-beats, or a terminated Erlang runtime system, the environment variable HEART_COM-
MAND has to be set before the system is started. If this variable is not set, a warning text will be printed but the system will not
reboot. However, if the hardware watchdog is used, it will trigger a reboot HEART_BEAT_BOOT_DELAY seconds later nevertheless (default is
60).
To reboot on the WINDOWS platform HEART_COMMAND can be set to heart -shutdown (included in the Erlang delivery) or of course to any other
suitable program which can activate a reboot.
The hardware watchdog will not be started under Solaris if the environment variable HW_WD_DISABLE is set.
The HEART_BEAT_TIMEOUT and HEART_BEAT_BOOT_DELAY environment variables can be used to configure the heart timeouts, they can be set in the
operating system shell before Erlang is started or be specified at the command line:
% erl -heart -env HEART_BEAT_TIMEOUT 30 ...
The value (in seconds) must be in the range 10 < X <= 65535.
It should be noted that if the system clock is adjusted with more than HEART_BEAT_TIMEOUT seconds, heart will timeout and try to reboot the
system. This can happen, for example, if the system clock is adjusted automatically by use of NTP (Network Time Protocol).
In the following descriptions, all function fails with reason badarg if heart is not started.
EXPORTS
set_cmd(Cmd) -> ok | {error, {bad_cmd, Cmd}}
Types Cmd = string()
Sets a temporary reboot command. This command is used if a HEART_COMMAND other than the one specified with the environment variable
should be used in order to reboot the system. The new Erlang runtime system will (if it misbehaves) use the environment variable
HEART_COMMAND to reboot.
Limitations: The length of the Cmd command string must be less than 2047 characters.
clear_cmd() -> ok
Clears the temporary boot command. If the system terminates, the normal HEART_COMMAND is used to reboot.
get_cmd() -> {ok, Cmd}
Types Cmd = string()
Get the temporary reboot command. If the command is cleared, the empty string will be returned.
Ericsson AB kernel 2.14.3 heart(3erl)