LinuxQuestions.org
Help answer threads with 0 replies.
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 03-01-2010, 11:23 PM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
libgmp and libpng in latest -current upgrades


libgmp

If you found slackpkg failed for this upgrade because of libgmp not found you will need to grab the gmp package and install manually.

This way ought to work:

Code:
slackpkg update
slackpkg upgrade glibc-solibs
slackpkg upgrade glibc*
slackpkg upgrade gmp
slackpkg install-new
slackpkg upgrade-all
But if it doesn't work - for a manual install:

Grab the package:

32 bit:
ftp://ftp.osuosl.org/pub/slackware/s...0.1-i486-1.txz

x86_64:
ftp://ftp.osuosl.org/pub/slackware/s...1-x86_64-1.txz

Installpkg probably won't run so move the package to / and do the following:

Code:
cd /
tar xf gmp*txz 
source /install/doinst.sh
ldconfig
rm -r /install
When that is done and the rest of the packages are upgraded install gmp package properly.

libpng

There is a problem with icons in xfce and other things which is connected with libpng (workaround below).

http://www.linuxquestions.org/questi...13#post3882213

Last edited by dive; 03-03-2010 at 04:39 PM.
 
Old 03-01-2010, 11:44 PM   #2
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Be sure you're in / before doing that untar operation.

Re gtk, it's not a problem with gtk - it's a libpng problem.
I won't say any more right now because I don't want to create any bad blood with an upstream project, and it's not clear as to how it will be solved. For now, if you search around online, find libpng-1.4.0.tar.xz, comment out the manual symlink creation in the SlackBuild script for libpng, and build that version yourself, everything should be fine for now.

If anyone has some spare understanding of how shared library versioning is supposed to work, feel free to FedEx it to the libpng devel team.
 
Old 03-01-2010, 11:45 PM   #3
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Oh, and I'm off to bed, and the rest of the team is sleeping or busy, so don't wait up expecting a fix.
 
Old 03-01-2010, 11:47 PM   #4
escaflown
Member
 
Registered: Apr 2009
Location: Canada
Distribution: Slackware
Posts: 239

Rep: Reputation: 31
Thanks dive! The libgmp was driving me nut
 
Old 03-01-2010, 11:49 PM   #5
escaflown
Member
 
Registered: Apr 2009
Location: Canada
Distribution: Slackware
Posts: 239

Rep: Reputation: 31
Quote:
Originally Posted by rworkman View Post
Oh, and I'm off to bed, and the rest of the team is sleeping or busy, so don't wait up expecting a fix.
go get some well deserved sleep, rworkman!
 
Old 03-01-2010, 11:58 PM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Deleted.

Last edited by dive; 03-02-2010 at 06:47 AM.
 
Old 03-02-2010, 01:10 AM   #7
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
thanx dive

(i edited the message)

Last edited by ponce; 03-02-2010 at 01:35 AM.
 
Old 03-02-2010, 03:46 AM   #8
botnet
Member
 
Registered: May 2009
Posts: 158

Rep: Reputation: 40
i hope i am not the only one still with the libpng problem (no icons or buttons in gtk applications)



using the stock libpng, i get no icons

using the stock libpng and making a symlink from libpng14.so.14 to libpng.so.14, no icons

building libpng-1.4.0 without the symlinking included in the slackbuild, no icons

building libpng-1.4.0 without the symlinking included in the slackbuild and then manually making a symlink from libpng14.so.14 to libpng.so.14, no icons



Does anyone have icons and buttons in gtk applications after these updates?
 
Old 03-02-2010, 03:57 AM   #9
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,160
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Quote:
Originally Posted by botnet View Post
Does anyone have icons and buttons in gtk applications after these updates?
From Alien Bob's blog:

Quote:
Note for self-compiling folk:

Something you may experience when you compiled your own applications: some of them may suddenly refuse to show buttons/bitmaps. This is because the application is linked in an incompatible way with libpng… it means you will have to recompile it. For instance, I will have to update my own VLC package because the control interface is now showing empty grey squares… bummer.
So do you have problem with all gtk applications or only with the ones you compiled yourself? In the latter case, just recompile your applications.
 
Old 03-02-2010, 04:02 AM   #10
botnet
Member
 
Registered: May 2009
Posts: 158

Rep: Reputation: 40
the problem exists in pidgin and firefox, where i get "broken" icons (a small page with a red X) and with self compiled applications like deluge, i do not get an icon at all

i also have no buttons in firefox i.e. i cannot post with firefox because the submit post button is missing (using chrome to post now)
 
Old 03-02-2010, 04:17 AM   #11
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,160
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Quote:
Originally Posted by botnet View Post
the problem exists in pidgin and firefox
If you feel like it, you can try to recompile pidgin using the official SlackBuild script and see if the icon issue is solved.

The firefox Slackware package is not compiled from source (it's rather a repackaging of firefox binaries). So I'm afraid that, if the root cause of the problem is a wrong link with libpng, then we are stuck for now.

Last edited by gegechris99; 03-02-2010 at 04:18 AM. Reason: correcting typo errors
 
Old 03-02-2010, 04:27 AM   #12
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by gegechris99 View Post
The firefox Slackware package is not compiled from source (it's rather a repackaging of firefox binaries). So I'm afraid that, if the root cause of the problem is a wrong link with libpng, then we are stuck for now.
Thats only for 32bit. The x86_64 package is built from source.
 
Old 03-02-2010, 04:30 AM   #13
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
OK AlienBob suggested downgrading libpng to 1.4.0 and that seems to have fixed the icon problem.

1) For 32 bit grab the patch libpng.libs.diff.gz from here:

ftp://ftp.osuosl.org/pub/slackware/s...urce/l/libpng/

2) Get the source for libpng 1.2 libpng-1.2.43.tar.xz and slack-desc from here:

ftp://ftp.osuosl.org/pub/slackware/s...urce/l/libpng/

3) Grab the 1.4.0 source here:

http://downloads.sourceforge.net/pro...g-1.4.0.tar.xz

4) You also need the slackbuild but it must be edited for 1.4.0 VERSION and a patch line added. I have one here:

http://www.unrealize.co.uk/source/libpng.SlackBuild

5) Run the script as root ./libpng.SlackBuild

6) Upgradepkg to the new one dropped in /tmp

7) Run update-gdk-pixbuf-loaders and is there is no message/error then it should have worked and you will have icons once more.

For x86_64 you can install AlienBob's package from here:

http://slackware.com/~alien/libpng-1.4.0-x86_64-1.txz

Do as in 6, 7 above.

Hopefully that will have xfce working again

Last edited by dive; 03-02-2010 at 10:26 AM.
 
1 members found this post helpful.
Old 03-02-2010, 05:39 AM   #14
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by dive View Post
6) Run update-gdk-pixbuf-loaders
I'm getting this error when I run update-gdk-pixbuf-loaders:
Code:
g_module_open() failed for /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/lib/libpng14.so.14: undefined symbol: inflateReset
Is anybody else?

Last edited by piratesmack; 03-02-2010 at 05:46 AM.
 
Old 03-02-2010, 05:59 AM   #15
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by piratesmack View Post
I'm getting this error when I run update-gdk-pixbuf-loaders:
Code:
g_module_open() failed for /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/lib/libpng14.so.14: undefined symbol: inflateReset
Is anybody else?
That's the linpng error. See workaround above.
 
  


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
Latest current ? brodo Slackware 34 03-13-2009 03:15 PM
Downloaded latest upgrades and now cant boot mpooley Ubuntu 8 06-19-2007 01:43 AM
Race condition in /etc/rc.d/ with latest -current ? Yalla-One Slackware 1 08-06-2006 02:23 PM
Slackware 10.1 - libgmp error zutt Slackware 1 02-12-2006 05:10 PM
synaptic 0.57.5 breaks; latest unstable, watch updates & upgrades Nix_Hard MEPIS 1 10-06-2005 07:55 PM

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

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