System: FreeBSD 4.1
Use sysinstall to install gd-1.8.3, libpng, and jpeg6b. Make sure you have libgd.so.* and libpng.so.*
cd path_to_php_src
./configure --with-mysql=/path_to_mysql
--with-apache=/ PATH_TO_APACHE_SRC
-With-GD =/usr/LOCAL. Do not add lib
-With-png-Dir = usr/local. discard-path
--disable-debug
After that, everything is business as usual.
Brother Xi Kuang’s 3.4 comes with gd-1.7.0. I don’t know if it can support the wbmp you want, but I tried using the 4.1 CD add package on 3.4 and it was successful. FreeBSD 4.0 comes with GD 1.8.0
I don’t know why the downloaded gb library cannot make dynamic linking. Are there any parameters that need to be added when making? I hope someone can give me some advice.
http://www.bkjia.com/PHPjc/629856.html