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 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 / 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 |
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. |
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.
|
Thanks dive! The libgmp was driving me nut:)
|
Quote:
|
Deleted.
|
thanx dive :)
(i edited the message) |
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? |
Quote:
Quote:
|
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) |
Quote:
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. |
Quote:
|
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 :) |
Quote:
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 |
Quote:
|
All times are GMT -5. The time now is 10:16 AM. |