# binpac error

**URL:** <https://community.zeek.org/t/binpac-error/5665>\
**Category:** Zeek\
**Created:** [April 17, 2019, 6:31pm UTC](https://community.zeek.org/t/binpac-error/5665 "2019-04-17T18:31:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_Eric\_J](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@Martin\_Eric\_J](https://community.zeek.org/u/Martin_Eric_J)\
**Post date:** [April 17, 2019, 6:31pm UTC](https://community.zeek.org/t/binpac-error/5665/1 "2019-04-17T18:31:09Z")

</div>

I just installed from source (master) on a fresh pull, and I am unable to run **bro deploy**. When I do, I receive the following error:

sudo /usr/local/bro/bin/broctl deploy  
checking configurations …  
bro scripts failed.  
/usr/local/bro/bin/bro: error while loading shared libraries: libbinpac.so.0: cannot open shared object file: No such file or directory

ldd confirms that libbinpac.so.0 isn’t linked, though the library installed, and the library is linked in ~/sandbox/zeek/build/src

ldd /usr/local/bro/bin/bro  
linux-vdso.so.1 =\> (0x00007fff093de000)  
libbinpac.so.0 =\> not found  
libpcap.so.1 =\> /opt/pfring/lib/libpcap.so.1 (0x00007f13d7196000)

ldd ~/sandbox/zeek/build/src/bro  
linux-vdso.so.1 =\> (0x00007ffc18dcb000)  
libbinpac.so.0 =\> /home/ejmartin2/sandbox/zeek/build/aux/binpac/lib/libbinpac.so.0 (0x00007f41ba9de000)

lrwxrwxrwx. 1 root root 14 Apr 17 12:47 /usr/local/bro/lib64/libbinpac.so → libbinpac.so.0  
lrwxrwxrwx. 1 root root 20 Apr 17 12:47 /usr/local/bro/lib64/libbinpac.so.0 → libbinpac.so.0.51-11  
-rwxr-xr-x. 1 root root 96072 Apr 17 12:53 /usr/local/bro/lib64/libbinpac.so.0.51-11

to install, I

• cloned the repository, made sure the submodules were recursively up to date

• cloned PF\_RING

• Compiled

• installed

• ./configure —with-pcacp=/opt/pcap

• make

• sudo make install

Can somebody please help me with what I’m doing incorrectly?

Thank you,

![](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/ea68df1ffbe4b0c05a17633fbebbcef627a5a365.png)

Eric Martin, CISSP  
Information Security Engineer  
Worcester Polytechnic Institute  
[ejmartin2@wpi.edu](mailto:ejmartin2@wpi.edu)  
Key fingerprint = C74F 1EBF 2E80 7984 8CB5 064E BF17 D34C C704 B30F  
For security purposes, this message has been double ROT13 encoded

---

<div class="post-metadata">

**Author:** ![Jon\_Siwek](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@Jon\_Siwek](https://community.zeek.org/u/Jon_Siwek)\
**Post date:** [April 17, 2019, 11:07pm UTC](https://community.zeek.org/t/binpac-error/5665/2 "2019-04-17T23:07:08Z")

</div>

Thanks for the report, I just pushed a change that should help you  
out, grab it like:

&nbsp;&nbsp;&nbsp;&nbsp;git pull && git submodule update --recursive --init

Then rebuild/reinstall and let me know if there's still problems.

- Jon

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:46pm UTC](https://community.zeek.org/t/binpac-error/5665/3 "2022-05-06T15:46:26Z")

</div>


