Menu

Path to Sphinx Libraries Wrong?

Help
deadrabbit
2008-11-03
2012-09-22
  • deadrabbit

    deadrabbit - 2008-11-03

    I just installed sphinxbase, and I'm running in to this error when I try to run any of the sphinx binaries:

    sphinx_fe: error while loading shared libraries: libsphinxbase.so.1: cannot open shared object file: No such file or directory

    locate libsphinxbase.so.1 shows that the libraries were installed in the following places:

    /usr/local/lib/libsphinxbase.so.1
    /usr/local/lib/libsphinxbase.so.1.0.0
    /usr/local/lib/lib/libsphinxbase.so.1
    /usr/local/lib/lib/libsphinxbase.so.1.0.0
    /usr/local/lib/python2.5/site-packages/lib/libsphinxbase.so.1
    /usr/local/lib/python2.5/site-packages/lib/libsphinxbase.so.1.0.0
    /usr/local/lib/python2.6/site-packages/lib/libsphinxbase.so.1
    /usr/local/lib/python2.6/site-packages/lib/libsphinxbase.so.1.0.0

    Do I need to fix this be changing my compile options, and recompiling? Or is there another place to set the path to the libraries?

    Thanks

     
    • deadrabbit

      deadrabbit - 2008-11-03

      Thanks again! On to the next apparently - now running sphinx_fe results in a segfult:

      ERROR: "cmd_ln.c", line 597: cmd_ln_parse_r failed
      Segmentation fault

      Any ideas on that one? I forgot mention in the other posts, I'm running Arch Linux, in case that matters. Maybe it's all those bleeding edge packages breaking stuff.

       
      • Nickolay V. Shmyrev

        You don't submit correct arguments to sphinx_fe. Please provide more complete log with the command line you are trying to run.

         
    • Nickolay V. Shmyrev

      export LD_LIBRARY_PATH=/usr/local/lib or add /usr/local/lib to /etc/ld.so.conf and run ldconfig.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.