[Snort-users] QUERY:Building snort statically

William Fitzgerald wfitzgerald at ...9307...
Tue Feb 15 04:18:21 EST 2005


Dear all,

I want to build snort statically. What is the procedure/steps to do
this? 
I want to be able to migrate the snort wireless binary t an embedded
system.

If anyone can help or point me in the right direction that would be
fantastic.

It will need quite a few libraries as can be seen from the ldd command
below.
I am using snort-2.1.1 so I can have snort wireless logging. 

ldd -v src/snort
        linux-gate.so.1 =>  (0xffffe000)
        libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x40029000)
        libpcap.so.0 => /usr/lib/libpcap.so.0 (0x40036000)
        libm.so.6 => /lib/tls/libm.so.6 (0x40059000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x4007b000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40090000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

        Version information:
        src/snort:
                libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6
                libc.so.6 (GLIBC_2.3) => /lib/tls/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6
        /usr/local/lib/libpcre.so.0:
                libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6
                libc.so.6 (GLIBC_2.3) => /lib/tls/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6
        /usr/lib/libpcap.so.0:
                libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6
                libc.so.6 (GLIBC_2.3) => /lib/tls/libc.so.6
                libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6
        /lib/tls/libm.so.6:
                ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
                libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6
        /lib/libnsl.so.1:
                libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6
                libc.so.6 (GLIBC_2.2) => /lib/tls/libc.so.6
                libc.so.6 (GLIBC_2.2.3) => /lib/tls/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6
        /lib/tls/libc.so.6:
                ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.0) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2

Regards,
Will.

William M. Fitzgerald (MSc,BSc),
Applied Researcher,
Telecommunications Software & Systems Group,
Waterford Institute of Technology,
Cork Rd.
Waterford.
Office Ph: +353 51 302937
Mobile Ph: +353 87 9527083






More information about the Snort-users mailing list