Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-0.4
-
None
-
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
- 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 !