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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...