View previous topic :: View next topic |
Author |
Message |
Gankfest l33t
Joined: 01 Aug 2007 Posts: 946 Location: Miami Beach, FL
|
Posted: Tue May 11, 2010 12:49 am Post subject: |
|
|
Odysseus wrote: | paradox6996 wrote: | Ok, so did what the first poster said. revdep-rebuild didn't fix any packages, when I go to emerge compiz-fusion I get this:
Code: | -Wl,-soname -Wl,libnotification.so -o .libs/libnotification.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12
|
So wtf, how do I fix it? |
Read my first post in this thread and d2_racing post right below mine. They are a bit higher up on this page.
You're going to need to run 'lafilefixer --justfixit'. Follow directions and read. Your problem should be solved.
Ciao |
Na did what both of you said and still have the same emerge fail and revdep-rebuild doesn't rebuild anything. Any other suggestions? _________________ Gankfest™ (>")> ~*
Everyone has to start somewhere, it depends on where you end up that counts! (>")> |
|
Back to top |
|
|
Odysseus Apprentice
Joined: 23 Jun 2004 Posts: 250 Location: Miami, FL. I miss San Francisco!!!
|
Posted: Tue May 11, 2010 1:00 am Post subject: |
|
|
paradox6996 wrote: | Odysseus wrote: | paradox6996 wrote: | Ok, so did what the first poster said. revdep-rebuild didn't fix any packages, when I go to emerge compiz-fusion I get this:
Code: | -Wl,-soname -Wl,libnotification.so -o .libs/libnotification.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12
|
So wtf, how do I fix it? |
Read my first post in this thread and d2_racing post right below mine. They are a bit higher up on this page.
You're going to need to run 'lafilefixer --justfixit'. Follow directions and read. Your problem should be solved.
Ciao |
Na did what both of you said and still have the same emerge fail and revdep-rebuild doesn't rebuild anything. Any other suggestions? |
It's a hack but you can try to symlink libpng14 to libpng12 then try the above procedure. See if that helps.
Cross your fingers.
Good luck
Ciao |
|
Back to top |
|
|
Gankfest l33t
Joined: 01 Aug 2007 Posts: 946 Location: Miami Beach, FL
|
Posted: Tue May 11, 2010 1:12 am Post subject: |
|
|
Odysseus wrote: | paradox6996 wrote: | Odysseus wrote: | paradox6996 wrote: | Ok, so did what the first poster said. revdep-rebuild didn't fix any packages, when I go to emerge compiz-fusion I get this:
Code: | -Wl,-soname -Wl,libnotification.so -o .libs/libnotification.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12
|
So wtf, how do I fix it? |
Read my first post in this thread and d2_racing post right below mine. They are a bit higher up on this page.
You're going to need to run 'lafilefixer --justfixit'. Follow directions and read. Your problem should be solved.
Ciao |
Na did what both of you said and still have the same emerge fail and revdep-rebuild doesn't rebuild anything. Any other suggestions? |
It's a hack but you can try to symlink libpng14 to libpng12 then try the above procedure. See if that helps.
Cross your fingers.
Good luck
Ciao |
It's kool that's what I did the first time, I'll just mask 1.4 and go back to 1.2. Why people release something that isn't needed by anything and will break your system is beyond me. I would of waited until it was needed and then released an ebuild that worked. Instead of releasing this crap and then having to hack libraries and then cross my fingers. Thanx for the help tho! _________________ Gankfest™ (>")> ~*
Everyone has to start somewhere, it depends on where you end up that counts! (>")> |
|
Back to top |
|
|
Odysseus Apprentice
Joined: 23 Jun 2004 Posts: 250 Location: Miami, FL. I miss San Francisco!!!
|
Posted: Tue May 11, 2010 1:28 am Post subject: |
|
|
paradox6996 wrote: | Odysseus wrote: | paradox6996 wrote: | Odysseus wrote: | paradox6996 wrote: | Ok, so did what the first poster said. revdep-rebuild didn't fix any packages, when I go to emerge compiz-fusion I get this:
Code: | -Wl,-soname -Wl,libnotification.so -o .libs/libnotification.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12
|
So wtf, how do I fix it? |
Read my first post in this thread and d2_racing post right below mine. They are a bit higher up on this page.
You're going to need to run 'lafilefixer --justfixit'. Follow directions and read. Your problem should be solved.
Ciao |
Na did what both of you said and still have the same emerge fail and revdep-rebuild doesn't rebuild anything. Any other suggestions? |
It's a hack but you can try to symlink libpng14 to libpng12 then try the above procedure. See if that helps.
Cross your fingers.
Good luck
Ciao |
It's kool that's what I did the first time, I'll just mask 1.4 and go back to 1.2. Why people release something that isn't needed by anything and will break your system is beyond me. I would of waited until it was needed and then released an ebuild that worked. Instead of releasing this crap and then having to hack libraries and then cross my fingers. Thanx for the help tho! |
First of all you do understand / know that your running an unstable / testing arch , correct? If you want stable then change your arch in make.conf, but even then occasionally something new gets added that breaks your system when there is a significant change. For most of us we understand and accept that this is a drawback for running Gentoo. It's a source based, running Distro. since everything is directly compiled against whatever is on your particular system it sometimes requires a lot of recompiling. If you don't like it run Debian or Fedora.
It's just like when you have to upgrade GCC, and rebuild your system. Getting upset solves nothing!
The sticky warning of this major update to libpng and asking for volunteers to test it was posted at the top of this forum back in March. Instead of complaining about how screwed-up this update is, perhaps you can post a thorough bug report. Or help out next time.
Ciao
Last edited by Odysseus on Wed May 12, 2010 2:03 am; edited 1 time in total |
|
Back to top |
|
|
Gankfest l33t
Joined: 01 Aug 2007 Posts: 946 Location: Miami Beach, FL
|
Posted: Tue May 11, 2010 1:39 am Post subject: |
|
|
Just to say I help out a lot more than you around here, but anyway I quit smoking today, I'm a bit testing my bad! ;P No one is perfect so lets just move on! _________________ Gankfest™ (>")> ~*
Everyone has to start somewhere, it depends on where you end up that counts! (>")> |
|
Back to top |
|
|
Odysseus Apprentice
Joined: 23 Jun 2004 Posts: 250 Location: Miami, FL. I miss San Francisco!!!
|
Posted: Tue May 11, 2010 1:44 am Post subject: |
|
|
paradox6996 wrote: | Just to say I help out a lot more than you around here, but anyway I quit smoking today, I'm a bit testing my bad! ;P No one is perfect so lets just move on! |
I can understand that. I've quit trying to smoke 3 times so far this year and still can't stop. I've lost count about how many other times I've tried to quit.
Getting back.... what exactly is failing to compile for you, besides compiz-fusion? Have you tried skipping it then trying to rebuild later?
Anyhow Good luck!
Ciao |
|
Back to top |
|
|
FishB8 l33t
Joined: 17 Mar 2003 Posts: 820
|
Posted: Tue May 11, 2010 4:48 am Post subject: |
|
|
app-office/gnumeric-1.10.3 fails to build. (after lafilefixer and revdep-rebuild) _________________ "...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin |
|
Back to top |
|
|
arnvidr l33t
Joined: 19 Aug 2004 Posts: 629 Location: Oslo, Norway
|
Posted: Tue May 11, 2010 5:35 am Post subject: |
|
|
Martux wrote: | @arnvidr:
You got nxclient to compile? HOW??? | I didn't. Updating system installed 1.4, updating world downgraded it again. Anyway, the problem is gone now, the old version is now slotted automatically. _________________
|
|
Back to top |
|
|
gregool Guru
Joined: 26 Nov 2007 Posts: 336 Location: Lille
|
Posted: Tue May 11, 2010 7:39 am Post subject: |
|
|
ssuominen wrote: |
1. # emerge cairo pango gtk+ atk libglade qt-gui
1.b # Try revdep-rebuild again, with luck, you get a bit futher now
|
I owe you one ssuominen ! i couldn't figure out what would be the right order to emerge everything properly ! |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Tue May 11, 2010 9:26 am Post subject: |
|
|
media-libs/libpng-1.4.2 installs now brute force script to /usr/sbin:
Code: |
#!/bin/bash
echo "Run revdep-rebuild before this. This brute force script will rename"
echo "rest of -lpng12 and libpng12.la entries in your systems .la files."
[[ -d /usr/lib64 ]] && lib_suffix=64
libdir=/usr/lib${lib_suffix}
find ${libdir} -name '*.la' | xargs sed -i -e '/^dependency_libs/s:-lpng12:-lpng14:'
find ${libdir} -name '*.la' | xargs sed -i -e '/^dependency_libs/s:libpng12.la:libpng14.la:'
# WTFPL-2
|
That, with combination of revdep-rebuild, you should quite easily recover the system. |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Tue May 11, 2010 11:04 am Post subject: |
|
|
Did an emerge --sync.
After that emerge -uDp world.
This is the result: Code: |
These are the packages that would be merged, in order:
Calculating dependencies .... done!
[ebuild U ] sys-libs/timezone-data-2010i [2010b]
[ebuild NS ] media-libs/libpng-1.2.43-r2 [1.2.40]
[uninstall ] media-libs/libpng-1.2.40
[blocks b ] <media-libs/libpng-1.2.43-r2 ("<media-libs/libpng-1.2.43-r2" is blocking media-libs/libpng-1.2.43-r2)
[ebuild U ] sys-apps/man-pages-3.24 [3.23] |
I am sorry to not grasp the meaning of a package blocking itself.
I am not going ahead with this.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
Bitspyer Apprentice
Joined: 17 Dec 2002 Posts: 211 Location: Mainz, Germany
|
Posted: Tue May 11, 2010 11:15 am Post subject: |
|
|
Attention!
vmware-player needs libpng12.so.0 !
Solution
emerge libpng:1.2
ln -s /usr/lib64/libpng12.so.0.43.0 /usr/lib64/libpng12.so.0 _________________ Der Weg zur Dunklen Seite... Schneller er ist, verführerischer, leichter. |
|
Back to top |
|
|
gemini91 Guru
Joined: 27 Nov 2003 Posts: 317 Location: Naples, Fl
|
Posted: Tue May 11, 2010 12:44 pm Post subject: |
|
|
When this first showed up, the end of last week. I masked ligpng-1.4*. Then
found this report and followed it for a few days. I decided today to try the update
again. I followed this procedure from 'Odysseus"
Code: |
'emerge --oneshot libpng', 'lafilefixer --justfixit', 'emerge --oneshot cairo pango libglade GTK+' (omit emerging any which aren't installed) , 'lafilefixer --justfixit', 'revdep-rebuild' and for sanity's sake 'revdep-rebuild' again.
|
It worked with out any problems what-so-ever. |
|
Back to top |
|
|
gordonp Tux's lil' helper
Joined: 23 May 2005 Posts: 102
|
Posted: Tue May 11, 2010 2:35 pm Post subject: |
|
|
I have read through the entire 3 pages of this thread (as the time of writing), so I was sort of prepared when my first stable amd64 system saw the libpng upgrade... lafilefixer and revdep-rebuild were completing without invoking any repair-work.
But still:
Code: | dragon ~ # emerge -pDNuv world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild NS ] media-libs/libpng-1.2.43-r1 [1.2.43-r2] 0 kB
[blocks B ] <media-libs/libpng-1.2.43-r2 ("<media-libs/libpng-1.2.43-r2" is blocking media-libs/libpng-1.2.43-r2)
Total: 1 package (1 in new slot), Size of downloads: 0 kB
Conflict: 1 block (1 unsatisfied)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
('ebuild', '/', 'media-libs/libpng-1.2.43-r1', 'merge') pulled in by
media-libs/libpng:1.2 required by ('installed', '/', 'net-misc/nxclient-3.4.0.5', 'nomerge')
('installed', '/', 'media-libs/libpng-1.2.43-r2', 'nomerge') pulled in by
media-libs/libpng required by ('installed', '/', 'kde-base/kdelibs-4.3.5', 'nomerge')
>=media-libs/libpng-1.2.5 required by ('installed', '/', 'app-text/ghostscript-gpl-8.64-r3', 'nomerge')
media-libs/libpng required by ('installed', '/', 'x11-themes/xcursor-themes-1.0.2', 'nomerge')
(and 44 more)
|
I have no idea what (if anything) to do, at this point. I don't have the specified "media-libs/libpng:1.2" slotted package installed, yet I've had nxclient installed and working for a while, now (I am remote from this machine right now, and cannot check if nxclient is still working today)...?
...what to do? |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Tue May 11, 2010 4:38 pm Post subject: |
|
|
I second gordonp's opinion. why has the slotting (which worked perfectly yesterday) been made undone?
Now the blocker is up again on two machines here. _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6145 Location: Dallas area
|
Posted: Tue May 11, 2010 5:50 pm Post subject: |
|
|
media-libs/libpng-1.2.40:1.2
media-libs/libpng-1.2.43-r1:1.2
media-libs/libpng-1.2.43-r2:0
media-libs/libpng-1.4.2:0
notice the slotting after each png release,
Yesterday or the day before libpng-1.2.40 was the only stable (amd64)
today it's all but libpng-1.4.2 _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Tue May 11, 2010 5:55 pm Post subject: |
|
|
Thanks Anon-E-moose. Does that mean that I would have to downgrade and rebuild all packages against libpng-1.2?
I don't want that, because my system works with both 12 and 1.4 installed. How do I tell portage that it should keep both versions installed for now? _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6145 Location: Dallas area
|
Posted: Tue May 11, 2010 6:10 pm Post subject: |
|
|
If you have both already installed then adding something like
Code: | media-libs/libpng:1.2 |
to the /var/lib/portage/world file should keep the 1.2 version.
And I would add libpng-1.2.43-r2 to /etc/portage/package.mask as it is a "slot 0" like 1.4.2 _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Tue May 11, 2010 6:15 pm Post subject: |
|
|
Anon-E-moose wrote: |
And I would add libpng-1.2.43-r2 to /etc/portage/package.mask as it is a "slot 0" like 1.4.2 |
Great! That fixed it, thanks. Sometimes portage can be confusing, even after all those years _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Tue May 11, 2010 9:02 pm Post subject: |
|
|
Quote: | And I would add libpng-1.2.43-r2 to /etc/portage/package.mask as it is a "slot 0" like 1.4.2 |
I'm confused about this - this morning I upgraded to libpng-1.2.43-r2.
It is now the *only* libpng I have installed. Everything works fine.
Of course, .43 puts in a libpng12.so.0 symlink. _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
azp Guru
Joined: 16 Nov 2003 Posts: 456 Location: Sweden
|
Posted: Tue May 11, 2010 9:39 pm Post subject: |
|
|
I started trying to fix this issue before checking out this thread. First I had issues with the xf86-video-ati, so I reverted mesa and libdrm (to non-X11 overlay), and then ran revdep-rebuild. That showed me that libpng was also an issue, and I let it run until it was done. Didn't fix everything though, so I'm trying out lafilefixer now.
I just took out the big guns a couple of hours ago an ran
emerge -e gdm
which has been rebuilding 385 packages. Thank god for 8 cores and 4Gb of memory, right? There still seems to be some issues though, I'll need to check revdep-rebuild again afterwards. I'm just keeping my fingers crossed, hehe. I live in Sweden but I'm in Germany for 2 weeks, and my GF likes using the computer while I'm gone, hehe. And now there's no GUI =)
Thank Satan for SSH! _________________ Weeks of coding can save you hours of planning. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6145 Location: Dallas area
|
Posted: Tue May 11, 2010 10:13 pm Post subject: |
|
|
albright wrote: | Quote: | And I would add libpng-1.2.43-r2 to /etc/portage/package.mask as it is a "slot 0" like 1.4.2 |
I'm confused about this - this morning I upgraded to libpng-1.2.43-r2.
It is now the *only* libpng I have installed. Everything works fine.
Of course, .43 puts in a libpng12.so.0 symlink. |
You shouldn't have a problem then
the quote above is if one is trying to keep 1.2.40 and the new 1.4.2 at the same time. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
xiber Apprentice
Joined: 28 Oct 2003 Posts: 245 Location: Fremont, CA
|
Posted: Tue May 11, 2010 11:45 pm Post subject: |
|
|
Gotta love these innocent looking portage updates. Usually pretty good at avoiding them, but not this time. So now, I stuck at building cairo:
Code: | checking for cairo's PNG functions feature...
configure: WARNING: Could not find libpng in the pkg-config search path |
Well, I have:
Code: | [I--] [ ~] media-libs/libpng-1.2.43-r1 (1.2)
[I--] [ ~] media-libs/libpng-1.4.2 (0) |
and ran
Code: | lafilefixer --justfixit |
Now trying to build cairo. Also: cat /usr/lib/pkgconfig/libpng.pc
Code: | prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/libpng14
Name: libpng
Description: Loads and saves PNG files
Version: 1.4.2
Libs: -L${libdir} -lpng14
Libs.private: -lz -lm
Cflags: -I${includedir} |
So I don't understand why pkg-config can't find the new libpng.
SOLVED: I'm using a different cairo ebuild that was missing a patch for libpng14. _________________ Athlon XP-M 2600 @ 2.3 GHz OC | Abit NF7-S r2.0 | 2x512MB PC3200 | 6600GT OC | Audigy 2 | Gentoo | 2005
Athlon 64 X2 4600 @ 2.4 GHz | Asus M2N-SLI DLX | 4x1GB PC6400 | 7600GT KO | 7HD @ 3.1TB | OpenSolaris SXCE | 2007
Last edited by xiber on Wed May 12, 2010 1:02 am; edited 2 times in total |
|
Back to top |
|
|
lightvhawk0 Guru
Joined: 07 Nov 2003 Posts: 388
|
Posted: Wed May 12, 2010 12:58 am Post subject: |
|
|
Code: | IOS lib # ln -s /usr/lib64/libpng.a /usr/lib64/libpng12.a
IOS lib # ln -s /usr/lib64/libpng.la /usr/lib64/libpng12.la
IOS lib # ln -s /usr/lib64/libpng.so /usr/lib64/libpng12.so
IOS lib # ln -s /usr/lib64/libpng.so /usr/lib64/libpng12.so.0
|
everything compiles now hahahaha _________________ If God has made us in his image, we have returned him the favor. - Voltaire |
|
Back to top |
|
|
Cr0t l33t
Joined: 27 Apr 2002 Posts: 944 Location: USA
|
Posted: Wed May 12, 2010 1:49 am Post subject: |
|
|
lightvhawk0 wrote: | Code: | IOS lib # ln -s /usr/lib64/libpng.a /usr/lib64/libpng12.a
IOS lib # ln -s /usr/lib64/libpng.la /usr/lib64/libpng12.la
IOS lib # ln -s /usr/lib64/libpng.so /usr/lib64/libpng12.so
IOS lib # ln -s /usr/lib64/libpng.so /usr/lib64/libpng12.so.0
|
everything compiles now hahahaha |
I pretty much did the same thing lol _________________ cya |
|
Back to top |
|
|
|