<CAMnFhjc9u2mFDHTFRTnDgBOO8uFejJ6CdMYTKgH+=T2aC=NjXQ@mail.gmail.com>
I noticed that librdkafka-dev package on alpine-3.10 doesn't contain *.a files. Is it an omission? This breaks our build of go service which uses ` github.com/confluentinc/confluent-kafka-go`. Here's the error message: # github.com/energomonitor/server-go/vendor/github.com/confluentinc/confluent-kafka-go/kafka gcc: error: /usr/lib/librdkafka.a: No such file or directory Daniel
<20191010095528.GA505@arya.arvanta.net>
<CAMnFhjc9u2mFDHTFRTnDgBOO8uFejJ6CdMYTKgH+=T2aC=NjXQ@mail.gmail.com>
(view parent)
Hi Daniel, On Thu, 2019-10-10 at 09:50, Daniel Beseda wrote: > I noticed that librdkafka-dev package on alpine-3.10 doesn't contain *.a > files. Is it an omission? This breaks our build of go service which uses ` > github.com/confluentinc/confluent-kafka-go`. Here's the error message: > > # > github.com/energomonitor/server-go/vendor/github.com/confluentinc/confluent-kafka-go/kafka > gcc: error: /usr/lib/librdkafka.a: No such file or directory Static libs are -static files, in this case librdkafka-static So, you should install it or add in makedepends if you building your package in aports with APKBUILD file. -- regards > Daniel
<CAMnFhjfMP9YNPf=Uo2XJ_B-ACaqaim2LN1rmQ2LUC7Bxre=-vw@mail.gmail.com>
<20191010095528.GA505@arya.arvanta.net>
(view parent)
Hi Milan, thank you, that worked. Daniel čt 10. 10. 2019 v 9:55 odesílatel Milan P. Stanić <mps@arvanta.net> napsal: > Hi Daniel, > > On Thu, 2019-10-10 at 09:50, Daniel Beseda wrote: > > I noticed that librdkafka-dev package on alpine-3.10 doesn't contain *.a > > files. Is it an omission? This breaks our build of go service which uses > ` > > github.com/confluentinc/confluent-kafka-go` > <http://github.com/confluentinc/confluent-kafka-go>. Here's the error > message: > > > > # > > > github.com/energomonitor/server-go/vendor/github.com/confluentinc/confluent-kafka-go/kafka > > gcc: error: /usr/lib/librdkafka.a: No such file or directory > > Static libs are -static files, in this case librdkafka-static > So, you should install it or add in makedepends if you building your > package in aports with APKBUILD file. > > -- > regards > > Daniel >