glinuz / db2_exporter

Prometheus IBM DB2 exporter
MIT License
17 stars 7 forks source link

Compatible with ppc64le linux #8

Closed bhattanil closed 1 year ago

bhattanil commented 1 year ago

Is this exporter is compatible with ppc64le linux. What are prerequisite for running on ppc64le linux.

bhattanil commented 1 year ago

Prometheus/Common/log is missing

glinuz commented 1 year ago

I'm not work with db2,not powerpc cpu.send log to me发自我的平板-------- 原始邮件 --------发件人: bhattanil @.>日期: 2023年1月9日周一 14:17收件人: glinuz/db2_exporter @.>抄送: Subscribed @.***>主 题: Re: [glinuz/db2_exporter] Compatible with ppc64le linux (Issue #8) Prometheus/Common/log is missing

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

bhattanil commented 1 year ago

Vendor/GitHub.com/ibmdb/go_ibm_db/api_unix.go:13:22: fatal error: sqlcli1.h: no such file or directory.

I am using go version go1.16.15 linux/ppc64le.

//#include

Compilation terminated. Logs

glinuz commented 1 year ago

Check installed db2 client,ODBC driver.And set ENV path,mybe db2 clidriver files path in ppc63le is differrent to x86.-------- 原始邮件 --------发件人: bhattanil @.>日期: 2023年1月10日周二 01:31收件人: glinuz/db2_exporter @.>抄送: glin @.>, Comment @.>主 题: Re: [glinuz/db2_exporter] Compatible with ppc64le linux (Issue #8) Vendor/GitHub.com/ibmdb/go_ibm_db/api_unix.go:13:22: fatal error: sqlcli1.h: no such file or directory. I am using go version go1.16.15 linux/ppc64le. //#include Compilation terminated. Logs

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

bhattanil commented 1 year ago

Thanks now working after changing go version for ppc64le and path