LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-24-2006, 05:39 PM   #1
The_Nerd
Member
 
Registered: Aug 2002
Distribution: Debian
Posts: 540

Rep: Reputation: 32
libSDL not being found, yet it is installed


Hello! I've downloaded the latest version of Blender3D (2.42a), but when I try to run it I get

Code:
[th317erd@TheNerd blender]$ ./blender
./blender: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory
Then I look (and set) the LD_LIBRARY_PATH to point to libSDL-1.2.so.0 (which is a simlink that points to libSDL-1.2.0.7.0 [both reside in /usr/lib and /usr/lib64]).

Code:
[th317erd@TheNerd blender]$ echo "${LD_LIBRARY_PATH}"
/usr/lib/;/usr/lib64/;/usr/local/lib/
And when I run ldd:

Code:
[th317erd@TheNerd blender]$ ldd blender
        linux-gate.so.1 =>  (0xffffe000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4da8e000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4d93c000)
        libSDL-1.2.so.0 => not found
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4da1d000)
        libutil.so.1 => /lib/libutil.so.1 (0x4db87000)
        libc.so.6 => /lib/tls/libc.so.6 (0x4d7de000)
        libm.so.6 => /lib/tls/libm.so.6 (0x4d907000)
        libdl.so.2 => /lib/libdl.so.2 (0x4d92c000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4d94e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4d932000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4daae000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4db77000)
        /lib/ld-linux.so.2 (0x4d7c5000)
The previous Blender version 2.41 ran fine. The only other program that has the same problem on my system is mplayer. All other SDL programs work fine.

Please help me out. I've tried everything I know of. I think I even tried reinstalling sdl when I had this problem with mplayer. I'll try it again. Please help in the meantime.

I am running Fedora Core 3. AMD 64bit proccessor. nVidia video drivers.

Last edited by The_Nerd; 11-24-2006 at 05:40 PM.
 
Old 11-24-2006, 05:48 PM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Make sure you have the development version of the library installed via your distros package manager. Many distros separate runtime linkable libraries from the development version (which includes headers and anything else necessary to compile programs which use the library).

In Ubuntu, development versions of packages have the suffix -dev. I believe in SuSE they have the suffix -devel. Not sure about Redhat - can someone post here with that?
 
Old 11-24-2006, 06:13 PM   #3
The_Nerd
Member
 
Registered: Aug 2002
Distribution: Debian
Posts: 540

Original Poster
Rep: Reputation: 32
Thanks for the reply. I know this, but it doesn't apply to this situation. I got the blender binary, and, in the case of mplayer, the binary also. Both can't find libSDL though they are looking in the right place, and it does exist. I've also made sure /etc/ld.so.conf is correct and I've tried running ldconfig multiple times, plus I tried running both as a different user. Still nothing. Please help!
 
Old 11-24-2006, 06:15 PM   #4
The_Nerd
Member
 
Registered: Aug 2002
Distribution: Debian
Posts: 540

Original Poster
Rep: Reputation: 32
??????????

I just tried installing the SDL-binary rpm from libsdl.org and it worked!!!

I don't know why it worked, but hey, I am not complaining.

Thanks for the help!

???????????
 
  


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
Installed libraries can't be found iluzion Debian 13 11-12-2006 06:21 PM
openal installed but not found! mikegorb Linux - Games 1 10-06-2006 03:40 PM
libSDL could not be found mandavi Linux - Software 2 03-18-2005 08:32 PM
libsdl vs libsdl-devel Micro420 Linux - Software 3 01-13-2005 11:19 AM
libstdc++ not found, though installed GTBlackwell Linux - Software 4 07-10-2004 02:33 PM

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

All times are GMT -5. The time now is 04:40 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