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?
apt-file search
identified. Almost all were already installed, except forlibstdc++6
which spat out a few errors, andlibSDL2-2.0.so.0
, which apt-file couldn't find an appropriate package. objdump still returns the same list. :( – Ash Feb 24 '13 at 06:58ia32-libs
package, which fixed the problem. Even if it's not the solution to my specific problem, theapt-file search
suggestion answers the question, so I've accepted this answer. – Ash Feb 25 '13 at 11:20