My libjansson is now installed in the default directory /usr/local/lib, but my program that needs to link to the libjansson library looks in /usr/lib by default instead, so I can't compile my program. I've tried to reinstall libjansson by doing
make clean
./configure --prefix=/usr/lib
make install
But I still see libjansson.so (and 4 other libjansson files) in /usr/local/lib
I've also tried to create a link by
ln -s /usr/local/lib/libjansson.so /usr/lib/libjansson.so
but I still can't compile my program.
How do I properly reinstall libjansson?
Thank you.
Regards, Rayne