[linux][c][unix]libharu, how to compile (undefined reference to) [Archive] - CodeGuru Forums : "./a.out: error while loading shared libraries: libhpdf-2.2.1.so: cannot open shared object file: No such file or directory" : export LD_LIBRARY_PATH=/home/hoge/lib で解決。