~alpine/devel

2 2

librdkafka-dev: Missing static library

Details
Message ID
<CAMnFhjc9u2mFDHTFRTnDgBOO8uFejJ6CdMYTKgH+=T2aC=NjXQ@mail.gmail.com>
DKIM signature
missing
Download raw message
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
Milan P. Stanić <mps@arvanta.net>
Details
Message ID
<20191010095528.GA505@arya.arvanta.net>
In-Reply-To
<CAMnFhjc9u2mFDHTFRTnDgBOO8uFejJ6CdMYTKgH+=T2aC=NjXQ@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
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
Details
Message ID
<CAMnFhjfMP9YNPf=Uo2XJ_B-ACaqaim2LN1rmQ2LUC7Bxre=-vw@mail.gmail.com>
In-Reply-To
<20191010095528.GA505@arya.arvanta.net> (view parent)
DKIM signature
missing
Download raw message
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
>
Reply to thread Export thread (mbox)