I am trying to use unit testing framework for C called Check.
I installed the package as instructed on the file INSTALL in the package:
- ./configure
- make
- make check -> run self-tests that come with the package (pass successfully).
- make install
After doing that I failed to run my own test so finally I decided to use the package example in '/usr/local/share/doc/check/example'
Did the following commands:
$ autoreconf --install
$ ./configure
$ make
$ make check
And still the same problem :
/usr/local/share/doc/check/example/tests/.libs/lt-check_money: error while loading shared libraries: libcheck.so.0: cannot open shared object file: No such file or directory FAIL: check_money
Tried to add the directory to LDFLAGS in the make file but that did not help, also tried to do what Rick Hightower did here (...deleting the *.so files (and their links)) by I don't know how to remove the links