Comments (2)
在iconv.go 里面,你看下,加上 // #cgo linux LDFLAGS: -liconv 这句话,估计漏写了。
from iconv.
在官方的docker(From golang:1.10-alpine)里面跑不起来,尝试了安装apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ --allow-untrusted gnu-libiconv
也不行
有朋友知道怎么解决吗?
报错信息如下:
# gopkg.in/iconv.v1
../gopkg.in/iconv.v1/iconv.go:10:20: fatal error: iconv.h: No such file or directory
// #include <iconv.h>
^
compilation terminated.
from iconv.
Related Issues (20)
- 安装失败:clang: error: linker command failed with exit code 1 (use -v to see invocation)
- 编译时报 gcc: 错误:unrecognized command line option ‘-mthreads’ 错误 HOT 2
- 建议在 iconv.go 前面加上支持不同平台链接的标记 HOT 1
- 安装不成功 HOT 3
- undefined refrence to 'libconv'
- Problem with MingW
- Crash in Iconv.DoWrite HOT 1
- Can't work with golang 1.6.x HOT 2
- Using //TRANSLIT HOT 1
- Hello,you can contain the libiconv.a in package, like the following:
- 关于ConvString结果出错以及outbuf [512]byte的疑惑 HOT 3
- Getting `signal: killed` using your convstr.go example HOT 1
- ../gopkg.in/iconv.v1/reader.go:10:5: undefined: Iconv HOT 3
- Windows 10 x64 交叉编译到 Linux amd64 显示错误 HOT 1
- Support go mod HOT 1
- ConvString support big string HOT 1
- ??? HOT 1
- macos 12.0 has warning
- GOOS=windows GOARCH=amd64 go build main.go
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iconv.