LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-12-2012, 11:48 PM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
library dependency problem


Hi guys, i'm trying to install a couple of programs and there have been dependency issues. The program requires a version of a library but i have a higher version installed. I decided to make a symlink of the library and rename it the required version.
Code:
libcairo2-dev: Depends: libcairo2 (= 1.8.10-6) but 1.10.2-1.1 is installed
The library installed is named "libcairo.so.2.11000.2. I have named the symlink libcairo.so.2.1810; but dpkg is still giving me the error. What do i have to name it for dpkg to pick it up?
 
Old 01-13-2012, 05:51 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
A *-dev file will always depend on exactly the same version of the actual lib file in question (as far as I know anyway), so your sym-linking attempts are futile. Also dependency checking is based on the package database not physical checks for the actual libs - hence it won't work.

From where did you install the libcairo2? You need to get libcairo2-dev from the same repo. I can't see it in backports, so I'm assuming you've pulled it from a third party repo?
 
1 members found this post helpful.
Old 01-13-2012, 06:31 PM   #3
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Ok thanks for that. making symlinks in slackware worked so i thought it might in debian too, but i guess the pkg managers are to different. I honestly don't know where i got that version from, either way aptitude is offered to downgrade the pkg for me, and it doesn't seem to affect anything so ive chosen to do that, thanks.
 
Old 01-14-2012, 08:20 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Downgrading was probably the best option - the next would be to see if it's viable to backport libcairo2 and libcairo2-dev.

I know some people install a different libcairo2 to improve the font rendering in Iceweasel. This is often available from 3rd party repos - not sure which as I've never used it myself. Perhaps this is what you had installed?

There are huge differences between apt and slackpkg, dependency resolution being one of the most notable.
 
Old 01-14-2012, 11:21 PM   #5
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Thanks for you help caravel. I did use the Mepis repo once but no longer, and thought i'd removed the content i'd tried; it's the only possibility i can think of. Oh well, it's all good now, so thanks. Slackwares package manager is pkgtool by the way; slackpkg is the third party tool included, made by Piter Punk, which works uses pkgtool; just had to add that :-)
 
  


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
library dependency problem ikinnu Linux - Software 5 04-29-2009 12:25 AM
Library dependency cybernike Linux - Software 2 05-17-2008 03:56 PM
libwnck-1.so.18 library...missing dependency spaceballs Slackware 2 03-03-2008 03:57 PM
library dependency check matters Slackware 1 06-18-2007 10:22 AM
Library Dependency H*ll springshades Linux - Software 1 07-18-2005 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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