[Oisf-users] Compliling

Will Metcalf william.metcalf at gmail.com
Mon Jul 19 14:21:28 UTC 2010


You may have to do as the output instructs i.e. adding /usr/local/lib
to /etc/ld.so.conf and after doing so running ldconfig.

Regards,

Will

On Fri, Jul 16, 2010 at 11:12 AM, Anas.B <a.bouhsaina at gmail.com> wrote:
> Hello evrybody,
>
> I'v tried to reinstall Suricata ,
>
> #chmod +x configure
>
> root at admin-server:/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0#
> apt-get install libpcre3 libpcre3-dbg libpcre3-dev libyaml-dev libyaml-dev
> zlib1g-dev libnfnetlink-dev libnfnetlink0 libnetfilter-queue1
> libnetfilter-queue-dev libnet1-dev libcap-ng-dev libcap-ng0 build-essential
> autoconf automake libtool libpcap-dev
>
> this is the configure command :
>
> #./configure --enable-nfqueue
>
>
> but after #make and make install
>
>
>
> It seems that there are problems !!!!
> that's the results !!!
> ........................
> ................................
> g.o alert-debuglog.o alert-prelude.o alert-unified-log.o
> alert-unified-alert.o alert-unified2-alert.o log-httplog.o stream.o
> stream-tcp.o stream-tcp-reassemble.o respond-reject.o
> respond-reject-libnet11.o conf.o conf-yaml-loader.o counters.o app-layer.o
> app-layer-detect-proto.o app-layer-parser.o app-layer-htp.o app-layer-tls.o
> app-layer-smb.o app-layer-smb2.o app-layer-dcerpc.o app-layer-dcerpc-udp.o
> app-layer-ftp.o app-layer-ssl.o defrag.o output.o win32-misc.o
> win32-service.o util-action.o util-profiling.o cuda-packet-batcher.o
> ../libhtp/htp/.libs/libhtp.so /usr/lib/libcap-ng.so -lpcap
> /usr/lib/libnet.so -lnetfilter_queue -lnfnetlink -lpthread
> /usr/lib/libyaml.so -lpcre
> make[2]: Leaving directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/src'
> make[2]: Entering directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0'
> make[1]: Leaving directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0'
> root at admin-server:/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0#
> make install
> Making install in libhtp
> make[1]: Entering directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/libhtp'
> Making install in htp
> make[2]: Entering directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/libhtp/htp'
> make[3]: Entering directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/libhtp/htp'
> test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
>  /bin/bash ../libtool   --mode=install /usr/bin/install -c   libhtp.la
> '/usr/local/lib'
> libtool: install: /usr/bin/install -c .libs/libhtp-0.2.so.1.0.2
> /usr/local/lib/libhtp-0.2.so.1.0.2
> libtool: install: (cd /usr/local/lib && { ln -s -f libhtp-0.2.so.1.0.2
> libhtp-0.2.so.1 || { rm -f libhtp-0.2.so.1 && ln -s libhtp-0.2.so.1.0.2
> libhtp-0.2.so.1; }; })
> libtool: install: (cd /usr/local/lib && { ln -s -f libhtp-0.2.so.1.0.2
> libhtp.so || { rm -f libhtp.so && ln -s libhtp-0.2.so.1.0.2 libhtp.so; }; })
> libtool: install: /usr/bin/install -c .libs/libhtp.lai
> /usr/local/lib/libhtp.la
> libtool: install: /usr/bin/install -c .libs/libhtp.a /usr/local/lib/libhtp.a
> libtool: install: chmod 644 /usr/local/lib/libhtp.a
> libtool: install: ranlib /usr/local/lib/libhtp.a
> libtool: finish:
> PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin"
> ldconfig -n /usr/local/lib
> ----------------------------------------------------------------------
> Libraries have been installed in:
>    /usr/local/lib
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
>    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>      during execution
>    - add LIBDIR to the `LD_RUN_PATH' environment variable
>      during linking
>    - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
>    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> test -z "/usr/local/include/htp" || /bin/mkdir -p "/usr/local/include/htp"
>  /usr/bin/install -c -m 644 bstr.h dslib.h hooks.h htp.h utf8_decoder.h
> htp_decompressors.h '/usr/local/include/htp'
> make[3]: Leaving directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/libhtp/htp'
> make[2]: Leaving directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/libhtp/htp'
> Making install in test
> make[2]: Entering directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/libhtp/test'
> make[3]: Entering directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/libhtp/test'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/libhtp/test'
> make[2]: Leaving directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/libhtp/test'
> make[2]: Entering directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/libhtp'
> make[3]: Entering directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/libhtp'
> make[3]: Nothing to be done for `install-exec-am'.
> test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p
> "/usr/local/lib/pkgconfig"
>  /usr/bin/install -c -m 644 htp.pc '/usr/local/lib/pkgconfig'
> make[3]: Leaving directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/libhtp'
> make[2]: Leaving directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/libhtp'
> make[1]: Leaving directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/libhtp'
> Making install in src
> make[1]: Entering directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/src'
> make[2]: Entering directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/src'
> test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
>   /bin/bash ../libtool   --mode=install /usr/bin/install -c suricata
> '/usr/local/bin'
> libtool: install: /usr/bin/install -c .libs/suricata /usr/local/bin/suricata
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/src'
> make[1]: Leaving directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0/src'
> make[1]: Entering directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0'
> make[2]: Entering directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0'
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0'
> make[1]: Leaving directory
> `/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0'
> root at admin-server:/home/anas/Desktop/Prerequis/suricata-1.0.0/suricata-1.0.0#
>
> I do not know if this will pose problems
>
> What do you thik ??
> is it normal !!!
>
> Best regards,
> A..
>
> _______________________________________________
> Oisf-users mailing list
> Oisf-users at openinfosecfoundation.org
> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
>
>



More information about the Oisf-users mailing list