Technical support > Linux
Can't Get 2.2 to run
Doctor J:
I just installed 2.2 from the beta binary [This is Ubuntu Dapper Drake AMD64]. Installed *everything* in the package. However, i still get no joy:
dave@ubuntu:~/ufoai$ ./ufoai
./ufo: error while loading shared libraries: libSDL_ttf-2.0.so.0: cannot open shared object file: No such file or directory
I do have the latest version of all the SDL libs:
dave@ubuntu:/usr/local/lib$ ls -l libSDL_ttf-2.0.so.0
lrwxrwxrwx 1 root root 23 2007-09-23 09:38 libSDL_ttf-2.0.so.0 -> libSDL_ttf-2.0.so.0.6.3
Mattn:
how did you install sdl_ttf? it should be in /usr/lib
did you install it via apt-get install libsdl-ttf2.0 ?
Doctor J:
--- Quote from: Mattn on October 03, 2007, 10:01:33 am ---how did you install sdl_ttf? it should be in /usr/lib
did you install it via apt-get install libsdl-ttf2.0 ?
--- End quote ---
Sadly, the libsdl stuff available through apt-get is only 1.2.9. Instead, i got the 1.2.12 source from www.libsdl.org, then the usual configure/make/make install. It looks like i will have to symlink the whole lot from /usr/local/lib to /usr/lib. :-\
Mattn:
run configure with ./configure --prefix=/usr then make make install
Doctor J:
--- Quote from: Mattn on October 03, 2007, 09:41:08 pm ---run configure with ./configure --prefix=/usr then make make install
--- End quote ---
Okeh, i deleted the SDL stuff in /usr/local/lib, then did as you said above. Now when i try to run UFO:
dave@ubuntu:~/ufoai$ ./ufoai
./ufo: error while loading shared libraries: libSDL_ttf-2.0.so.0: cannot open shared object file: No such file or directory
dave@ubuntu:~/ufoai$ ls -l /usr/lib/libSDL_ttf*
lrwxrwxrwx 1 root root 23 2007-10-04 10:11 /usr/lib/libSDL_ttf-2.0.so.0 -> libSDL_ttf-2.0.so.0.6.3
-rwxr-xr-x 1 root root 74581 2007-10-04 10:11 /usr/lib/libSDL_ttf-2.0.so.0.6.3
-rw-r--r-- 1 root root 96368 2007-10-04 10:11 /usr/lib/libSDL_ttf.a
-rwxr-xr-x 1 root root 909 2007-10-04 10:11 /usr/lib/libSDL_ttf.la
lrwxrwxrwx 1 root root 23 2007-10-04 10:11 /usr/lib/libSDL_ttf.so -> libSDL_ttf-2.0.so.0.6.3
Now what should i do?
Navigation
[0] Message Index
[#] Next page
Go to full version