ARGUSBug Argus fails with symbol lookup error

Eric Kinzie eric at qosient.com
Tue Oct 10 21:39:26 EDT 2017


On Tue Oct 10 21:01:45 -0400 2017, Carter Bullard wrote:
> Stabbing in the dark here, but I made the definition of our space variable static without any issues …
> 
> apophis:common carter$ diff argus_filter.c argus_filter.c.orig
> 1177,1178d1176
> < static nff_u_int32 *space;
> < 
> 1179a1178
> > nff_u_int32 *space;
> 
> Does that have any effect ????
> Carter
> 
> 
> > On Oct 10, 2017, at 8:47 PM, Greg Grasmehr <greg.grasmehr at caltech.edu> wrote:
> > 
> > Hi Carter,
> > 
> > Doesn't appear to be the case.  Argus has compiled without error every
> > time I build it.
> > 
> > ldd /usr/local/sbin/argus
> >        linux-vdso.so.1 =>  (0x00007ffd18f30000)
> >        libpcap.so.1 => /opt/snf/lib/libpcap.so.1 (0x00007fe59ebd8000)
> >        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe59e9bc000)
> >        libwrap.so.0 => /lib64/libwrap.so.0 (0x00007fe59e7b0000)
> >        libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fe59e597000)
> >        libm.so.6 => /lib64/libm.so.6 (0x00007fe59e295000)
> >        libz.so.1 => /lib64/libz.so.1 (0x00007fe59e07e000)
> >        libc.so.6 => /lib64/libc.so.6 (0x00007fe59dcbb000)
> >        libsnf.so.0 => /opt/snf/lib/libsnf.so.0 (0x00007fe59daa8000)
> >        /lib64/ld-linux-x86-64.so.2 (0x00007fe59ee2f000)
> >        librt.so.1 => /lib64/librt.so.1 (0x00007fe59d89f000)
> > 
> > Greg

The myricom software comes with libpcap version 1.8.1 which probably
has ABI differences with 1.5.3, so compiling with redhat's header
files and using the myricom libraries may generally not work well.

Not sure why a symbol in the BSS was causing issues, but pointing
argus' configure to the pcap headers and libraries that are packaged
in CSPi_SNFv3.0.12_for_Linux.tgz fixes symbol resolution.  I built with:

./configure --with-libpcap=/tmp/myri_snf-3.0.12.50830_b8cb114e7-3390.x86_64/ \
	CFLAGS=-I/tmp/myri_snf-3.0.12.50830_b8cb114e7-3390.x86_64/include \
	LDFLAGS='-Wl,-rpath,/tmp/myri_snf-3.0.12.50830_b8cb114e7-3390.x86_64/lib -L/tmp/myri_snf-3.0.12.50830_b8cb114e7-3390.x86_64/lib'

It might be necessary to uninstall libpcap-devel or just move
/usr/bin/pcap-config out of the way temporarily to build argus.
configure is very insistent about using pcap-config.


Eric



More information about the argus mailing list