Bug 16431

Summary: crossfire-client-gtk2: error while loading shared libraries: libpng15.so.15
Product: Mageia Reporter: Kevin Bulgrien <kbulgrien>
Component: RPM PackagesAssignee: Rémi Verschelde <rverschelde>
Status: RESOLVED INVALID QA Contact:
Severity: critical    
Priority: Normal Keywords: NEEDINFO
Version: 5   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: crossfire-client-1.71.0-3.mga5.src.rpm CVE:
Status comment:

Description Kevin Bulgrien 2015-07-21 07:00:42 CEST
Name        : crossfire-client
Version     : 1.71.0
Release     : 3.mga5
Architecture: i586
Install Date: Mon 20 Jul 2015 11:54:21 PM CDT
Group       : Games/Adventure
Size        : 3106057
License     : GPLv2+
Signature   : RSA/SHA1, Wed 15 Oct 2014 08:43:30 PM CDT, Key ID b742fa8b80420f66
Source RPM  : crossfire-client-1.71.0-3.mga5.src.rpm
Build Date  : Wed 15 Oct 2014 08:11:54 PM CDT
Build Host  : valstar.mageia.org
Relocations : (not relocatable)
Packager    : umeabot <umeabot>
Vendor      : Mageia.Org
URL         : http://crossfire.real-time.com
Summary     : Client for connecting to Crossfire game servers

Installation of this package does not install all dependencies:

$ crossfire-client-gtk2 
crossfire-client-gtk2: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory
Kevin Bulgrien 2015-07-21 07:01:52 CEST

Source RPM: (none) => crossfire-client-1.71.0-3.mga5.src.rpm

Comment 1 Kevin Bulgrien 2015-07-21 07:05:21 CEST
It appears that the package was not rebuilt when libpng was updated:

$ rpm -qa   | grep libpng
libpng16_16-1.6.17-1.mga5
Rémi Verschelde 2015-07-21 11:48:21 CEST

Assignee: bugsquad => rverschelde

Comment 2 Rémi Verschelde 2015-07-21 11:49:47 CEST
I can't reproduce on x86_64, the GTK+2 client works fine. I'll try in a i586 VM, maybe the 32bit package was not rebuilt properly.

Hardware: All => i586

Comment 3 Rémi Verschelde 2015-07-21 11:56:05 CEST
I can't reproduce either in a 32bit VM. The binary is properly linked against libpng16, which I would expect since we are using libpng16 as default version since Mageia 4, and the crossfire client was packaged for Mageia 5 initially.

$ ldd /usr/games/crossfire-client-gtk2 | grep png
	libpng16.so.16 => /lib/libpng16.so.16 (0xb6caa000)


Could you give more details about your configuration? Did you install crossfire-client using our RPM, or a third-party RPM/tarball? Is it a new Mageia 5 install, or an upgraded system from Mageia 3 then 4?

Keywords: (none) => NEEDINFO

Comment 4 Kevin Bulgrien 2015-07-22 03:02:52 CEST
Oh no...  This is an upgraded system, so system paths are modified as they used to be when I built custom binaries:

$ which crossfire-client-gtk2 
/home/apps/crossfire/bin/crossfire-client-gtk2

This is not a Magiea error.  Sorry about the false alarm.  I should have dug deeper before posting this.

Status: NEW => RESOLVED
Resolution: (none) => INVALID