FREETYPE2 on Freebsd 5.X

nostrodamous

Verified User
Joined
Feb 17, 2005
Messages
11
Location
Singapore
Hi all, DirectAdmin rockx...
do far never had a problem yet!


I do need to know how to configure freetype to work here through!
 
Might try searching the forums for freetype2. I think there are a few threads on this.
 
cd /usr/ports/graphics/gd
make install clean
cd /usr/local/directadmin/customapache
nano configure.php

edit/add so these 2 lines look like this.
--with-gd=/usr/local \
--with-freetype-dir=/usr/local \

the other gd line delete.
./build php
answer no to building gd
now you should have freetype 2 support.
 
Missing Information

I am truly grateful for the help but i cannot seem to find anything that you said

This is what is already donea

1. I am using freebsd
2. I have logged in as SU
3. I use clean installs for freebsd so
4. I cannot find user/ports/graphics/ and it sub folders


I bet I am the dumbest in this industry but I am willing to learn if someone has the time to teach me step by step. And I think it would be a great FAQ for real newbies like myself in the future!
 
Then you have no ports repositary, you can try this it is is possible the distribution of gd that DA uses compiles freetype support as well.

cd /usr/local/directadmin/customapache
nano configure.php

edit/add so these 2 lines look like this.
--with-gd=/usr/local \
--with-freetype-dir=/usr/local \
the other gd line delete.

./build php
answer yes to building gd
 
System in trouble

Okay guys

I have followed instruction

--with-gd=/usr/local \
--with-gd-dir=/usr/local/lib \
--with-gettext \

changed it to

--with-gd=/usr/local \
--with-freetype-dir=/usr/local \




This is the outcome
checking for
checking for gdImageStringTTF in -lgd... no
checking for gdImageStringFT in -lgd... no
checking for gdImageStringFTEx in -lgd... no
checking for gdImageColorClosestHWB in -lgd... no
checking for gdImageColorResolve in -lgd... no
checking for gdImageGifCtx in -lgd... no
checking for gdCacheCreate in -lgd... no
checking for gdFontCacheShutdown in -lgd... no
checking for gdNewDynamicCtxEx in -lgd... no
checking for gdImageCreate in -lgd... no
configure: error: GD build test failed. Please check the config.log for details.

*** There was an error while trying to configure php. Check the configure.php file



This the details of config.log


Can some one tell me why???? :(
 
Outputs of gd.h?

I am a little lost what this means?

Do you mean when we build gd what is the output?
I have a snippet of it here, more like a whole lot!

creating gdcmpgif
/bin/sh ./libtool --mode=link gcc -g -O2 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o giftogd2 giftogd2.o ./libgd.la -ljpeg -lfreetype -lpng -lz -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
gcc -g -O2 -o .libs/giftogd2 giftogd2.o /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ./.libs/libgd.so -ljpeg -lfreetype -lpng -lz -lm -Wl,--rpath -Wl,/usr/local/lib
creating giftogd2
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/lib/include -I/usr/local/include -I/usr/local/include -g -O2 -MT fontsizetest.o -MD -MP -MF ".deps/fontsizetest.Tpo" -c -o fontsizetest.o fontsizetest.c; then mv -f ".deps/fontsizetest.Tpo" ".deps/fontsizetest.Po"; else rm -f ".deps/fontsizetest.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link gcc -g -O2 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o fontsizetest fontsizetest.o ./libgd.la -ljpeg -lfreetype -lpng -lz -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
gcc -g -O2 -o .libs/fontsizetest fontsizetest.o /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ./.libs/libgd.so -ljpeg -lfreetype -lpng -lz -lm -Wl,--rpath -Wl,/usr/local/lib
creating fontsizetest
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/lib/include -I/usr/local/include -I/usr/local/include -g -O2 -MT fontwheeltest.o -MD -MP -MF ".deps/fontwheeltest.Tpo" -c -o fontwheeltest.o fontwheeltest.c; then mv -f ".deps/fontwheeltest.Tpo" ".deps/fontwheeltest.Po"; else rm -f ".deps/fontwheeltest.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link gcc -g -O2 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o fontwheeltest fontwheeltest.o ./libgd.la -ljpeg -lfreetype -lpng -lz -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
gcc -g -O2 -o .libs/fontwheeltest fontwheeltest.o /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ./.libs/libgd.so -ljpeg -lfreetype -lpng -lz -lm -Wl,--rpath -Wl,/usr/local/lib
creating fontwheeltest
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/lib/include -I/usr/local/include -I/usr/local/include -g -O2 -MT gdtest.o -MD -MP -MF ".deps/gdtest.Tpo" -c -o gdtest.o gdtest.c; then mv -f ".deps/gdtest.Tpo" ".deps/gdtest.Po"; else rm -f ".deps/gdtest.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link gcc -g -O2 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o gdtest gdtest.o ./libgd.la -ljpeg -lfreetype -lpng -lz -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
gcc -g -O2 -o .libs/gdtest gdtest.o /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ./.libs/libgd.so -ljpeg -lfreetype -lpng -lz -lm -Wl,--rpath -Wl,/usr/local/lib
creating gdtest
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/lib/include -I/usr/local/include -I/usr/local/include -g -O2 -MT gddemo.o -MD -MP -MF ".deps/gddemo.Tpo" -c -o gddemo.o gddemo.c; then mv -f ".deps/gddemo.Tpo" ".deps/gddemo.Po"; else rm -f ".deps/gddemo.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link gcc -g -O2 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o gddemo gddemo.o ./libgd.la -ljpeg -lfreetype -lpng -lz -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
gcc -g -O2 -o .libs/gddemo gddemo.o /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ./.libs/libgd.so -ljpeg -lfreetype -lpng -lz -lm -Wl,--rpath -Wl,/usr/local/lib
creating gddemo
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/lib/include -I/usr/local/include -I/usr/local/include -g -O2 -MT gd2time.o -MD -MP -MF ".deps/gd2time.Tpo" -c -o gd2time.o gd2time.c; then mv -f ".deps/gd2time.Tpo" ".deps/gd2time.Po"; else rm -f ".deps/gd2time.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link gcc -g -O2 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o gd2time gd2time.o ./libgd.la -ljpeg -lfreetype -lpng -lz -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
gcc -g -O2 -o .libs/gd2time gd2time.o /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ./.libs/libgd.so -ljpeg -lfreetype -lpng -lz -lm -Wl,--rpath -Wl,/usr/local/lib
creating gd2time
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/lib/include -I/usr/local/include -I/usr/local/include -g -O2 -MT gdtestft.o -MD -MP -MF ".deps/gdtestft.Tpo" -c -o gdtestft.o gdtestft.c; then mv -f ".deps/gdtestft.Tpo" ".deps/gdtestft.Po"; else rm -f ".deps/gdtestft.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link gcc -g -O2 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o gdtestft gdtestft.o ./libgd.la -ljpeg -lfreetype -lpng -lz -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
gcc -g -O2 -o .libs/gdtestft gdtestft.o /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ./.libs/libgd.so -ljpeg -lfreetype -lpng -lz -lm -Wl,--rpath -Wl,/usr/local/lib
creating gdtestft
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/lib/include -I/usr/local/include -I/usr/local/include -g -O2 -MT testac.o -MD -MP -MF ".deps/testac.Tpo" -c -o testac.o testac.c; then mv -f ".deps/testac.Tpo" ".deps/testac.Po"; else rm -f ".deps/testac.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link gcc -g -O2 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o testac testac.o ./libgd.la -ljpeg -lfreetype -lpng -lz -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
gcc -g -O2 -o .libs/testac testac.o /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ./.libs/libgd.so -ljpeg -lfreetype -lpng -lz -lm -Wl,--rpath -Wl,/usr/local/lib
creating testac
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/lib/include -I/usr/local/include -I/usr/local/include -g -O2 -MT circletexttest.o -MD -MP -MF ".deps/circletexttest.Tpo" -c -o circletexttest.o circletexttest.c; then mv -f ".deps/circletexttest.Tpo" ".deps/circletexttest.Po"; else rm -f ".deps/circletexttest.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link gcc -g -O2 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o circletexttest circletexttest.o ./libgd.la -ljpeg -lfreetype -lpng -lz -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
gcc -g -O2 -o .libs/circletexttest circletexttest.o /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ./.libs/libgd.so -ljpeg -lfreetype -lpng -lz -lm -Wl,--rpath -Wl,/usr/local/lib
creating circletexttest
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/lib/include -I/usr/local/include -I/usr/local/include -g -O2 -MT testtr.o -MD -MP -MF ".deps/testtr.Tpo" -c -o testtr.o testtr.c; then mv -f ".deps/testtr.Tpo" ".deps/testtr.Po"; else rm -f ".deps/testtr.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link gcc -g -O2 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o testtr testtr.o ./libgd.la -ljpeg -lfreetype -lpng -lz -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
gcc -g -O2 -o .libs/testtr testtr.o /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ./.libs/libgd.so -ljpeg -lfreetype -lpng -lz -lm -Wl,--rpath -Wl,/usr/local/lib
creating testtr
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/lib/include -I/usr/local/include -I/usr/local/include -g -O2 -MT fontconfigtest.o -MD -MP -MF ".deps/fontconfigtest.Tpo" -c -o fontconfigtest.o fontconfigtest.c; then mv -f ".deps/fontconfigtest.Tpo" ".deps/fontconfigtest.Po"; else rm -f ".deps/fontconfigtest.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link gcc -g -O2 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o fontconfigtest fontconfigtest.o ./libgd.la -ljpeg -lfreetype -lpng -lz -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
gcc -g -O2 -o .libs/fontconfigtest fontconfigtest.o /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ./.libs/libgd.so -ljpeg -lfreetype -lpng -lz -lm -Wl,--rpath -Wl,/usr/local/lib
creating fontconfigtest
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/lib/include -I/usr/local/include -I/usr/local/include -g -O2 -MT gifanimtest.o -MD -MP -MF ".deps/gifanimtest.Tpo" -c -o gifanimtest.o gifanimtest.c; then mv -f ".deps/gifanimtest.Tpo" ".deps/gifanimtest.Po"; else rm -f ".deps/gifanimtest.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link gcc -g -O2 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o gifanimtest gifanimtest.o ./libgd.la -ljpeg -lfreetype -lpng -lz -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
gcc -g -O2 -o .libs/gifanimtest gifanimtest.o /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ./.libs/libgd.so -ljpeg -lfreetype -lpng -lz -lm -Wl,--rpath -Wl,/usr/local/lib
creating gifanimtest
Make complete
Installing gd-2.0.33...
Making install in config
test -z "/usr/local/bin" || /bin/sh ../config/mkinstalldirs "/usr/local/bin"
/usr/bin/install -c 'gdlib-config' '/usr/local/bin/gdlib-config'
Making install in test
test -z "/usr/local/lib" || /bin/sh ./config/mkinstalldirs "/usr/local/lib"
/bin/sh ./libtool --mode=install /usr/bin/install -c 'libgd.la' '/usr/local/lib/libgd.la'
/usr/bin/install -c .libs/libgd.so.2 /usr/local/lib/libgd.so.2
(cd /usr/local/lib && rm -f libgd.so && ln -s libgd.so.2 libgd.so)
(cd /usr/local/lib && rm -f libgd.so && ln -s libgd.so.2 libgd.so)
/usr/bin/install -c .libs/libgd.lai /usr/local/lib/libgd.la
/usr/bin/install -c .libs/libgd.a /usr/local/lib/libgd.a
ranlib /usr/local/lib/libgd.a
chmod 644 /usr/local/lib/libgd.a
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/bin" || /bin/sh ./config/mkinstalldirs "/usr/local/bin"
/bin/sh ./libtool --mode=install /usr/bin/install -c 'annotate' '/usr/local/bin/annotate'
/usr/bin/install -c .libs/annotate /usr/local/bin/annotate
/bin/sh ./libtool --mode=install /usr/bin/install -c 'gdparttopng' '/usr/local/bin/gdparttopng'
/usr/bin/install -c .libs/gdparttopng /usr/local/bin/gdparttopng
/bin/sh ./libtool --mode=install /usr/bin/install -c 'gdtopng' '/usr/local/bin/gdtopng'
/usr/bin/install -c .libs/gdtopng /usr/local/bin/gdtopng
/bin/sh ./libtool --mode=install /usr/bin/install -c 'gd2copypal' '/usr/local/bin/gd2copypal'
/usr/bin/install -c .libs/gd2copypal /usr/local/bin/gd2copypal
/bin/sh ./libtool --mode=install /usr/bin/install -c 'gd2topng' '/usr/local/bin/gd2topng'
/usr/bin/install -c .libs/gd2topng /usr/local/bin/gd2topng
/bin/sh ./libtool --mode=install /usr/bin/install -c 'pngtogd' '/usr/local/bin/pngtogd'
/usr/bin/install -c .libs/pngtogd /usr/local/bin/pngtogd
/bin/sh ./libtool --mode=install /usr/bin/install -c 'pngtogd2' '/usr/local/bin/pngtogd2'
/usr/bin/install -c .libs/pngtogd2 /usr/local/bin/pngtogd2
/bin/sh ./libtool --mode=install /usr/bin/install -c 'webpng' '/usr/local/bin/webpng'
/usr/bin/install -c .libs/webpng /usr/local/bin/webpng
/bin/sh ./libtool --mode=install /usr/bin/install -c 'gd2togif' '/usr/local/bin/gd2togif'
/usr/bin/install -c .libs/gd2togif /usr/local/bin/gd2togif
/bin/sh ./libtool --mode=install /usr/bin/install -c 'gdcmpgif' '/usr/local/bin/gdcmpgif'
/usr/bin/install -c .libs/gdcmpgif /usr/local/bin/gdcmpgif
/bin/sh ./libtool --mode=install /usr/bin/install -c 'giftogd2' '/usr/local/bin/giftogd2'
/usr/bin/install -c .libs/giftogd2 /usr/local/bin/giftogd2
test -z "/usr/local/bin" || /bin/sh ./config/mkinstalldirs "/usr/local/bin"
/usr/bin/install -c 'bdftogd' '/usr/local/bin/bdftogd'
/usr/bin/install -c 'config/gdlib-config' '/usr/local/bin/gdlib-config'
test -z "/usr/local/include" || /bin/sh ./config/mkinstalldirs "/usr/local/include"
/usr/bin/install -c -m 644 'gd.h' '/usr/local/include/gd.h'
/usr/bin/install -c -m 644 'gdfx.h' '/usr/local/include/gdfx.h'
/usr/bin/install -c -m 644 'gd_io.h' '/usr/local/include/gd_io.h'
/usr/bin/install -c -m 644 'gdcache.h' '/usr/local/include/gdcache.h'
/usr/bin/install -c -m 644 'gdfontg.h' '/usr/local/include/gdfontg.h'
/usr/bin/install -c -m 644 'gdfontl.h' '/usr/local/include/gdfontl.h'
/usr/bin/install -c -m 644 'gdfontmb.h' '/usr/local/include/gdfontmb.h'
/usr/bin/install -c -m 644 'gdfonts.h' '/usr/local/include/gdfonts.h'
/usr/bin/install -c -m 644 'gdfontt.h' '/usr/local/include/gdfontt.h'
/usr/bin/install -c -m 644 'entities.h' '/usr/local/include/entities.h'
Done gd.


Could you tell me how to get this output

Incidentally, been reading up on ports, would it be easier to install the ports

What i need is freetype2 to be working with GD.
Currently it works fine, but freetype2 does not!
 
Last edited:
its a shell command locate gd.h

tells you where the file is.

But I see from the above that it is in /usr/local/include in that case the switches I gave you should have worked, either you did the wrong switch somewhere, best way to confirm this is post your entire configure.php. Or you have some other conflicting problem.
 
locate gd and configure.php

locate gd.h

/usr/local/directadmin/customapache/gd-2.0.33/gd.h
/usr/local/directadmin/customapache/php-4.3.10/ext/gd/libgd/gd.h
/usr/local/directadmin/customapache/php-4.3.10/ext/gd/php_gd.h
/usr/local/directadmin/gd-2.0.33/gd.h
/usr/local/directadmin/php-4.3.10/ext/gd/libgd/gd.h
/usr/local/directadmin/php-4.3.10/ext/gd/php_gd.h
/usr/local/frontpage/version5.0/help/1033/wsgpUpgd.htm
/usr/local/include/gd.h


Configure.php file
./configure \
--with-apxs \
--with-curl \
--with-curl-dir=/usr/local/lib \
--with-gd=/usr/local \
--with-freetype-dir=/usr/local \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--with-openssl \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring
 
if you want freetype2 in GD and you are using the customapache build script then you need to modify the line in the build script in the doGD function. It has without-freetype, you need to change this to with-freetype=/usr/local

btw though, if you are missing the FreeBSD ports tree and dont have cvsup installed you can get it like this

fetch -q -o - ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/ports/ports.tar.gz | tar -z -x -f - -C /usr

that will fetch the ports tarball from freebsd.org and decompress it to the /usr directory which will leave you with /usr/ports :D

it might take a while though, so dont kill it if it looks like it isnt doing anything
 
png now broken

Hi,

I followed the howto and modified build to inlclude with-freetype and also added it to configure.php

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:

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.
 
Back
Top