[zeromq-dev] Linking to OBS proved libzmq debs (GH Actions)

Arnaud Loonstra arnaud at sphaero.org
Thu Oct 7 22:28:22 CEST 2021


Hey all,

The OBS proved debian repository is a full libzmq build with draft 
support, right?

I'm fiddling with Github Actions but somehow it fails to link czmq to 
the OBS provided libzmq:

usr/bin/ld: ext/czmq/libczmq.a(zframe.c.o): in function `zframe_recv':
/home/runner/work/gazebosc/gazebosc/ext/czmq/src/zframe.c:180: undefined 
reference to `zmq_msg_routing_id'
/usr/bin/ld: 
/home/runner/work/gazebosc/gazebosc/ext/czmq/src/zframe.c:185: undefined 
reference to `zmq_msg_group'
/usr/bin/ld: ext/czmq/libczmq.a(zframe.c.o): in function `zframe_send':
/home/runner/work/gazebosc/gazebosc/ext/czmq/src/zframe.c:215: undefined 
reference to `zmq_msg_set_routing_id'
/usr/bin/ld: 
/home/runner/work/gazebosc/gazebosc/ext/czmq/src/zframe.c:219: undefined 
reference to `zmq_msg_set_group'
/usr/bin/ld: 
/home/runner/work/gazebosc/gazebosc/ext/czmq/src/zframe.c:229: undefined 
reference to `zmq_msg_set_routing_id'
/usr/bin/ld: 
/home/runner/work/gazebosc/gazebosc/ext/czmq/src/zframe.c:233: undefined 
reference to `zmq_msg_set_group'
/usr/bin/ld: ext/czmq/libczmq.a(zframe.c.o): in function 
`zframe_recv_nowait':
/home/runner/work/gazebosc/gazebosc/ext/czmq/src/zframe.c:595: undefined 
reference to `zmq_msg_routing_id'
...

It seems libzmq is already installed on github runners but from the logs 
I get it is upgraded:

The following packages will be upgraded:
   libzmq5

I'm using this in the workflow yml:

     - name: add Debian Packages
       uses: myci-actions/add-deb-repo at 10
       with:
         repo-name: obs
         repo: deb 
http://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_20.04/ 
./
         keys-asc: 
https://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_20.04/Release.key
         install: libzmq5 libzmq3-dev


Anybody has this running already on Github Actions?

Rg,

Arnaud


More information about the zeromq-dev mailing list