On 03/16/2016 04:39 PM, Kamil Dudka wrote:
ldconfig will always pick /usr/lib64/libcurl.so.4 because there can be only one file with that name installed at a time.
OK, but how do you determine which one you have on a particular system someone just handed to you?

It seems to me that you are using the 'alternatives' pattern without actually having the 'alternatives' infrastructure for it.