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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...