LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-29-2007, 05:38 AM   #1
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 666

Rep: Reputation: 39
libcairo missing because of an automatic upgrade to an earlier version by swaret


hello there i just used swaret to upgrade to the latest packages of the following (taken from /var/log/swaret):
Quote:
Upgrade atk-1.10.3-i486-1gwG to atk-1.9.1-i486-1? (y/n/A/Q): [y] Upgrade bind-9.3.2_P2-i486-1_slack10.2 to bind-9.3.4-i486-1_slack10.2? (y/n/A/Q): [y] Upgrade fetchmail-6.3.2-i486-1 to fetchmail-6.3.6-i486-1_slack10.2? (y/n/A/Q): [y] Upgrade glibc-2.3.5-i486-5 to glibc-2.3.5-i486-6_slack10.2? (y/n/A/Q): [y] Upgrade glibc-i18n-2.3.5-noarch-5 to glibc-i18n-2.3.5-noarch-6_slack10.2? (y/n/A/Q): [y] Upgrade glibc-profile-2.3.5-i486-5 to glibc-profile-2.3.5-i486-6_slack10.2? (y/n/A/Q): [y] Upgrade glibc-solibs-2.3.5-i486-5 to glibc-solibs-2.3.5-i486-6_slack10.2? (y/n/A/Q): [y] Upgrade glibc-zoneinfo-2.3.5-noarch-5 to glibc-zoneinfo-2.3.5-noarch-6_slack10.2? (y/n/A/Q): [y] Upgrade librsvg-2.12.7-i486-1gwG to librsvg-2.8.1-i486-1? (y/n/A/Q): [y] Upgrade pango-1.10.3-i486-1gwG to pango-1.8.2-i486-1? (y/n/A/Q): [y] Upgrade qt-3.3.4-i486-2 to qt-3.3.4-i486-3_slack10.2? (y/n/A/Q): [y]
at the time i didn't notice but apparently swaret chose to remove the preinstalled version of pango-1.10.3-i486-1gwG and install instead pango-1.8.2-i486-1 . now firefox (and i don't know what other bianries) is not running telling me:
Quote:
/usr/lib/firefox-1.0.6/firefox-bin: error while loading shared libraries: libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory
so i tried reinstalling and well as remove&install functions of swaret to get this library again , but no luck. i tried using swaret to manually remove the 1.8 version and install again the 1.10 version.. but now it tells me there is no such package... there seems to be no precompiled pango package for slackware on the internet and i wouldn't like to compile pango-1.14.8 from source since i am in the middle of programming an application and i fear updating the dependencies needed by pango (ie cairo and mostly glib) may affect the compiling process. any ideas why swaret decided to upgrade to an earlier version how to get back to the preinstalled package (unfortunately, i had not enabled the rollback feature of swaret..) nass

Last edited by nass; 01-29-2007 at 06:01 AM.
 
Old 01-29-2007, 06:18 AM   #2
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
Install cairo. It became a separate package some time ago.
 
Old 01-29-2007, 06:32 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Looking at the "gwG" tag that your replaced packages carry, you have installed Gware Gnome. Perhaps you should try re-installing Gware, it could be enough to get your applications running again.

Eric
 
Old 01-29-2007, 09:38 AM   #4
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 666

Original Poster
Rep: Reputation: 39
aahhhhh, installing cairo... easier said than done.

i've spent the entire day trying to get this thing working but no luck
i started out by trying to get pango sources and recompiling... but pango needed glib and cairo.

got them both, configured/made/made installed glib
but cairo has been killing the whole day..
it needed latest libpng tool, i got that, and also freetype and fontconfig libs...

freetype i also configured/made/made installed.. but not fontconfig is currently taking the piss out of me...
for unknown reason during make it said before
that a certain file ft2build.h was not included.
so i searched in the web for a solution and what basically someone suggests to bypass that, is to comment out that part of the code, and manually include the library.
i did that and now i get a whole lot of other compiler errors.... damn! should dependencies really be so hard to figure out???

anyhow i will try installing gware again.. i really didn't know what these gwG notions meant.. and it's killing me how this subtle dif can really mean smth so important.
thank you for ur help
ill try that and get back to u
nass
 
Old 01-29-2007, 10:12 AM   #5
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
Erm, why are you compiling these stuff when they've official packages? Everything you so far mentioned
 
Old 01-29-2007, 05:42 PM   #6
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 666

Original Poster
Rep: Reputation: 39
bianries for all?? there is slackware package for pango?:S not in their official dl page for sure...
gware has its own pango.. but thats standard slackware package... that comes wih gware.

anyhow, at this point smth has been f'ed up really nicely. i reinstalled gware by typing
Code:
upgradepkg -reinstall *tgz
in the gware folder.

and i get the following when i try to run any Gtk+ related application (not even gnome will start anymore). the error is common in all situations:

Quote:
(Gecko:6195): Pango-CRITICAL **: _pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed

Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: (glyphs->num_glyphs > 0)
aborting...
/usr/lib/firefox-1.0.6/run-mozilla.sh: line 159: 6195 Aborted "$prog" ${1+"$@"}
so i completely unistalled gware, and then i reinstalled all packages from group 'l' of the slackCDs, that included pango as well as other libraries.. finally i reinstalled gware again ttyping
Code:
upgradepkg -reinstall *tgz
unfortunately the same error appeares...

now i'm guessing different files have different versions... and that why this pops up... but i need pointers as to how to tackle this... cause i really don't know if its pango, or the latest glib or what else that causes this..
any ideas? or solutions or thoughts?
 
Old 01-29-2007, 06:21 PM   #7
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
Quote:
Originally Posted by nass
bianries for all?? there is slackware package for pango?:S not in their official dl page for sure...
gware has its own pango.. but thats standard slackware package... that comes wih gware.
PACKAGE NAME: pango-1.12.4-i486-1.tgz
PACKAGE LOCATION: ./slackware/l

Bvahh, i'll just shut up as i dunno about that gnome thingie.
Last time I tried it wanted to install 200+ packages, so i just lolled at it and been happy with blackbox ever since
 
Old 01-30-2007, 02:32 AM   #8
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 666

Original Poster
Rep: Reputation: 39
no you 're right.
in the slackCDs there are slackware pango packages. but i was refering to the pango.org website. there, there is no packages.
that's why i went ahead..
i wonder if reinstalling slackware on top of this installation would solve problems...
i mean it should overwrite all the packages to the originals, but since i have already tried that with what seems to be important in my case (ie pango package) and it didn't work, i mioght just be wasting my time.
i need some less radical solution...
i think i'll try reinstalling the original versions of just the libs i tried to compile yesterday. ie, freestyle, fontconfig,libpng,pango,glib...

is it possible that some file are not overwritten because f.e. the OS uses them at the time they try to be replaced?
 
Old 02-26-2007, 11:25 PM   #9
ouellettesr
LQ Newbie
 
Registered: Feb 2007
Posts: 14

Rep: Reputation: 0
Hello, I am having the same exact problem after using swaret. I am wondering if anyone has come up with a solution yet, I do not feel like reinstalling slack 11 all over again.
 
Old 04-01-2007, 05:57 AM   #10
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / GoboLinux / LFS / VoidLinux
Posts: 145

Rep: Reputation: 26
The solution is to either use official packages

or if you dont, use a package manager like pacman, and scripts, that
aid you in installing all these things.

You can use paco from sourceforge to drop binaries easily too
if you want, without pacman.
 
Old 04-01-2007, 10:13 AM   #11
salmaklak
LQ Newbie
 
Registered: Jun 2005
Distribution: Slackware, Ubuntu on my PS3
Posts: 22

Rep: Reputation: 15
Confuzzled.

Quote:
Originally Posted by nass
hello there i just used swaret to upgrade to the latest packages of the following (taken from /var/log/swaret):
....(y/n/A/Q): [y]
at the time i didn't notice but apparently swaret chose to remove ...
nass
Something about the, "...(y/n/A/Q):[y]", and, "...apparently swaret chose to remove...", doesn't make sense to me. Somebody help me out here, I'm confused.
 
  


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
Revert glibc to a earlier version wanna13e Linux - Enterprise 9 06-13-2006 02:24 AM
rpm roll-back to earlier version deps problem tlp_ SUSE / openSUSE 5 05-08-2006 05:01 AM
Downgrade/earlier version of packages? donv2 Fedora 1 04-23-2006 10:58 PM
How to revert to earlier version of gcc and c++... vbtalent Debian 4 02-22-2006 01:59 PM
Using Swaret to upgrade automatically, and different version No's vdemuth Slackware 1 10-17-2004 12:27 PM

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

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