Getting Data In

splunkd: error while loading shared libraries: ld-linux-armhf.so.3

hgehrts_splunk
Splunk Employee
Splunk Employee

Hi

I have a Synology NAS (RS212) with an ARM Processor (mv6282) but I can't get the ARM Forwarder to work. I get the Error Message above when I try to start it:

bash-3.2# ./splunk start
/volume1/opt/splunkforwarder/bin/splunkd: error while loading shared libraries: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
/volume1/opt/splunkforwarder/bin/splunkd: error while loading shared libraries: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
Splunk> CSI: Logfiles.
Checking prerequisites...
/volume1/opt/splunkforwarder/bin/splunkd: error while loading shared libraries: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
Checking mgmt port [8089]: /volume1/opt/splunkforwarder/bin/splunkd: error while loading shared libraries: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
Illegal instruction (core dumped)

Any Ideas?

BR
Henning

0 Karma

gmartins_splunk
Splunk Employee
Splunk Employee

it's trying to call a libc that does not exist. Or better: it's calling a libc that exists but it's not under the name the splunk executable expects.
this one is actually easy to fix. You need to create a symbolic link so the library ld-linux.so.3 also answer as ld-linux-armhf.so.3:

ln -s /lib/ld-linux.so.3 /lib/ld-linux-armhf.so.3

Then problem solved. Assuming the architecture of your NAS is at least ARMv6 it will work beautifully. My synology unfortunately is ARMv5 so I get an "illegal instruction" error when I run the splunk executable. Check the architecture with:

uname -a
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...