Windows go amd64 libiconv missing error problem

Source: Internet
Author: User

The Windows AMD64 go environment uses the GCC environment with the Libiconv library mismatch, when using the Iconv-go library error, you compiled a

Steps below, download Libiconv source code http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz

Unzip, install Msys set default gcc is Win64 version, modify/etc/profile

Pathcc=/d/gnu/mingw/mingw64/4.9.1/bin
Export path= "$PATHCC:/bin:/mingw/bin: $PATH"

Open Msys,gcc-v test guaranteed to be the default GCC version

and then into the Libiconv directory.

./configure

Make

build target file exists in Lib/.libs directory

Copy LIBICONV.DLL.A and Libiconv-2.dll to related directories

Windows go amd64 libiconv missing error problem

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.