Giter Site home page Giter Site logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 16, 2024
Sounds like a tokyocabinet problem; tccmpint32 is a tokyocabinet function, so I 
bet libgrok can't find libtokyocabinet. You can confirm this by using 'ldd'

% ldd /usr/lib/libgrok.so.1 | grep tokyo
        libtokyocabinet.so.9 => /usr/local/lib/libtokyocabinet.so.9 (0x00007f942ae87000)

Is libtokyocabinet.so (or similar) missing on your system?  What version of 
tokyocabinet do you have? 

Original comment by [email protected] on 28 Mar 2011 at 4:56

from logstash.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 16, 2024
I do have tokyocabinet - I needed it to compile grok.

ldd only returns
# ldd /usr/lib/libgrok.so.1 
        linux-vdso.so.1 =>  (0x00007fffa79ff000)
        libc.so.6 => /lib/libc.so.6 (0x00007fad26bd1000)
        /lib/ld-linux-x86-64.so.2 (0x00007fad27175000)

tokyocabinet is ver 1.4.46-1


and I have /usr/lib/libtokyocabinet.so.9


Original comment by [email protected] on 28 Mar 2011 at 5:44

from logstash.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 16, 2024
Sounds like grok isn't linked properly. Yours is missing libdl, libpcre, 
libevent, libtokyocabinet, etc.

        linux-vdso.so.1 =>  (0x00007fffc89ff000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f4bb22d5000)
        libpcre.so.3 => /lib/libpcre.so.3 (0x00007f4bb20a7000)
        libevent-1.4.so.2 => /usr/lib/libevent-1.4.so.2 (0x00007f4bb1e8c000)
        libtokyocabinet.so.9 => /usr/local/lib/libtokyocabinet.so.9 (0x00007f4bb1c09000)
        libc.so.6 => /lib/libc.so.6 (0x00007f4bb1886000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f4bb2713000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00007f4bb166b000)
        librt.so.1 => /lib/librt.so.1 (0x00007f4bb1463000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00007f4bb124a000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007f4bb1038000)
        libz.so.1 => /lib/libz.so.1 (0x00007f4bb0e21000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f4bb0c04000)
        libm.so.6 => /lib/libm.so.6 (0x00007f4bb0980000)

If you compile libgrok with 'make libgrok.so' what does 'ldd ./libgrok.so' say 
after building?

Original comment by [email protected] on 28 Mar 2011 at 5:51

  • Changed state: Accepted

from logstash.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 16, 2024
Strange.
I recompiled and ran
make grok
instead of just make. It seems to have linked properly this time.


Thanks for your help.
logstash -f logstash-grep.yaml 
I, [2011-03-28T21:07:00.518179 #13663]  INFO -- logstash: Registering 
file://<server>/var/log/messages


Original comment by [email protected] on 28 Mar 2011 at 8:08

from logstash.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 16, 2024
Sweet, glad it's working for you now :)

Original comment by [email protected] on 28 Mar 2011 at 9:35

  • Changed state: Fixed

from logstash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.