List Info

Thread: SOLVED(?): failed to load "./stock_about_16.png": Couldn't recognize the image file format




SOLVED(?): failed to load "./stock_about_16.png": Couldn't recognize the image file format
user name
2006-05-25 09:36:40
John Bowler wrote:
> Which means it won't work with static linking. 
libpng-config, on the
> other hand, includes -lz when called with --static.

Isn't that what the Libs.private field in the .pc files is
for, and the 
--static option to pkg-config?

> I guess that's a theoretical possibility, but so far
as I am aware
> an attempt to link an application against a DLL with
unresolved
> symbol references fails (e.g. -lpng12 without -lz prior
to 1.2.8).

Doesn't it only fail if you use -z defs?



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the
Cost and Risk!
Fully trained technicians. The highest number of Red Hat
certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
png-mng-implement mailing list
png-mng-implementlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/png-m
ng-implement
SOLVED(?): failed to load "./stock_about_16.png": Couldn't recognize the image file format
user name
2006-05-25 15:50:36
From: Christian Biesinger
>John Bowler wrote:
>> I guess that's a theoretical possibility, but so
far as I am aware an 
>> attempt to link an application against a DLL with
unresolved symbol 
>> references fails (e.g. -lpng12 without -lz prior to
1.2.8).
>
>Doesn't it only fail if you use -z defs?

I just used the defaults - "gcc -o t t.c
-lpng12", where t.c is
trivial "int main(void){return 0;}".  That
failed to link because
of all the unresolved zlib symbols when I used 1.2.8.  In
the 1.2.8
configure build it is fine because the .so *is* linked
against -lz
and -lm

John Bowler <jbowleracm.org>



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the
Cost and Risk!
Fully trained technicians. The highest number of Red Hat
certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
png-mng-implement mailing list
png-mng-implementlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/png-m
ng-implement
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )