I'm trying to compile a program using a makefile and gcc as compiler.
I must link my program with static and dynamic libraries. I've linked the static libraries as follows:the name of my static libraries are libverifp.a and libtls_64.a, then I wrote -lverifp and -ltls_64.
Besides, I must link a dynamic library named libverifp.so and I do not know how link it.
The error message that appears is:
/usr/bin/ld: warning: libtls_64.so, needed by /mnt/f/code/ext/verifp_1.40/bin/linux/x64/libverifp.so, not found (try using -rpath or -rpath-link)
I understand I must link libverifp.so but I do not know how can I do.