LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-12-2005, 10:58 AM   #1
e6767593
LQ Newbie
 
Registered: May 2005
Posts: 2

Rep: Reputation: 0
SDL_ttf


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.

Thank you!
 
Old 05-12-2005, 12:11 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
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.
 
Old 05-12-2005, 01:48 PM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Komakino is right, you need the devel packages. Here you will find the binaries:

http://www.libsdl.org/projects/SDL_ttf/

Regards!
 
Old 05-12-2005, 03:48 PM   #4
e6767593
LQ Newbie
 
Registered: May 2005
Posts: 2

Original Poster
Rep: Reputation: 0
the problem persists

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"

Thank you!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SDL_ttf complains about freetype2 plz help LavaDevil94 Linux - Software 3 08-28-2004 04:41 AM
How to install SDL_ttf under slack9.1 preswang Linux - Software 0 10-28-2003 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration