Score:-1 cannot open shared object file: No such file or directory

cn flag

I am trying to open QfindPro to find out my nas's Ip Address.

(base) hutber@hutber:~$ /usr/local/bin/QNAP/QfinderPro/
/usr/local/bin/QNAP/QfinderPro/QfinderPro: error while loading shared libraries: cannot open shared object file: No such file or directory

(base) hutber@hutber:~$ sudo apt-get install libxdamage1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libxdamage1 is already the newest version (1:1.1.5-2).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

I am confused how it can be installed, but not found?

(base) hutber@hutber:~$ ldd /usr/local/bin/QNAP/QfinderPro/QfinderPro (0xf7ed7000) => /lib/i386-linux-gnu/ (0xf7e96000) => /usr/local/lib/QNAP/QfinderPro/ (0xf7e68000) => /usr/local/lib/QNAP/QfinderPro/ (0xf772d000) => /usr/local/lib/QNAP/QfinderPro/ (0xf707a000) => /usr/local/lib/QNAP/QfinderPro/ (0xf7037000) => /usr/local/lib/QNAP/QfinderPro/ (0xf6ea5000) => /usr/local/lib/QNAP/QfinderPro/ (0xf695c000) => /lib/i386-linux-gnu/ (0xf6939000) => /lib/i386-linux-gnu/ (0xf675a000) => /lib/i386-linux-gnu/ (0xf6655000) => /lib/i386-linux-gnu/ (0xf6634000) => /lib/i386-linux-gnu/ (0xf6445000) => /usr/local/lib/QNAP/QfinderPro/ (0xf6408000) => /usr/local/lib/QNAP/QfinderPro/ (0xf5fe5000) => /usr/local/lib/QNAP/QfinderPro/ (0xf5b51000) => /usr/local/lib/QNAP/QfinderPro/ (0xf1120000) => /usr/local/lib/QNAP/QfinderPro/ (0xf1100000) => /usr/local/lib/QNAP/QfinderPro/ (0xf10ba000) => /lib/i386-linux-gnu/ (0xf104d000) => /lib/i386-linux-gnu/ (0xf0fdd000) => /lib/i386-linux-gnu/ (0xf0fd6000) => /lib/i386-linux-gnu/ (0xf0fca000) => /lib/i386-linux-gnu/ (0xf0e88000) => /lib/i386-linux-gnu/ (0xf0e71000) => /lib/i386-linux-gnu/ (0xf0d22000) => /usr/local/lib/QNAP/QfinderPro/ (0xf0aa9000) => /usr/local/lib/QNAP/QfinderPro/ (0xf0901000) => /usr/local/lib/QNAP/QfinderPro/ (0xef0d6000) => /lib/i386-linux-gnu/ (0xef0d0000)
    /lib/ (0xf7ed9000) => /lib/i386-linux-gnu/ (0xef099000) => /lib/i386-linux-gnu/ (0xeef0f000) => /lib/i386-linux-gnu/ (0xeeee1000) => /lib/i386-linux-gnu/ (0xeeeda000) => /lib/i386-linux-gnu/ (0xeee95000) => /lib/i386-linux-gnu/ (0xeee47000) => /lib/i386-linux-gnu/ (0xeed81000) => /lib/i386-linux-gnu/ (0xeed6c000) => /lib/i386-linux-gnu/ (0xeed5f000) => /lib/i386-linux-gnu/ (0xeed57000) => /lib/i386-linux-gnu/ (0xeed4b000) => /lib/i386-linux-gnu/ (0xeed44000) => /lib/i386-linux-gnu/ (0xeec2e000) => not found => /lib/i386-linux-gnu/ (0xeec26000) => /lib/i386-linux-gnu/ (0xeec17000) => /lib/i386-linux-gnu/ (0xeebea000) => /lib/i386-linux-gnu/ (0xeeb8c000) => /lib/i386-linux-gnu/ (0xeeb83000) => /lib/i386-linux-gnu/ (0xeeb06000) => /lib/i386-linux-gnu/ (0xeeaca000) => /lib/i386-linux-gnu/ (0xeeabe000) => /lib/i386-linux-gnu/ (0xeea47000) => /lib/i386-linux-gnu/ (0xeea18000) => /lib/i386-linux-gnu/ (0xeea13000) => /lib/i386-linux-gnu/ (0xeea09000) => /lib/i386-linux-gnu/ (0xee9ca000) => /lib/i386-linux-gnu/ (0xee90e000) => /lib/i386-linux-gnu/ (0xee908000) => /lib/i386-linux-gnu/ (0xee900000) => /lib/i386-linux-gnu/ (0xee8d2000) => /lib/i386-linux-gnu/ (0xee8af000) => /lib/i386-linux-gnu/ (0xee7cc000) => /lib/i386-linux-gnu/ (0xee7ad000) => /lib/i386-linux-gnu/ (0xee787000)
cc flag
The installed location is /usr/lib/x86_64-linux-gnu/ so in a terminal (ctrl+alt+t) run ldd /usr/local/bin/QNAP/QfinderPro/QfinderPro to see the libraries it loads and any possible location paths which are wrong. Add a symbolid link there to the actual location.
cn flag
Ah thank you @ubfan1. So I add a symlink from `/usr/lib/x86_64-linux-gnu/` into `/usr/local/bin/QNAP/QfinderPro/QfinderPro`?
cn flag
` wrong ELF class: ELFCLASS64` is what I get now actually. I assume I picked the wrong one then.
cc flag

Your program needs the 32 bit version of libxdamage (from all the other 32 bit libraries in your ldd output), and cannot use the 64 bit version which is already installed. Install the 32 bit version with:

sudo apt install libxdamage1:i386
cn flag
I must have removed it without realising!
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.