I thought I was dealing with a newbie linking problem, I took it to
but the consensus is that I should start troubleshooting the yaml build, which I am not qualified for. The general problem is outlined below:
$ g++ -fPIC -Wall -lyaml-cpp main.c -L$YAMLCPP/yaml-cpp/build-I$YAMLCPP/yaml-cpp/include
a.out: error while loading shared libraries: libyaml-cpp.so.0.2: cannot open shared object file: No such file or directory
$ ldd a.out
libyaml-cpp.so.0.2 => not found
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000034ce400000)
libm.so.6 => /lib64/tls/libm.so.6 (0x00000034cbe00000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000034ce200000)
libc.so.6 => /lib64/tls/libc.so.6 (0x00000034cbb00000)
$ ls $LD_LIBRARY_PATH
CMakeCache.txt CTestTestfile.cmake libyaml-cpp.so.0.2.4 yaml-cpp.pc
CMakeFiles libyaml-cpp.so Makefile yaml-reader
cmake_install.cmake libyaml-cpp.so.0.2 util
I built the shared object on Saturday, I'm really not sure what is wrong. Any help would be appreciated.
Get latest updates about Open Source Projects, Conferences and News.