I am also open to discuss other solution to the above problem. The other
proposals I have captured in this thread are:
- use dlopen() -- already proven wrong (see RHBZ and upstream ML)
I looked and didn't see any discussion of dlopen() in 1305701; are
you talking about a different RHBZ case?
Could you summarize the argument against something like
libcurl_version=REGULAR;
if(!(lp=dlopen("/usr/lib64/libcurl.so",RTLD_NOW)) {
lp=dlopen("/usr/lib64/libcurl-minimal.so",RTLD_NOW);
libcurl_version=MINIMAL;
}
if (!lp) abort("Can't load libcurl because ",dlerror());