Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Cannot open shared object: when starting nrpe Post 302753433 by DGPickett on Tuesday 8th of January 2013 04:07:26 PM
Old 01-08-2013
Generally, dynamic library paths must be:
  • compiled in with -R or
  • in very standard places ld() defaults to, or
  • be in $LD_LIBRARY_PATH or whatever varaible your ld() prefers.
Sometimes it is simpler to make the app with static libraries, so they are copied in at compile time. Check linkages with "ldd -rsv executable_or_library"
 

10 More Discussions You Might Find Interesting

1. Linux

Shared Object File

Hi All, I created the share object file using gcc -shared -fpic mypp.cpp -o myp.so but, pls tell me how to link this .so file to my client program. Thanks (0 Replies)
Discussion started by: sarwan
0 Replies

2. Shell Programming and Scripting

Any way to access shared object using shell

Hi, I have created a shared object (abc.so) which has a function sum(int a, int b). Is there any way to load the "abc.so" and use the sum function using shell script.. thanks in advance (2 Replies)
Discussion started by: yhacks
2 Replies

3. Solaris

open SSL configuration in solaris 5.9 for NRPE plug-in

Hi guys, I have a linux box with nagios installed on it. I have configured some windows clients very easily and now i want to configure a unix client on it. Steps done: 1) installed nagios-plugins-1.4.13 2) downloaded nrpe-2.12, but while giving "./configure" command, it is throwing an... (1 Reply)
Discussion started by: Renjesh
1 Replies

4. Programming

libRmath.so: cannot open shared object file: No such file or directory

% locate Rmath /m/backup/backup/lib/R/include/Rmath.h /usr/lib/R/include/Rmath.h % gcc -g -o stand stand.c -I/usr/lib/R/include/ -lRmath -lm % ./stand ./stand: error while loading shared libraries: libRmath.so: cannot open shared object file: No such file or directory What's the trouble... (6 Replies)
Discussion started by: cdbug
6 Replies

5. Red Hat

libodbc.so.1: cannot open shared object file: No such file or directory

We are trying to install third party software on this unix server... Here is the error message we are getting... error while loading shared libraries: libodbc.so.1: cannot open shared object file: No such file or directory It seems like odbc driver is not installed... >rpm -q unixODBC... (1 Reply)
Discussion started by: govindts
1 Replies

6. AIX

AIX 5.2 C++ shared object issue

Hi all, I am developing an application with two components. One "c" binary and one "C++" shared object. While execution, the shared object crashes out and core dump is created whenever "new" is executed. But if i use malloc this will work perfectly. I tried to use dbx. Below given was... (1 Reply)
Discussion started by: itssujith
1 Replies

7. Red Hat

shared object

Hi, I would like to create a shared object ( .so). This shared object 1. uses the functions from a library. 2. Also it should be able to use the global variable in an app To achieve this what should I do ? 1) To use the functions in the library should I give the -ld option while... (1 Reply)
Discussion started by: rvan
1 Replies

8. Programming

Shared Object Question

Hello, I am new to programming shared objects and I was hoping someone could tell me if what I want to do is possible, or else lead me in the right direction. I have a main program that contains an abstract base class. I also have a subclass that I'm compiling as a shared object. The subclass... (13 Replies)
Discussion started by: dorik
13 Replies

9. Programming

Help building and using a shared object (x64)

Hello, I am not that experienced with Linux, and I am currently facing some issues. The application I'm working on uses hundreds of threads. To optimize the memory usage, I am putting all my data inside a shared object (so). The steps for this are as follows: 1. a C file (generated... (17 Replies)
Discussion started by: Maelstrom
17 Replies

10. Linux

Cannot open shared object file: No such file or directory

Hi, While running tcpdump command on my Fedora 16 machine I am get shared library issue. # tcpdump tcpdump: error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file or directory # which tcpdump /usr/software/sbin/tcpdump I have tried... (3 Replies)
Discussion started by: muzaffar.k
3 Replies
nagios3stats(8) 						      nagios							   nagios3stats(8)

NAME
nagios3stats - report statistics information from the nagios system SYNOPSIS
nagios3stats [-hVL] [-c config] [-m] [-d] DESCRIPTION
nagios3stats Is a program designed to provide information on the running nagios system. It can provide a brief summary of information, or it can be used to export specific information about the nagios system into an MRTG-compatible format. For more information please consult the nagios online documentation available at http://www.nagios.org or the documentation available with your nagios server's web page. OPTIONS
-c|--config=FILE The main configuration file. On debian systems this defaults to /etc/nagios3/nagios.cfg -m|--mrtg Print output in MRTG-compatible format. For more details run nagios3stats with --help -d|--data=VARS Comma-seperated list of variables to output in MRTG format. For more details run nagios3stats with --help. -h|--help A helpful usage message -V|--version Print version information -L|--license Print license details FILES
/etc/nagios3 Default configuration directory for nagios3 AUTHOR
nagios3 is written and maintained by Ethan Galstad <nagios@nagios.org>. This manual page was written by sean finney <seanius@debian.org> for the Debian GNU/Linux operating system (but it may be freely used, modified, and redistributed by others). sean finney February 2006 nagios3stats(8)
All times are GMT -4. The time now is 01:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy