Search code examples
ubuntushared-librariesparsley

Parsley: Unable to execute command line tool after building it.. "Error while loading shared libraries: libparsley.so.0"


I'm getting started with Parsley (parslets.com), an interesting tool to parse data out of webpages.

http://parselets.com/dev/command_line

I've downloaded the source, built it, and now I'm unable to run it:

parsley: error while loading shared libraries: libparsley.so.0: cannot open shared object file: No such file or directory

I'm a bit of a *nix newbie, so I'm stuck on this.. here is what I did:

  1. I'm using Ubuntu 9.04 64bit
  2. I downloaded the source
  3. I ran "sudo ./configure" and installed dependencies (using apt-get) as necessary
  4. I ran "make install"
  5. I attempted to run parsley by typing "parsley"

Any ideas? thanks.

  • Alex

Solution

  • The problem seems to have gone away, or at least I can't say I did anything to fix it but it no longer happens. My only guess (grasping at straws) is that when I installed the suggested updates for Ubuntu yesterday something changed or got fixed that affected this.

    Update: It turns out, I needed to run:

    sudo ldconfig
    

    What must have happened is updating my system ran that for me.