btool relocation error


I get following error when trying to execute btool

root@usmaster: # btool Warning: program compiled against libxml 207 using older 206 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 => /usr/lib/ => /usr/lib/ => /opt/splunk/lib/ => /usr/lib/ => /usr/lib/ => /opt/splunk/lib/ => /opt/splunk/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /opt/splunk/lib/ => /usr/lib/ => /usr/lib/ => /opt/splunk/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/

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)

Re: btool relocation error

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

./splunk cmd btool inputs list --debug

View solution in original post