How do you link to a specific version of a shared library in GCC May 5, 2023 by Tarik Instead of using -lcurl use -l:libcurl.so.3 And of course also use -L _installed_path_