LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-14-2003, 02:14 AM   #1
andrewh
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake
Posts: 2

Rep: Reputation: 0
SDL problems


I am using Mandrake 9.1, and a program I installed requires SDL 1.2.6. Since MDK 9.1 has SDL 1.2.5 on it by default, I downloaded the SDL-1.2.6-1.i386.rpm file from libsdl.org. However, whenever I try to install this new library, I get the error:

file /usr/lib/libSDL-1.2.so.0 from install of SDL-1.2.6-1 conflicts with file from package libSDL1.2-1.2.5-5mdk

Does anyone know what this means or how to get around it? Thanks.
 
Old 11-14-2003, 03:36 AM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
First thing I'd do, is update my urpmi sources - because some of the mdk packages aren't the very latest (and they're working on 9.2 stuff anyway) and as you can see from your post - there is a version conflict - often one of the easiest ways to correct this would be to uninstall SDL1.2-1.2.5-5mdk and although I haven't checked, you could well find the 1.2.6-1 has been packaged by either the plf or texstar (this is certainly the case for xmms).

So, google to the plf site, look down the page and locate the link to "easy urpmi". follow that link and then read the page instructions - select a mirror for everything i.e. don't skip any sections (and the mirrors closest to your location should be the fastest - though not necessarily) don't forget mirror sources for texstar at the bottom.

The output of you info is then displayed in the large panel at the bottom, you have to cut and paste this into a terminal/konsole (I didn't have to even enter it, it just started after the cut and paste - though I had to enter when it seemed to stop). Anyway, once you are back to the shell prompt, you can close the shell/terminal/konsole/whatever, and go into mandrake control centre and open the software manager. You would need to got to the "rpmdrake -" bit and dig through it to find the SDL1.2.-1.2.5-5mdk package and uninstall it. Then got to the "rpmdrake+" bit and I'd probably select the list packages alphabetically, run down the list and find the most up to date version of it (presuming SDL1.2.6-1) and if it needs anyother libs and stuff for dependencies it should select them as well (don't worry if it's not mdk, but plf or tex - theyre the packagers), then just hit install and off you go.

Dont forget, some of these packages are quite large, so if you are on dialup, it could take quite a while to down load (if it's not on the mandrake discs).

regards

John
 
Old 11-14-2003, 01:30 PM   #3
andrewh
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your help. I uninstalled 1.2.5 and simply installed 1.2.6 instead. Originally, I thought I had a bigger problem because the program couldn't find the _images additional library, but apparently mandrake's rpm worked fine for that.

I guess I just made it a lot harder than it had to be.
 
Old 11-16-2003, 12:38 AM   #4
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Da nada

regards

John
 
  


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 install problems dave`2005 Slackware 38 11-08-2005 04:17 PM
SDL problems? Huzza Programming 2 09-03-2005 10:58 AM
Trying to program an SDL application but cannot find the SDL.h file:SuSE 9.2&KDevelop pujolasdf Linux - Newbie 4 03-13-2005 07:50 AM
newbie problems with SDL nannerhead Linux - Games 2 02-13-2004 06:24 PM
problems with SDL esko Programming 2 03-12-2003 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:35 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
Open Source Consulting | Domain Registration