- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: symbol not found for nagios library executable
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2015 02:36 PM - last edited on 01-08-2015 06:37 PM by Maiko-I
01-07-2015 02:36 PM - last edited on 01-08-2015 06:37 PM by Maiko-I
Hello, I have a HPUX 11.31 server and I recently installed nagios from the iexpress package. however after configuring the required parameters. I get a symbol not found error
/usr/ccs/bin/ldd -r /opt/iexpress/nagios/libexec/check_users
/opt/iexpress/nagios/libexec/check_users:
libintl.so.8 => /usr/lib/hpux32/libintl.so.8
libpthread.so.1 => /usr/lib/hpux32/libpthread.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libunwind.so.1 => /usr/lib/hpux32/libunwind.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
libuca.so.1 => /usr/lib/hpux32/libuca.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
symbol not found: libintl_textdomain (/opt/iexpress/nagios/libexec/check_users)
symbol not found: libintl_bindtextdomain (/opt/iexpress/nagios/libexec/check_users)
symbol not found: libintl_gettext (/opt/iexpress/nagios/libexec/check_users)
However if I export LD_LIBRARY_PATH=/usr/local/lib/hpux32/ then i dont get the error.
I have another server that was build before my time. check the settings to find where was the LD_LIBRARY or SHLIB path configured but found nothing.
Can anyone help me solve this without the need to export LD_LIBRARY_PATH=/usr/local/lib/hpux32
Thank you
P.S. This thread has been moevd from general to HP-UX > languages. - Hp forum Moderator
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2015 11:59 PM
01-07-2015 11:59 PM
Solution>symbol not found: libintl_textdomain libintl_bindtextdomain libintl_gettext
These look like libintl unsats.
>check the settings to find where was the LD_LIBRARY or SHLIB path configured but found nothing.
Have you used chatr(1) and ldd(1) search? Looked at /etc/SHLIB_PATH?
Perhaps libintl.so is in /usr/lib/hpux32/?
>Can anyone help me solve this without the need to export LD_LIBRARY_PATH=/usr/local/lib/hpux32
Create a symlink from /usr/local/lib/hpux32/libintl.so (whatever) to /usr/lib/hpux32/?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2015 07:33 AM
01-08-2015 07:33 AM
Re: symbol not found for nagios library executable
Dennis,
thank you for your reply, yes I checked ldd to find location for the needed libraries. I found that there were missing files under /usr/lib/hpux32 so I copied files and created corrsponding links.
one thing I noticed between between a working nagios client server and this new server is that he working server uses libiconv where as the one I just installed nagios agent does not seem to have the reference for libiconv (both servers are using the same nagios version and depot package software install)
here is output of chatr and ldd
/usr/ccs/bin/ldd -v /opt/iexpress/nagios/libexec/check_users
/opt/iexpress/nagios/libexec/check_users:
find library=libintl.so.8; required by /opt/iexpress/nagios/libexec/check_users
libintl.so.8 => /usr/lib/hpux32/libintl.so.8
find library=libpthread.so.1; required by /opt/iexpress/nagios/libexec/check_users
libpthread.so.1 => /usr/lib/hpux32/libpthread.so.1
find library=libdl.so.1; required by /opt/iexpress/nagios/libexec/check_users
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
find library=libunwind.so.1; required by /opt/iexpress/nagios/libexec/check_users
libunwind.so.1 => /usr/lib/hpux32/libunwind.so.1
find library=libc.so.1; required by /opt/iexpress/nagios/libexec/check_users
libc.so.1 => /usr/lib/hpux32/libc.so.1
find library=libuca.so.1; required by /usr/lib/hpux32/libunwind.so.1
libuca.so.1 => /usr/lib/hpux32/libuca.so.1
find library=libdl.so.1; required by /usr/lib/hpux32/libc.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
chatr /opt/iexpress/nagios/libexec/check_users
/opt/iexpress/nagios/libexec/check_users:
32-bit ELF executable
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third Not Defined
shared library list:
libintl.so.8
libpthread.so.1
libdl.so.1
libunwind.so.1
libc.so.1
shared library binding:
deferred
global hash table disabled
global hash table size 1103
shared library mapped private disabled
runtime checks disabled
shared library segment merging disabled
shared vtable support disabled
explicit unloading disabled
linkage table protection disabled
segments:
index type address flags size
8 text 04000000 z---c- D (default)
9 data 40010000 ---m-- D (default)
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation for dynamic segments disabled
nulptr dereferences trap enabled
address space model: default
caliper dynamic instrumentation disabled
Working server output is the following:
/usr/ccs/bin/ldd -v /opt/iexpress/nagios/libexec/check_users
/opt/iexpress/nagios/libexec/check_users:
find library=libintl.so.8; required by /opt/iexpress/nagios/libexec/check_users
libintl.so.8 => /usr/lib/hpux32/libintl.so.8
find library=libpthread.so.1; required by /opt/iexpress/nagios/libexec/check_users
libpthread.so.1 => /usr/lib/hpux32/libpthread.so.1
find library=libdl.so.1; required by /opt/iexpress/nagios/libexec/check_users
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
find library=libunwind.so.1; required by /opt/iexpress/nagios/libexec/check_users
libunwind.so.1 => /usr/lib/hpux32/libunwind.so.1
find library=libc.so.1; required by /opt/iexpress/nagios/libexec/check_users
libc.so.1 => /usr/lib/hpux32/libc.so.1
find library=libiconv.so; required by /usr/lib/hpux32/libintl.so.8
libiconv.so => /usr/local/lib/hpux32/libiconv.so
find library=libuca.so.1; required by /usr/lib/hpux32/libunwind.so.1
libuca.so.1 => /usr/lib/hpux32/libuca.so.1
find library=libdl.so.1; required by /usr/lib/hpux32/libc.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
find library=libc.so.1; required by /usr/local/lib/hpux32/libiconv.so
libc.so.1 => /usr/lib/hpux32/libc.so.1
chatr /opt/iexpress/nagios/libexec/check_users
/opt/iexpress/nagios/libexec/check_users:
32-bit ELF executable
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third Not Defined
shared library list:
libintl.so.8
libpthread.so.1
libdl.so.1
libunwind.so.1
libc.so.1
shared library binding:
deferred
global hash table disabled
global hash table size 1103
shared library mapped private disabled
runtime checks disabled
shared library segment merging disabled
shared vtable support disabled
explicit unloading disabled
linkage table protection disabled
segments:
index type address flags size
8 text 04000000 z---c- D (default)
9 data 40010000 ---m-- D (default)
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation for dynamic segments disabled
nulptr dereferences trap enabled
address space model: default
caliper dynamic instrumentation disabled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2015 02:25 PM
01-08-2015 02:25 PM
Re: symbol not found for nagios library executable
>Working server output is the following:
>find library=libiconv.so; required by /usr/lib/hpux32/libintl.so.8
This indicates the difference is in libintl.so.8.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2015 02:43 PM
01-08-2015 02:43 PM
Re: symbol not found for nagios library executable
Dennis,
Thank you I think initially I copied files from source to other libraries where the ,so file was missing instead of creating links. I removed the files and created links and all my nagios checks are working.
The following are the new links
#> ln -s /usr/local/lib/hpux32/libintl.so /usr/local/lib/hpux32/libintl.so.8
#> ln -s /usr/local/lib/hpux32/libintl.so /usr/lib/hpux32/libintl.so.8
#> ln -s /usr/local/lib/hpux32/libintl.so /usr/lib/hpux32/libintl.so
thansk again