Solve the problem of installing GD library on FreeBSD

Source: Internet
Author: User
System: FreeBSD 4.1
Use Sysinstall to install gd-1.8.3 and libpng,jpeg6b. Make sure you have libgd.so.* and libpng.so.* under the Usr/local/lib.
CD PATH_TO_PHP_SRC
./configure--with-mysql=/path_to_mysql
--with-apache=/path_to_apache_src
--with-gd=/usr/local, don't add lib here.
--with-png-dir=usr/local ditto
--enable-track-vars
--enable-discard-path
--disable-debug
And then it was all as usual.
The 3.4 in the West crazy brother with is gd-1.7.0 don't know whether can support you to want wbmp, but I tried on 3.4 to use 4.1 CD Add package also succeeded. FreeBSD 4.0 with the 1.8.0 GD.
Do not know why the Download GB library can not make a dynamic link things. What is the parameter to make? I hope the expert advice.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.