Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.4
    • Fix Version/s: 0.4
    • Component/s: proton-c
    • Labels:
      None
    • Environment:
      Fedora 18

      Description

      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

      1. 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 &

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

        Activity

        Hide
        Ted Ross added a comment -

        The shorter version: When installing 0.4 on a 64-bit system, the libraries are installed into the wrong directory (/usr/lib when it should be /usr/lib64).

        Show
        Ted Ross added a comment - The shorter version: When installing 0.4 on a 64-bit system, the libraries are installed into the wrong directory (/usr/lib when it should be /usr/lib64).

          People

          • Assignee:
            Rafael H. Schloming
            Reporter:
            michael goulish
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development