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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...