Monitoring Splunk

btool relocation error

LCM
Contributor

I get following error when trying to execute btool

root@usmaster: # btool Warning: program compiled against libxml 207 using older 206 ld.so.1: btool: fatal: relocation error: file /opt/splunk/bin/btool: symbol xsltInit: referenced symbol not found Killed

Library seems to be ok though:

root@usmaster: # ldd ./btool libthread.so.1 => /usr/lib/libthread.so.1 librt.so.1 => /usr/lib/librt.so.1 libpcre.so.0 => /opt/splunk/lib/libpcre.so.0 libxml2.so.2 => /usr/lib/libxml2.so.2 libxslt.so.1 => /usr/lib/libxslt.so.1 libssl.so.0.9.8 => /opt/splunk/lib/libssl.so.0.9.8 libcrypto.so.0.9.8 => /opt/splunk/lib/libcrypto.so.0.9.8 libdl.so.1 => /usr/lib/libdl.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libarchive.so.2 => /opt/splunk/lib/libarchive.so.2 libbz2.so.1 => /usr/lib/libbz2.so.1 libz.so.1 => /usr/lib/libz.so.1 libsqlite3.so.0 => /opt/splunk/lib/libsqlite3.so.0 libm.so.1 => /usr/lib/libm.so.1 libc.so.1 => /usr/lib/libc.so.1 libaio.so.1 => /usr/lib/libaio.so.1 libmd.so.1 => /usr/lib/libmd.so.1 libpthread.so.1 => /usr/lib/libpthread.so.1 libm.so.2 => /usr/lib/libm.so.2 libmp.so.2 => /usr/lib/libmp.so.2 libscf.so.1 => /usr/lib/libscf.so.1 libdoor.so.1 => /usr/lib/libdoor.so.1 libuutil.so.1 => /usr/lib/libuutil.so.1 libgen.so.1 => /usr/lib/libgen.so.1

Additional Stuff:

root@usmaster: # uname -a SunOS usmaster 5.10 Generic_142910-17 i86pc i386 i86pc root@usmaster: # splunk version Warning: overriding $SPLUNK_HOME setting in environment ("/opt/splunk/diag-usmaster-2011-02-02/etc") with "/opt/splunk". If this is not correct, edit /opt/splunk/etc/splunk-launch.conf Splunk 4.1.6 (build 89596) root@usmaster: #

Tags (1)
1 Solution

yannK
Splunk Employee
Splunk Employee

use splunk to call btool, the library will be the splunk ones, not the system ones.

by example, to check the list of the inputs

cd $SPLUNK_HOME/bin
./splunk cmd btool inputs list --debug

View solution in original post

yannK
Splunk Employee
Splunk Employee

use splunk to call btool, the library will be the splunk ones, not the system ones.

by example, to check the list of the inputs

cd $SPLUNK_HOME/bin
./splunk cmd btool inputs list --debug
Get Updates on the Splunk Community!

Improve Your Security Posture

Watch NowImprove Your Security PostureCustomers are at the center of everything we do at Splunk and security ...

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...