Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I was trying to install the "enigma" game on my computer but I'd one problem:
Firstly, when I tried to configure the installation (by the configure file), the script reported an error which make me see the SDL_ttf lib where not installed.
But when I listed the /usr/lib dir I realised the lib was already installed. And I tried to update it using apt-get but the SDL_ttf lib there was not at the cache. I already tried to update the SDL lib but it was up to date.
Finally I decided to uninstall it and try to reinstall the SDL_ttf library. I succeed in it by doing the following:
1. visite rpm.pbone.net and download the SDL_ttf rpm for my Os (rh-linux 9)
2. rpm -e SDL_ttf
3. rpm -Uvh SDL_ttf-2.0.6-2.rh9.at.i386.rpm
("/sbin/ldconfig: File /lib/libext-2.so.7 is too small, not checked." was returned ¿?)
(note: I've tried to use "rpm -e SDL_ttf" again and the same message has been prompted)
Then, the ./configure command succeed. But the compilation failed:
font.cc:137:21: SDL_ttf.h: No existe el fichero o el directorio
this is the most important output I've found.
I expect you need the development package for SDL_ttf too...maybe called SDL_ttf-devel ? or SDL_ttf-dev ? I don't know, I don't use packages, but that's what I'd guess because you need the header files installed.
I've installed the libraries you said before reading your replies, but the directorie of the header of the lib was not the include dir of the Makefile generated by the ./configure script. So I've linked it to the /usr/include/SDL/SDL_ttf (the path was /usr/local/include/...).
Then, the compilation has finished but when i try to exec the game the following is written:
"./src/enigma: error while loading shared libraries: libSDL_ttf-2.0.so.0: cannot open shared object file: No such
file or directory"
I suposed the name of the lib.so was wrong because of the versions chaos, and I softlinked like this:
" ln -s /usr/lib/libSDL_ttf.so /usr/lib/libSDL_ttf-2.0.so.0", but my skepticism has been trust, the error when executing that:
"[root@LAN enigma-0.91]# ./enigma
./src/enigma: error while loading shared libraries: libSDL_ttf-2.0.so.0: cannot open shared object file: Error 40"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.