icepick
Verified User
Hi,
I followed a post from a forum thread: http://www.directadmin.com/forum/showthread.php?t=8048&highlight=freetype+freebsd
I not notice PNG is missing from my phpinfo (http://www.break.co.nz/phpinfo.php) and during the install of GD it doesn't have a path to PNG lib's , even though I have /usr/local/lib specified and I can see the files in there:
Any help to get PNG back would be much appreciated:
PS, i've also tried to do a ./build libpng again however this didnt help.
I followed a post from a forum thread: http://www.directadmin.com/forum/showthread.php?t=8048&highlight=freetype+freebsd
I not notice PNG is missing from my phpinfo (http://www.break.co.nz/phpinfo.php) and during the install of GD it doesn't have a path to PNG lib's , even though I have /usr/local/lib specified and I can see the files in there:
Code:
checking for libpng12-config... /usr/local/bin/libpng12-config
checking for libpng-config... /usr/local/bin/libpng-config
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_create_read_struct in -lpng12... no
configure: WARNING: libpng is required - see http://www.libpng.org/pub/png/
checking for freetype-config... /usr/local/bin/freetype-config
checking for FT_Init_FreeType in -lfreetype... yes
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking for FcInit in -lfontconfig... no
checking for jpeg_set_defaults in -ljpeg... yes
checking for XpmReadFileToXpmImage in -lXpm... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
** Configuration summary for gd 2.0.34:
Support for PNG library:
Support for JPEG library: yes
Support for Freetype 2.x library: yes
Support for Fontconfig library: no
Support for Xpm library: no
Support for pthreads: yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating config/gdlib-config
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
Done. Making gd-2.0.34...
Any help to get PNG back would be much appreciated:
Code:
root@sophia:/usr/local/directadmin/customapache# locate libpng
/usr/local/bin/libpng-config
/usr/local/bin/libpng12-config
/usr/local/directadmin/customapache/libpng-1.2.10.tar.gz
/usr/local/directadmin/customapache/libpng-1.2.16.tar.gz
/usr/local/include/libpng
/usr/local/include/libpng/png.h
/usr/local/include/libpng/pngconf.h
/usr/local/lib/libpng.a
/usr/local/lib/libpng.so
/usr/local/lib/libpng.so.5
/usr/local/libdata/pkgconfig/libpng12.pc
/usr/local/man/man3/libpng.3.gz
/usr/local/man/man3/libpngpf.3.gz
PS, i've also tried to do a ./build libpng again however this didnt help.