LinuxQuestions.org
Review your favorite Linux distribution.
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 06-20-2002, 04:01 PM   #1
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
SDL install


On my Slack 8.0 box i can't get SDL libraries to work. I tried .tgz and compiling from source, the libraries compile and install, but when i try to compile SDL programs ./configure spits out this at me
Code:
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/local/bin/sdl-config
configure: error: *** SDL version 1.2.4 not found!
Anybody have an idea how to edit sdl-config or what else to do since the libraries are installed, their path is in ldconfig but they still are not recognized!!
Thanks for any help in advance!
-NSKL
 
Old 06-20-2002, 04:07 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well seeing as my config script contains:

Code:
    --version)
      echo 1.2.3
the edit should be pretty obvious.. but it should work really tho. is there no better output in config.log or something? i often find that looking at the configure script in question is pretty handy too.
 
Old 06-20-2002, 05:30 PM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 46
Now, im confused...
As you suggested i looked through config.log and this is a part of it which i dont understand:
Code:
configure:1958: checking for SDL - version >= 1.2.4
configure:2043: gcc -o conftest -g -O2 -I/usr/local/include -I/usr/local/in
clude/SDL -D_REENTRANT   conftest.c  -L/usr/local/lib -Wl,-rpath,/usr/local
/lib -lSDL -lpthread 1>&5
/usr/i386-slackware-linux/bin/ld: warning: libartsc.so.0, needed by /usr/lo
cal/lib/libSDL.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libSDL.so: undefined reference to `arts_free'
/usr/local/lib/libSDL.so: undefined reference to `arts_stream_get'
/usr/local/lib/libSDL.so: undefined reference to `arts_init'
/usr/local/lib/libSDL.so: undefined reference to `arts_play_stream'
/usr/local/lib/libSDL.so: undefined reference to `arts_stream_set'
/usr/local/lib/libSDL.so: undefined reference to `arts_close_stream'
/usr/local/lib/libSDL.so: undefined reference to `arts_write'
collect2: ld returned 1 exit status
configure: failed program was:
#line 1982 "configure"
If i see well, lib SDL was found but it needs another library, libartsc.so.0, which was not found. Is this right? Do i need to get libaertsc? and where?
Thanks again for all the help!
I always had problems installing SDL on Slack... i just can't get it to work ever! and you probably already know that most games and such use SDL...
Thanks again!
-NSKL
 
Old 06-20-2002, 05:35 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
check rpmfind.net to find where files come from. but that'll be arts, the kde sound server
 
Old 06-21-2002, 04:59 AM   #5
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 46
Yes! LibSDL couldn't find libartsc so i added the path of libartsc (/opt/kde/lib) to /etc/ld.so.conf, re run ldconfig and voila! Now it works!
Thanks for your help acid_kewpie!!
-NSKL
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 install problems dave`2005 Slackware 38 11-08-2005 05:17 PM
Trying to program an SDL application but cannot find the SDL.h file:SuSE 9.2&KDevelop pujolasdf Linux - Newbie 4 03-13-2005 08:50 AM
SDL install woes BlenderGuy Linux - Newbie 3 03-05-2004 11:49 PM
trying to install SDL rpm xconspirisist Linux - Software 10 12-01-2003 01:35 PM
SDL ( Simple DirectMedia Layer ) how to install? Rutnut Linux - General 5 08-08-2002 07:59 AM


All times are GMT -5. The time now is 03:42 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration