libpng not found but installed
-
- Level 2
- Posts: 14
- Joined: Thu Sep 18, 2014 1:10 pm
libpng not found but installed
Hello
I am using Linux Kubuntu 14.04 LTS
and try to use / compile the latest git Version.
everytime I try to Run a Programm under Wine I get tons of messages that the png format is not compiled.
./configure gives me the following message.
configure: WARNING: libpng development files not found, PNG won't be supported.
sudo apt-get libpng12-dev says that it is installed.
Why did wine not found the installed files?
How can I make it work?
Thanks,
JPR
I am using Linux Kubuntu 14.04 LTS
and try to use / compile the latest git Version.
everytime I try to Run a Programm under Wine I get tons of messages that the png format is not compiled.
./configure gives me the following message.
configure: WARNING: libpng development files not found, PNG won't be supported.
sudo apt-get libpng12-dev says that it is installed.
Why did wine not found the installed files?
How can I make it work?
Thanks,
JPR
Re: libpng not found but installed
You are probably missing the 32 bit libpng development files. Ask on the Ubuntu forum which package to install.
-
- Level 2
- Posts: 14
- Joined: Thu Sep 18, 2014 1:10 pm
Re: libpng not found but installed
Thanks
But I am having only 32Bit Libraries, I am using a 32Bit Linux.
So the 32Bit development Files are installed in /usr/include/libpng which is a link to /usr/include/libpng12 and there is a newer one for minetest and some other newer self compiled programs in /usr/local/include/libpng16.
None of them is found by wine.
Thanks,
JPR
But I am having only 32Bit Libraries, I am using a 32Bit Linux.
So the 32Bit development Files are installed in /usr/include/libpng which is a link to /usr/include/libpng12 and there is a newer one for minetest and some other newer self compiled programs in /usr/local/include/libpng16.
None of them is found by wine.
Thanks,
JPR
Re: libpng not found but installed
Check the config.log to see where configure is looking for it. You may need to make a symlink.
-
- Level 2
- Posts: 14
- Joined: Thu Sep 18, 2014 1:10 pm
Re: libpng not found but installed
Thanks,
where do I find the log?
in /usr/var/log I can´t find it.
thanks
JPR
where do I find the log?
in /usr/var/log I can´t find it.
thanks
JPR
Re: libpng not found but installed
It should be in the Wine source directory.
-
- Level 2
- Posts: 14
- Joined: Thu Sep 18, 2014 1:10 pm
Re: libpng not found but installed
Thanks Found,
But I dont understand whats the Problem he looks in the right path says it is there but did not findt it.
Here is the Snippet.
configure
libpng cflags: -I/usr/local/include/libpng16
configure
libpng libs: -L/usr/local/lib -lpng16
configure
checking png.h usability
configure
gcc -c -g -O2 -I/usr/local/include/libpng16 conftest.c >&5
configure
$? = 0
configure
result: yes
configure
checking png.h presence
configure
gcc -E -I/usr/local/include/libpng16 conftest.c
configure
$? = 0
configure
result: yes
configure
checking for png.h
configure
result: yes
configure
checking for -lpng
configure
gcc -o conftest -g -O2 -I/usr/local/include/libpng16 conftest.c -lpng -L/usr/local/lib -lpng16 -lm -lz >&5
configure
$? = 0
configure
result: not found
configure
WARNING: libpng development files not found, PNG won't be supported.
Thanks,
JPR
But I dont understand whats the Problem he looks in the right path says it is there but did not findt it.
Here is the Snippet.
configure
configure
configure
configure
configure
configure
configure
configure
configure
configure
configure
configure
configure
configure
configure
configure
configure
Thanks,
JPR
Re: libpng not found but installed
What files do you have in /usr/local/lib?configure:12959: gcc -o conftest -g -O2 -I/usr/local/include/libpng16 conftest.c -lpng -L/usr/local/lib -lpng16 -lm -lz >&5
-
- Level 2
- Posts: 14
- Joined: Thu Sep 18, 2014 1:10 pm
Re: libpng not found but installed
/usr/local/lib
ao
doctrine-orm
libao.la
libao.so.4
libao.so.4.0.0
libclamav.la
libclamav.so
libclamav.so.6
libclamav.so.6.1.18
libclamunrar_iface.la
libclamunrar_iface.so
libclamunrar_iface.so.6
libclamunrar_iface.so.6.1.18
libclamunrar.la
libclamunrar.so
libclamunrar.so.6
libclamunrar.so.6.1.18
libIrrlicht.a
libpng16.a
libpng16.la
libpng16.so
libpng16.so.16
libpng16.so.16.10.0
libpng.a
libpng.la
libpng.so
libspeex.a
libspeexdsp.a
libspeexdsp.la
libspeexdsp.so
libspeexdsp.so.1
libspeexdsp.so.1.4.0
libspeex.la
libspeex.so
libspeex.so.1
libspeex.so.1.4.0
libwine.so
libwine.so.1
libwine.so.1.0
libz.a
libz.so
libz.so.1
libz.so.1.2.8
ocaml
pkgconfig
python2.7
python3.3
python3.4
q4wine
site_ruby
wine
yorick
Thanks,
JPR
ao
doctrine-orm
libao.la
libao.so.4
libao.so.4.0.0
libclamav.la
libclamav.so
libclamav.so.6
libclamav.so.6.1.18
libclamunrar_iface.la
libclamunrar_iface.so
libclamunrar_iface.so.6
libclamunrar_iface.so.6.1.18
libclamunrar.la
libclamunrar.so
libclamunrar.so.6
libclamunrar.so.6.1.18
libIrrlicht.a
libpng16.a
libpng16.la
libpng16.so
libpng16.so.16
libpng16.so.16.10.0
libpng.a
libpng.la
libpng.so
libspeex.a
libspeexdsp.a
libspeexdsp.la
libspeexdsp.so
libspeexdsp.so.1
libspeexdsp.so.1.4.0
libspeex.la
libspeex.so
libspeex.so.1
libspeex.so.1.4.0
libwine.so
libwine.so.1
libwine.so.1.0
libz.a
libz.so
libz.so.1
libz.so.1.2.8
ocaml
pkgconfig
python2.7
python3.3
python3.4
q4wine
site_ruby
wine
yorick
Thanks,
JPR
Re: libpng not found but installed
What do libpng.so and libpng16.so point to?
-
- Level 2
- Posts: 14
- Joined: Thu Sep 18, 2014 1:10 pm
Re: libpng not found but installed
Thanks that was the Problem
The libpng.so pointed to libpng16.la changed it to libpng16.so and now it finds the libpng
libpng.a > libpng16.a
libpng.la > libpng16.la
libpng.so > libpng16.la
libpng.so > libpng16.so
Thanks,
JPR
The libpng.so pointed to libpng16.la changed it to libpng16.so and now it finds the libpng
libpng.a > libpng16.a
libpng.la > libpng16.la
libpng.so > libpng16.la
libpng.so > libpng16.so
Thanks,
JPR