michael goulish created PROTON-243:
--------------------------------------

             Summary: 0.4 RC1 libqpid-proton not found 
                 Key: PROTON-243
                 URL: https://issues.apache.org/jira/browse/PROTON-243
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: 0.4
         Environment: Fedora 18
            Reporter: michael goulish


All build steps went well, following the README directions, until I got to 
building the C examples

here is what happened then:

( executive summary: I had to set LD_LIBRARY_PATH to get libqpid-proton to be 
findable at link time. )

      cd ../examples/messenger/c
      cmake .
      make

      ./recv &

      ./recv: error while loading shared libraries: 
        libqpid-proton.so.1: cannot open shared object file: 
        No such file or directory

      # Uh-oh.

      ldd recv
        linux-vdso.so.1 =>  (0x00007fff03960000)
        libqpid-proton.so.1 => not found
        libc.so.6 => /lib64/libc.so.6 (0x00007f5dfc48f000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5dfc851000)

      export LD_LIBRARY_PATH=/usr/lib

      ./recv &
      # It's Happy !
      ./send
      Address: amqp://0.0.0.0
      Subject: (no subject)
      Content: "Hello World!"
      # Hooray !


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to