Bug 770203 - No libpng.a
Summary: No libpng.a
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw32-libpng
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-24 08:55 UTC by Ivan Romanov
Modified: 2012-01-01 21:23 UTC (History)
5 users (show)

Fixed In Version: mingw32-libpng-1.4.8-2.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-01 21:20:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.