SNAS / openbmp

OpenBMP Server Collector
www.openbmp.org
Eclipse Public License 1.0
230 stars 76 forks source link

Installation issue #96

Closed abdul95 closed 1 year ago

abdul95 commented 1 year ago

Hi all, I want to apologize if I am asking an question that has been asked many times before bit could not find anything that would work.

I am running fedora 37 have used the build.md instructions to install and reach the make of the open bmp and getting the following issue:

[root@fedora-big build]# make
[  4%] Linking CXX executable openbmpd
/usr/bin/ld: cannot find -lz: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [Server/CMakeFiles/openbmpd.dir/build.make:471: Server/openbmpd] Error 1
make[1]: *** [CMakeFiles/Makefile2:98: Server/CMakeFiles/openbmpd.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
[root@fedora-big build]# 

@TimEvens I see most responses are coming from you so thought if you know the issue off the top of your head.

thank you

luminshi commented 1 year ago

Try install zlib-devel package in Fedora first and then run make again. Hopefully that helps.

abdul95 commented 1 year ago

thank you @luminshi