You are not logged in.

#1 2011-01-20 18:20:42

esuhl
Member
From: UK
Registered: 2009-09-16
Posts: 140

[SOLVED] Error "libpng12: /usr/lib/libpng.so.3 exists in filesystem".

I've just tried to install the stable "google-chrome" package from AUR with the command.  I have all of the dependencies already installed except for these two:

- libjpeg6 (building from AUR)
- libpng12 (package found)

When the package manage tries to install "libpng12-1.2.43-1", I get the following error:

error: failed to commit transaction (conflicting files)
libpng12: /usr/lib/libpng.so.3 exists in filesystem
Errors occurred, no packages were upgraded.

According to the file manager (Thunar), the file /usr/lib/libpng.so.3 is a link to /usr/lib/libpng.so.

This is probably a silly question (as I'm a clueless newbie!) but... can I just delete this link and expect the installation of libpng12 to replace it so that everything will still work...?

Thanks in advance :-)

Last edited by esuhl (2011-01-21 02:46:19)

Offline

#2 2011-01-20 18:23:54

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] Error "libpng12: /usr/lib/libpng.so.3 exists in filesystem".

$ pacman -Ql libpng|grep /lib/
libpng /usr/lib/
libpng /usr/lib/libpng.a
libpng /usr/lib/libpng.so
libpng /usr/lib/libpng14.a
libpng /usr/lib/libpng14.so
libpng /usr/lib/libpng14.so.14
libpng /usr/lib/libpng14.so.14.5.0
libpng /usr/lib/pkgconfig/
libpng /usr/lib/pkgconfig/libpng.pc
libpng /usr/lib/pkgconfig/libpng14.pc

A tip: run pacman -Qo on the file in question, either you put that symlink there yourself or strange things are happening on your system.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2011-01-20 18:49:00

esuhl
Member
From: UK
Registered: 2009-09-16
Posts: 140

Re: [SOLVED] Error "libpng12: /usr/lib/libpng.so.3 exists in filesystem".

Thanks for the tip!  pacman -Qo tells me that

error: No package owns /usr/lib/libpng.so.3

I may have created the link to resolve some other error...

Anyway, I deleted it and google-chrome installs without errors.

Thanks again!

Last edited by esuhl (2011-01-21 02:45:24)

Offline

Board footer

Powered by FluxBB