{"action":"created","issue":{"url":"https://api.github.com/repos/confluentinc/confluent-kafka-go/issues/148","repository_url":"https://api.github.com/repos/confluentinc/confluent-kafka-go","labels_url":"https://api.github.com/repos/confluentinc/confluent-kafka-go/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/confluentinc/confluent-kafka-go/issues/148/comments","events_url":"https://api.github.com/repos/confluentinc/confluent-kafka-go/issues/148/events","html_url":"https://github.com/confluentinc/confluent-kafka-go/issues/148","id":300057444,"node_id":"MDU6SXNzdWUzMDAwNTc0NDQ=","number":148,"title":"error undefined reference to xxx for go get","user":{"login":"peter9207","id":1386813,"node_id":"MDQ6VXNlcjEzODY4MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1386813?v=4","gravatar_id":"","url":"https://api.github.com/users/peter9207","html_url":"https://github.com/peter9207","followers_url":"https://api.github.com/users/peter9207/followers","following_url":"https://api.github.com/users/peter9207/following{/other_user}","gists_url":"https://api.github.com/users/peter9207/gists{/gist_id}","starred_url":"https://api.github.com/users/peter9207/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter9207/subscriptions","organizations_url":"https://api.github.com/users/peter9207/orgs","repos_url":"https://api.github.com/users/peter9207/repos","events_url":"https://api.github.com/users/peter9207/events{/privacy}","received_events_url":"https://api.github.com/users/peter9207/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-25T20:20:24Z","updated_at":"2018-08-15T17:47:30Z","closed_at":"2018-03-04T19:03:00Z","author_association":"NONE","body":"Description\r\n===========\r\nwhen trying to install through \r\n`go get -u github.com/confluentinc/confluent-kafka-go/kafka`\r\n\r\ni get this error \r\n\r\n```\r\npeter@d64035:~/Downloads/librdkafka$ go get -u github.com/confluentinc/confluent-kafka-go/kafka\r\n# github.com/confluentinc/confluent-kafka-go/kafka\r\n/tmp/go-build377716143/github.com/confluentinc/confluent-kafka-go/kafka/_obj/event.cgo2.o: In function `chdrs_to_tmphdrs':\r\n../../Go/src/github.com/confluentinc/confluent-kafka-go/kafka/event.go:38: undefined reference to `rd_kafka_header_get_all'\r\n/tmp/go-build377716143/github.com/confluentinc/confluent-kafka-go/kafka/_obj/event.cgo2.o: In function `_rk_queue_poll':\r\n../../Go/src/github.com/confluentinc/confluent-kafka-go/kafka/event.go:67: undefined reference to `rd_kafka_message_headers'\r\n../../Go/src/github.com/confluentinc/confluent-kafka-go/kafka/event.go:68: undefined reference to `rd_kafka_header_cnt'\r\n/tmp/go-build377716143/github.com/confluentinc/confluent-kafka-go/kafka/_obj/producer.cgo2.o: In function `tmphdrs_to_chdrs':\r\n../../Go/src/github.com/confluentinc/confluent-kafka-go/kafka/producer.go:43: undefined reference to `rd_kafka_headers_new'\r\n../../Go/src/github.com/confluentinc/confluent-kafka-go/kafka/producer.go:46: undefined reference to `rd_kafka_header_add'\r\ncollect2: error: ld returned 1 exit status\r\n```\r\n\r\nim building librdkafka from source, from the master branch, and installing from go get, with go vers `1.9.4` on ubuntu\r\n\r\n\r\n How to reproduce\r\n================\r\n\r\n```\r\ngit clone https://github.com/edenhill/librdkafka.git\r\ncd librdkafka/\r\nmake\r\nsudo make install\r\ngo get -u github.com/confluentinc/confluent-kafka-go/kafka\r\n```\r\n\r\nChecklist\r\n=========\r\nPlease provide the following information:\r\n\r\n - [x] confluent-kafka-go and librdkafka version (`LibraryVersion()`):\r\n - [ ] Apache Kafka broker version:\r\n - [ ] Client configuration: `ConfigMap{...}`\r\n - [ ] Operating system:\r\n - [ ] Provide client logs (with `\"debug\": \"..\"` as necessary)\r\n - [ ] Provide broker log excerpts\r\n - [ ] Critical issue\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/confluentinc/confluent-kafka-go/issues/comments/413278276","html_url":"https://github.com/confluentinc/confluent-kafka-go/issues/148#issuecomment-413278276","issue_url":"https://api.github.com/repos/confluentinc/confluent-kafka-go/issues/148","id":413278276,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzI3ODI3Ng==","user":{"login":"Marcelo-Rodriguez-Globant","id":42280477,"node_id":"MDQ6VXNlcjQyMjgwNDc3","avatar_url":"https://avatars0.githubusercontent.com/u/42280477?v=4","gravatar_id":"","url":"https://api.github.com/users/Marcelo-Rodriguez-Globant","html_url":"https://github.com/Marcelo-Rodriguez-Globant","followers_url":"https://api.github.com/users/Marcelo-Rodriguez-Globant/followers","following_url":"https://api.github.com/users/Marcelo-Rodriguez-Globant/following{/other_user}","gists_url":"https://api.github.com/users/Marcelo-Rodriguez-Globant/gists{/gist_id}","starred_url":"https://api.github.com/users/Marcelo-Rodriguez-Globant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marcelo-Rodriguez-Globant/subscriptions","organizations_url":"https://api.github.com/users/Marcelo-Rodriguez-Globant/orgs","repos_url":"https://api.github.com/users/Marcelo-Rodriguez-Globant/repos","events_url":"https://api.github.com/users/Marcelo-Rodriguez-Globant/events{/privacy}","received_events_url":"https://api.github.com/users/Marcelo-Rodriguez-Globant/received_events","type":"User","site_admin":false},"created_at":"2018-08-15T17:47:30Z","updated_at":"2018-08-15T17:47:30Z","author_association":"NONE","body":"hello @vaksi How to fix this bug ?\r\n"}}
{"actor":{"display_login":"Marcelo-Rodriguez-Globant"}}