I have a raspberry pi 3 which has been running a node JS script using PM2 for 6 months without issues . However yesterday it stoped working and gives me the following error :

node: error while loading shared libraries: libl.so.6: cannot open shared object file: No such file or directory

my node version is : 7.8.0 pis is running on : Linux raspberrypi 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l GNU/Linux

any ideas on how to resolve it ? especially that I have another pi with the same setup running the same script for more than 6 months without issues

when running dmesg I get the follwoing highlighted in red : enter image description here

  • have you performed any update recently? my guess is no, considering how old your kernel is, but in general, computers don't just change behaviour for no reason - perhaps your sdcard is failing ... check the output of dmesg – Jaromanda X Mar 21 at 0:32
  • no it didnt do any updates I searched for the issue but couldnt find any solution onlone – nero Mar 21 at 8:37
  • and ... the output of dmesg? any errors, especially regarding the SD card – Jaromanda X Mar 21 at 8:40
  • how do i get that ? – nero Mar 21 at 9:25
  • you run dmesg – Jaromanda X Mar 21 at 9:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.