srsran / srsRAN_Project

Open source O-RAN 5G CU/DU solution from Software Radio Systems (SRS) https://docs.srsran.com/projects/project
https://www.srsran.com
GNU Affero General Public License v3.0
528 stars 179 forks source link

Error while installing libzmq #585

Closed panitsasi closed 6 months ago

panitsasi commented 7 months ago

while i was trying to download the libzmq following these commands: git clone https://github.com/zeromq/libzmq.git cd libzmq ./autogen.sh ./configure make this issue came up (while executing the command make): image

Do you have an idea, what is the issue here ?

pgawlowicz commented 7 months ago

did you try to install with sudo apt-get install libzmq3-dev ?

panitsasi commented 7 months ago

Yes, i followed these instructions: image and the issue persists.

pgawlowicz commented 7 months ago

which OS do you use?

panitsasi commented 7 months ago

Ubuntu 22.04.1 LTS

pgawlowicz commented 7 months ago

@panitsasi any update on this issue? with ubuntu 22.04.1 LTS, it should be possible to install zmq with

sudo apt-get install libzmq3-dev
panitsasi commented 7 months ago

no, i tried to re install the package, but again i had the same issue.

pgawlowicz commented 7 months ago

could you check if you can install in a docker container?

  1. Start docker container with ubuntu 22.04:
    docker run -it ubuntu:22.04 /bin/bash
  2. Then inside the container install zmq:
    apt update
    apt-get install libzmq3-dev
panitsasi commented 6 months ago

Yes, i can install in a docker container, but do you know why is this happening ? I had installed in the past, but as i remember i deleted it. Is this is a reason to consider ?

panitsasi commented 6 months ago

Okay, I reinstall all the packages from the beginning and now everything works fine.

abcd11abcd commented 6 months ago

im also facing the same issue. How did you resolve? i tried removing libzmq3-dev and installing again. Still im facing the same problem. You resolved it by using docker container?
How to resolve this error without docker and follow the document guide?

panitsasi commented 6 months ago

Hello, i removed all the installed libraries (and the dependencies) and then it worked.