You are not logged in.

#26 2010-01-31 21:57:39

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]libpng12.so.0: cannot openshared object file

guisacouto wrote:

the intervals of time are big and the packages werent updated at same time because the mirrors were not fully updated yet so I deleted the lines with:
[2010-01-31 17:28] synchronizing package lists
[2010-01-31 17:28] starting full system upgrade

http://pastebin.ca/1773575

hope it helps

regards

same as Varnsen. read my message to him.


Give what you have. To someone, it may be better than you dare to think.

Offline

#27 2010-01-31 23:36:54

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

Re: [SOLVED]libpng12.so.0: cannot openshared object file

tks wonder! it worked! sorry for all this mess:X

regards!

Offline

#28 2010-02-06 09:46:01

FlorinM
Member
Registered: 2009-12-19
Posts: 8

Re: [SOLVED]libpng12.so.0: cannot openshared object file

Hello. I have the same problem. I installed rhythmbox, and it didn't started, saying that libpng12.so.0: cannot openshared object file. i did pacman -Sy libpng and now kde is not starting for the same reason, even after i have reinstalled it

Offline

#29 2010-02-06 09:57:10

jowilkin
Member
Registered: 2009-05-07
Posts: 243

Re: [SOLVED]libpng12.so.0: cannot openshared object file

Florin - you need to update your whole system with pacman -Syu, you shouldnt install a single package with pacman -Sy, it can end up with things getting out of sync.

Update your entire system, and then if you still have problems, post which applications are giving you the problems.

Offline

#30 2010-02-06 10:08:44

FlorinM
Member
Registered: 2009-12-19
Posts: 8

Re: [SOLVED]libpng12.so.0: cannot openshared object file

i have updated the system with pacman -Syu, and now nothing works anymore. it is not responding to anything except power button. The last thing i see is starting modules

Offline

#31 2010-02-06 10:47:48

jowilkin
Member
Registered: 2009-05-07
Posts: 243

Re: [SOLVED]libpng12.so.0: cannot openshared object file

I would boot from a live cd, mount your current installation, and get a list of the packages that you updated from the pacman log (/var/log/pacman.log), the post that to pastebin and link to it here.  If the breakage was caused by an update, that should narrow down the list of culprits to check on.

Offline

#32 2010-02-06 15:19:58

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

Re: [SOLVED]libpng12.so.0: cannot openshared object file

FlorinM wrote:

i have updated the system with pacman -Syu, and now nothing works anymore. it is not responding to anything except power button. The last thing i see is starting modules

when booting from live cd chroot from there.. then launch any program to see the output. do you have cairo-lcd installed?

regards

Offline

#33 2010-02-06 16:26:13

FlorinM
Member
Registered: 2009-12-19
Posts: 8

Re: [SOLVED]libpng12.so.0: cannot openshared object file

i have booted with a livecd, and looking in logs i foud this:

in .var/log/error.log
Feb  6 11:29:49 laptop kdm: :0[1348]: Abnormal termination of greeter for display :0, code 127, signal 0
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

in /var/log/kdm.log
(==) Using config file: "/etc/X11/xorg.conf"
/usr/lib/kde4/libexec/kdm_greet: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directo
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

During pacman -Syu i saw the same error (error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory) in the output when it installed gtk2 (and maybe others)

I don't have cairo-lcd intalled

Offline

#34 2010-02-06 16:27:49

FlorinM
Member
Registered: 2009-12-19
Posts: 8

Re: [SOLVED]libpng12.so.0: cannot openshared object file

The pacman log is here: http://pastebin.ca/1788013

Offline

#35 2010-02-06 16:37:07

FlorinM
Member
Registered: 2009-12-19
Posts: 8

Re: [SOLVED]libpng12.so.0: cannot openshared object file

I have posted /var/log/pacman.log to http://pastebin.ca/1788013 after i did the full upgrade
pacman -Qs gives
local/cairo 1.8.8-2
local/pycairo 1.8.8-1

Offline

#36 2010-02-06 18:03:37

makimaki
Member
From: Ireland
Registered: 2009-04-02
Posts: 109

Re: [SOLVED]libpng12.so.0: cannot openshared object file

mechmg93 wrote:
wonder wrote:

really i don't understand why did you open a bug report. is even invalid. lets try to debug why is not working for you.
i'm asking again the list of packages you updated.

i, the person who opened the bug report, am not the person who you asked the list, and the reason i opened it , it's because it's a bug. so simple.

You should read the developers public mailing list. They have been doing a huge amount of work recompiling/repackaging every app that depends on libpng, and it has been at least a month in the planning. It's not a bug, as far as I know, everything in the repos have been recompiled for libpng 1.4, it's only thinngs in aur, like cairo-lcd, and aur/chromium.


====* -- Joke
    O
    \|/ --- Me
    / \             Whooooosh

Offline

#37 2010-02-06 21:05:52

hibana
Member
Registered: 2010-02-06
Posts: 4

Re: [SOLVED]libpng12.so.0: cannot openshared object file

I've got exactly the same problem. Here is my log: http://pastebin.ca/1788386
I've installed the system today. Since installation f.e. Amarok didn't work because of the lack of libpng.8. Now I can't use Amarok, Dolphin, Kate, etc. - everything says

error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

I cannot do pacman -Syu, because there's a problem with dependencies. What should I do? Please, help.

Last edited by hibana (2010-02-06 21:06:23)

Offline

#38 2010-02-06 21:11:23

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

Re: [SOLVED]libpng12.so.0: cannot openshared object file

install libpng12 temporarly from the AUR.. see if the problem with dependencies continues.. if it doenst then update;)

Offline

#39 2010-02-06 21:30:24

hibana
Member
Registered: 2010-02-06
Posts: 4

Re: [SOLVED]libpng12.so.0: cannot openshared object file

guisacouto wrote:

install libpng12 temporarly from the AUR.. see if the problem with dependencies continues.. if it doenst then update;)

I had to install lib32-libpng12, because I have x86-64. I've installed yaourt and then, using yaourt, lib32-libpng12.  I've tried to make pacman -Syu, but there's still problem with dependencies.

---

Ok, i've just changed the ('i686') to ('x86_64') in the file and installed libpng12 by yaourt.

Amarok

<unknown program name>(11358)/: KUniqueApplication: Cannot find the D-Bus session server:  "/usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified
Autolaunch error: X11 initialization failed."
<unknown program name>(11357)/: KUniqueApplication: Pipe closed unexpectedly.

and Kate

kate: cannot connect to X server :0.0

still don't work, but Dolphin works. I still can't do the pacman -Syu. What should I do now?...

Last edited by hibana (2010-02-06 21:50:30)

Offline

#40 2010-02-06 22:28:16

makimaki
Member
From: Ireland
Registered: 2009-04-02
Posts: 109

Re: [SOLVED]libpng12.so.0: cannot openshared object file

What daemons do you load? Can you paste the daemons line of your rc.conf?

The problem might be dbus not being loaded. What do you seen when you type:

ps aux|grep dbus

If you see nothing then dbus isn't running, in this case, type

$ sudo /etc/rc.d/dbus/start

and try it again.
If you are using hal, and load it in your daemons list then it should load up dbus. If you don't use hal then you need to include dbus in your daemons list.

You can also check your logs to see if anything is there related to dbus.

Also, why can't you do pacman -Syu? What dependency issues do you have?


====* -- Joke
    O
    \|/ --- Me
    / \             Whooooosh

Offline

#41 2010-02-06 23:37:23

gburus
Member
Registered: 2009-12-01
Posts: 3

Re: [SOLVED]libpng12.so.0: cannot openshared object file

I had similar problem with AUR package Qnapi (it's a client for downloading subtitles, very handy) - it didn't start complaining about libpng2 lib. I had to rebuild it and now it works fine.

Offline

#42 2010-02-07 02:18:30

FlorinM
Member
Registered: 2009-12-19
Posts: 8

Re: [SOLVED]libpng12.so.0: cannot openshared object file

makimaki wrote:
mechmg93 wrote:
wonder wrote:

really i don't understand why did you open a bug report. is even invalid. lets try to debug why is not working for you.
i'm asking again the list of packages you updated.

i, the person who opened the bug report, am not the person who you asked the list, and the reason i opened it , it's because it's a bug. so simple.

You should read the developers public mailing list. They have been doing a huge amount of work recompiling/repackaging every app that depends on libpng, and it has been at least a month in the planning. It's not a bug, as far as I know, everything in the repos have been recompiled for libpng 1.4, it's only thinngs in aur, like cairo-lcd, and aur/chromium.

really not a bug? then why kde require libpng12 after pacman -Syu? the only thing i did was pacman -Sy libpng because i wanted to try rhythmbox. And now i can't use my computer anymore. I will reinstalll from scratch, but this will be my last Arch experience if this kind of problem will arise again. This is not the first time when i have this kind of problems.

Offline

#43 2010-02-07 03:01:15

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

Re: [SOLVED]libpng12.so.0: cannot openshared object file

if you isntall libpng12 from aur you still have problems FlorinM? recompile cairo

if you dont like arch, I guess you dont have you dont have to use it.. no one forces you..linux is about choice, so does arch

regards

Offline

#44 2010-02-07 09:42:28

FlorinM
Member
Registered: 2009-12-19
Posts: 8

Re: [SOLVED]libpng12.so.0: cannot openshared object file

guisacouto wrote:

if you isntall libpng12 from aur you still have problems FlorinM? recompile cairo

if you dont like arch, I guess you dont have you dont have to use it.. no one forces you..linux is about choice, so does arch

regards

I can't install libpng from Aur, because it is something that crashes and i can't boot (not even in level 3).

I do like Arch, that's why i'm still trying... but it's the third time when i have to reinstall

Offline

#45 2010-02-07 10:00:37

Flag
Member
Registered: 2009-05-14
Posts: 38

Re: [SOLVED]libpng12.so.0: cannot openshared object file

Had the same problem with splashy. libpng12 and libjpeg7. New versions are libpng14 and libjpeg8 in usr/lib.
Had to ( for splashy ) update /lib/initcpio/install/splashy manually, e.g. change the old version numbers.
Then I ram mkintcpio -p kernel26 again and it worked.
Maybe this helps to find the track to solve problems with other software as well.

Offline

#46 2010-02-07 10:03:00

Flag
Member
Registered: 2009-05-14
Posts: 38

Re: [SOLVED]libpng12.so.0: cannot openshared object file

guisacouto wrote:

if you dont like arch, I guess you dont have you dont have to use it.. no one forces you..linux is about choice, so does arch

regards

Very, very helpful

Offline

#47 2010-02-07 12:56:23

FlorinM
Member
Registered: 2009-12-19
Posts: 8

Re: [SOLVED]libpng12.so.0: cannot openshared object file

i have reinstalled from scratch and it still don't boot.

There is another problem now, i think. It works, but i don't see anything on the screen. But if i type 'root', then password, and then 'reboot', it will reboot. I had problems before with the driver and Xorg (i have intel 82852/855GM), but now i don't even have Xorg. The screen becomes black after "waiting for udev... etc"

Last edited by FlorinM (2010-02-07 14:22:00)

Offline

#48 2010-02-07 13:01:34

hibana
Member
Registered: 2010-02-06
Posts: 4

Re: [SOLVED]libpng12.so.0: cannot openshared object file

makimaki wrote:

What daemons do you load? Can you paste the daemons line of your rc.conf?

The problem might be dbus not being loaded. What do you seen when you type:

ps aux|grep dbus

If you see nothing then dbus isn't running, in this case, type

$ sudo /etc/rc.d/dbus/start

and try it again.
If you are using hal, and load it in your daemons list then it should load up dbus. If you don't use hal then you need to include dbus in your daemons list.

You can also check your logs to see if anything is there related to dbus.

Well, after restarting the machine (I switched it off, when I was coming to sleep) - surprise! - Amarok works. So does Kate and the others apps. I think package from AUR helped. But it was for 32-bit, as I've written earlier, and I've installed it on 64-bit, hm. Yet it works... for now. I don't know how, but - works.

Also, why can't you do pacman -Syu? What dependency issues do you have?

:: Replace avidemux by extra/avidemux-cli? [T/n] T
:: Replace kernel-headers by core/linux-api-headers? [T/n] T
solving dependencies...
warning: depenedency cycle:
warning: xorg-server will be installed before dependencies of nvidia-utils
searching for conflicts between packages...
error:  transaction cannot be made (dependencies cannot be solved)
:: broadcom-wl: requires kernel26<2.6.32

It's since installing of the system (which I've done yesterday). Please, tell what to do. After the installation of system, I only did what Arch Wiki tells. I choose Chakra, not 'clean' Arch to spare some time, but now I am not sure, if it was a good decision; maybe I should install Arch and do everything on my own. Unfortunately, I'm in the middle of session on university and I just need working system :-/ I like Arch and don't want to change it, but don't know what can I fast do with this problem with dependencies.

Last edited by hibana (2010-02-07 13:03:41)

Offline

#49 2010-02-07 17:34:12

makimaki
Member
From: Ireland
Registered: 2009-04-02
Posts: 109

Re: [SOLVED]libpng12.so.0: cannot openshared object file

@hibana

Personally I find it easier to start with a clean system. There's less chance for confusion and dependency hell since I know what I install bit by bit. Having said that, whatever works for you, use it.

First you need to get the latest version of broadcom-wl from AUR, any of the AUR Helpers can be used to build and install it, but Yaourt is probably the easiest for you to use.

Next remove nvidia-utils and nvidia as root

# pacman -R nvidia-utils nvidia

and then try to update xorg-server, and afterwards reinstall nvidia and nvidia-utils, it's also useful to install the vesa driver or nv driver in case you have problems with the official driver.


====* -- Joke
    O
    \|/ --- Me
    / \             Whooooosh

Offline

#50 2010-02-07 19:46:22

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

Re: [SOLVED]libpng12.so.0: cannot openshared object file

FlorinM wrote:
guisacouto wrote:

if you isntall libpng12 from aur you still have problems FlorinM? recompile cairo

if you dont like arch, I guess you dont have you dont have to use it.. no one forces you..linux is about choice, so does arch

regards

I can't install libpng from Aur, because it is something that crashes and i can't boot (not even in level 3).

I do like Arch, that's why i'm still trying... but it's the third time when i have to reinstall

as I allready said before FlorinM, boot with a live cd.. mount the partition and then chroot.. there you will be able to install from AUR and do everything else

regards

Offline

Board footer

Powered by FluxBB