Quote:
Originally Posted by twobob
packaged as requested.
All extraneous files removed.
All files involved included. completely clean build.
[root@kindle lib]# echo $LD_LIBRARY_PATH
[root@kindle lib]# echo $PATH
this extract would just go on /mnt/us/usr (It's already prepared for FAT)
/usr/share/games/doom/prboom.wad may need also linking at runtime.
SDL_VIDEODRIVER=fbcon SDL_NOMOUSE=1 prboom -width 550 -height 700
That should be everything.
|
My K5 contains libpng12 in both main and diags, but this prboom seems to depend on libpng14. Do I need to create a symlink for that?
Code:
[root@[192_168_15_244] bin]# cat run.sh
#!/bin/sh
export LD_LIBRARY_PATH="/mnt/us/usr/lib:/usr/lib:/lib:/mnt/us/lib"
export PATH="/mnt/us/usr/local/bin:/mnt/us/usr/bin:/mnt/us/bin:/mnt/us/usr/sbin:/mnt/us/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/mnt/us/home/root"
SDL_VIDEODRIVER=fbcon SDL_NOMOUSE=1 prboom -width 550 -height 700
prboom: error while loading shared libraries: libpng14.so.14: cannot open shared object file: No such file or directory
[root@[192_168_15_244] bin]# ls -al /usr/lib/libpng*
lrwxrwxrwx 1 root root 11 Nov 3 2011 /usr/lib/libpng.so -> libpng12.so
lrwxrwxrwx 1 root root 16 Nov 3 2011 /usr/lib/libpng.so.3 -> libpng.so.3.39.0
-rwxr-xr-x 1 root root 129812 Nov 3 2011 /usr/lib/libpng.so.3.39.0
lrwxrwxrwx 1 root root 18 Nov 3 2011 /usr/lib/libpng12.so -> libpng12.so.0.39.0
lrwxrwxrwx 1 root root 18 Nov 3 2011 /usr/lib/libpng12.so.0 -> libpng12.so.0.39.0
-rwxr-xr-x 1 root root 118100 Nov 3 2011 /usr/lib/libpng12.so.0.39.0
EDIT: I created a symlink in /usr/lib: libpng14.so.14 -> libpng12.so.39.0, but it still gets the same error message about missing libpng14...
This is part of why I like talking to the bare hardware (I/O registers and such). No version conflicts or missing dependencies...