Troubleshooting _php for installing the GD library on FreeBSD

Source: Internet
Author: User
System: FreeBSD 4.1
Install the gd-1.8.3 and libpng,jpeg6b with Sysinstall. 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 Ibid.
--enable-track-vars
--enable-discard-path
--disable-debug
Then everything goes as usual.
The West brother of the 3.4 is gd-1.7.0 do not know whether to support the wbmp you want, but I tried to 3.4 on the 4.1 CD add package also succeeded. The FreeBSD 4.0 is 1.8.0 GD.
I do not know why the downloaded GB library cannot make a dynamically linked thing. is not the time to add any parameters. I hope the expert pointing.

http://www.bkjia.com/PHPjc/629856.html www.bkjia.com true http://www.bkjia.com/PHPjc/629856.html techarticle System: FreeBSD 4.1 installs gd-1.8.3 and libpng,jpeg6b with Sysinstall. Make sure you have libgd.so.* and libpng.so.* CD path_to_php_src under Usr/local/lib./configure--with-mysql=/path_to_my ...

  • 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.