You are not logged in.
IMO, libpng15.so.15 related errors mean that the application being upgraded still needs the previous version of libpng. As Scimmia has pointed out, this may happen due to the order in which the upgrade is performed. What output is returned when you run
ldd /usr/lib/libgd.so.2
?
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
linux-vdso.so.1 (0x00007fffdcf49000)
libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007f91d20a8000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f91d1e6c000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f91d1bcd000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f91d1997000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f91d1781000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f91d1483000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f91d10d5000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f91d0eab000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f91d0c8f000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f91d0a7e000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007f91d2566000)
sorry for my english. {Arch Linux, Debian} User
Offline
This line
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f91d1997000)
indicates that everything is fine. When in doubt, you can perform a similar check for other libraries that returned an error during update, too.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Thanks bohoomil.
sorry for my english. {Arch Linux, Debian} User
Offline
The issue is easily solvable, if you downgrade to a previous version of "1ibpng", if you are lucky the old package may still be on your computer.
# cd /var/cache/pacman/pkg/
# ls (check to see if its still there)
# pacman -U nameofpackage.tar.xz (will downgrade to selected package)
note: this will not work if you ran "pacman -Scc" recently.
Offline
The issue is easily solvable, if you downgrade to a previous version of "1ibpng", if you are lucky the old package may still be on your computer.
This is actually anything but a solution…
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
I agree with bohoomil: packages in the official repos have already been rebuilt, so a full upgrade should be all you need (rebuild AUR / unofficial repos packages if necessary).
Offline
I guess we'll be seeing a lot of these. People really should understand better the responsibilities of using AUR packages that replace important packages from the repos. In this case, cairo.
I had same scenario regarding libpng15.so however i encountered no X errors on wilmas thinkpad (Arch32) with 0 AUR packages installed.
Last edited by cirrus (2013-05-07 22:23:43)
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
Gusar wrote:I guess we'll be seeing a lot of these. People really should understand better the responsibilities of using AUR packages that replace important packages from the repos. In this case, cairo.
I had same scenario on wilmas thinkpad (Arch32) with 0 AUR packages installed.
And 0 packages from unofficial repos?
Offline
no unofficial repos, i try and keep wilmas box that way as she only uses it for shopping, and she hasnt mastered cower as yet (she not tech savvy). I noticed another user in this thread had same same and he too states he had 0 AUR packages installed either, Its no big deal everything is as it should be.
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
cirrus, what issue exactly do you have? Is it just gtk-update-icon-cache failing during the update? That's temporary, it'll work again as soon as gdk-pixbuf2 is updated. If you have some other issue, explain it in detail.
Offline
I installed libpng15 from AUR alongside extra/libpng, then reinstalled gdk-pixbuf2 firefox chromium and vlc (and others). That fixed my browsers.
Offline
I installed libpng15 from AUR alongside extra/libpng, then reinstalled gdk-pixbuf2 firefox chromium and vlc (and others). That fixed my browsers.
like amaterasu1993's suggestion, yours doesn't solve the problem, it merely hides it.
If you've done a full upgrade, updated all AUR packages and packages from unofficial repos and you have no ignored packages, I don't see why would this be necessary.
If you want, please open a new thread and provide some more info, e.g. what errors do you get w/o libpng15, the list foreign packages etc.
Offline
I have had the same problems during last system update. Several errors i resolved by reinstalling problematic packages (pacman -S name_of_package_with_error). I know that was not good idea but reinstallation have ended without warning or errors. It was only test.
But now, i have troubles with apache.
May 08 13:58:58 kavka-pc systemd[1]: Starting Apache Web Server...
May 08 13:58:58 kavka-pc apachectl[1831]: httpd: Syntax error on line 124 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/httpd/modules/libphp5.so into server: libpng15.so.15: cannot open shared object
May 08 13:58:58 kavka-pc systemd[1]: httpd.service: control process exited, code=exited status=1
May 08 13:58:58 kavka-pc systemd[1]: Failed to start Apache Web Server.
May 08 13:58:58 kavka-pc systemd[1]: MESSAGE=Unit httpd.service entered failed state.
I have not tried downgrade of libpng. I like to find solution for newest version of that library.
I have found one bug report relating to libpng https://bugs.archlinux.org/task/35071 but its solution does not help me with apache installed from official repositories
thank you for help.
Offline
Are you using the default php-apache from the AUR repos? It installs just fine, try re-installing it if necessary.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
your right! im using 'apache' installed from extra and it is out of date
https://www.archlinux.org/packages/extra/x86_64/apache/
what should i do now. should i wait or replace with php-apache?? ...... i have everything configured with mod_wsgi for python + django etc.
Offline
As far as I can tell, you don't even have to rebuild anything. Simply edit the file that returns the error and point it to use the new libpng:
httpd: Syntax error on line 124 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/httpd/modules/libphp5.so into server: libpng15.so.15: cannot open shared object
Edit: even less should do, I guess: restart the machine first and check if everything works correctly.
Last edited by bohoomil (2013-05-08 12:52:12)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
I ran "pacman -Syu" it then corrected any problems I had, all programs are now working correctly with the new libpng.
Last edited by amaterasu1993 (2013-05-08 16:53:06)
Offline
I just installed libpng15 from AUR to run side by side with libpng16. When I tried to startx with just libpng16 it crashed saying that libpng15.so.15 was not found, and when I downgraded it say that libpng16.so.16 was not found.
I agree that this is not a true fix, but at the moment I just needed my computer working again. I have no ignored packages and other than that everything is up to date.
Offline
placeybordeaux, you sure you don't have any AUR or third party repo packages that need rebuilt?
Offline
placeybordeaux, you sure you don't have any AUR or third party repo packages that need rebuilt?
There could always be the odd community package which needs rebuilding or the devs missed one in extra/core.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Online
Well for me Xserver wasn't even starting up, I don't think that xserver crashing would indicate that I needed to rebuild an AUR package. I had to find this thread with links and install both libpng16 and libpng15 to get it to work. Downgrading didn't fix it, only both side by side fixed it.
Offline
If you installed X from the official repos, it cannot possibly require libpng15 since that package is not included in the official repos and nothing in those repos can depend on anything unavailable there.
I have libpng and libpng12, as well as the 32 bit variants, installed and X works fine here. That is, I don't have any libpng from AUR or elsewhere.
So there is something unusual about your set up if you cannot start X without an AUR package.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline