Bug 770203

Summary: No libpng.a
Product: [Fedora] Fedora Reporter: Ivan Romanov <drizt72>
Component: mingw32-libpngAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: erik-fedora, fedora-mingw, ktietz, lfarkas, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mingw32-libpng-1.4.8-2.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-01 21:20:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ivan Romanov 2011-12-24 08:55:50 UTC
Description of problem:
I built static version of mingw32-qt. But I can't build test project with static. 

i686-pc-mingw32-g++ -static -static-libgcc -Wl,-s -Wl,-subsystem,windows -o release/standarddialogs.exe release/dialog.o release/main.o release/moc_dialog.o  -L'/home/taurus/qt/mingw32/lib' -lmingw32 -lqtmain -lQtGui -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -ljpeg -ltiff -lmsimg32 -lQtCore -lpng -lole32 -luuid -lws2_32 -ladvapi32 -lshell32 -luser32 -lkernel32 -lz 
/usr/lib/gcc/i686-pc-mingw32/4.5.3/../../../../i686-pc-mingw32/bin/ld: cannot find -lpng

I had a look at mingw32-libpng package. It has libpng14.dll.a, it has libpng.dll.a, it has libpng14.a but it hasn't libpng.a

Can you make symbolic link to? libpng.a -> libpng14.a .

Comment 1 Fedora Update System 2011-12-24 15:30:50 UTC
mingw32-libpng-1.4.8-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/mingw32-libpng-1.4.8-2.fc15

Comment 2 Fedora Update System 2011-12-24 15:31:42 UTC
mingw32-libpng-1.4.8-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mingw32-libpng-1.4.8-2.fc16

Comment 3 Fedora Update System 2011-12-24 20:50:54 UTC
Package mingw32-libpng-1.4.8-2.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mingw32-libpng-1.4.8-2.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-17428/mingw32-libpng-1.4.8-2.fc15
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-01-01 21:20:35 UTC
mingw32-libpng-1.4.8-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2012-01-01 21:23:08 UTC
mingw32-libpng-1.4.8-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.