Friday, May 3, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2404  / 2 Years ago, mon, february 14, 2022, 11:01:05

I'm trying to get the Humble Bundle version of Dungeon Defenders going, but the executable crashes with a "no such file or directory" error. Thanks to this answer I'm able to identify the dependent libraries required:



$ objdump -x ./UDKGame/Binaries/DungeonDefenders-x86 | grep NEEDED
NEEDED libpthread.so.0
NEEDED libGL.so.1
NEEDED libSDL2-2.0.so.0
NEEDED libopenal.so.1
NEEDED libstdc++.so.6
NEEDED libm.so.6
NEEDED libgcc_s.so.1
NEEDED libc.so.6
NEEDED libdl.so.2


I started searching for targets with aptitude, but wondered if there's a convenient way to install all these dependent libraries, rather than manually doing them one by one?



Notes:




  • Running xubuntu 12.10 64-bit.

  • Other questions about fixing dependencies seem to assume that you're trying to install something with apt-get or the software manager. I just downloaded the Dungeon Defenders tar file and tried to run it.



Edit:



Wondering if I asked the wrong question. Maybe what I need to know is: how do you map a library name to the corresponding package/target name?


More From » installation

 Answers
6

Install the apt-file package, that gives you the reverse mapping you want.



apt-file search libstdc++


Should build the index (first time only), and result in the packages, one of which is libstdc++6.
Searching for libSDL results in only the 1.2... versions, not the 2.2 version.


[#32534] Monday, February 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oreera

Total Points: 472
Total Questions: 121
Total Answers: 116

Location: Mayotte
Member since Thu, Dec 17, 2020
3 Years ago
;