Revert "Prefer symbols from plugins"

This reverts commit 102c48d7a1.
This breaks various plugins, notably all JUCE based ones,
during instantiation.
This commit is contained in:
Robin Gareus 2023-02-09 23:37:21 +01:00
parent 102c48d7a1
commit 441a6ec069
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ static void* vstfx_load_vst_library(const char* path)
you get some occasional failures to load - dlerror reports
invalid arguments*/
if ((dll = dlopen (path, RTLD_LOCAL | RTLD_LAZY | RTLD_DEEPBIND)) != 0) {
if ((dll = dlopen (path, RTLD_LOCAL | RTLD_LAZY)) != 0) {
return dll;
}
@ -151,7 +151,7 @@ static void* vstfx_load_vst_library(const char* path)
/*Try and load the library*/
if ((dll = dlopen (full_path, RTLD_LOCAL | RTLD_LAZY | RTLD_DEEPBIND)) != 0) {
if ((dll = dlopen(full_path, RTLD_LOCAL | RTLD_LAZY)) != 0) {
/*Succeeded */
break;
}

View File

@ -169,7 +169,7 @@ class VST3LinuxModule : public VST3PluginModule
public:
VST3LinuxModule (std::string const& path)
{
if ((_dll = dlopen (path.c_str (), RTLD_LOCAL | RTLD_LAZY | RTLD_DEEPBIND)) == 0) {
if ((_dll = dlopen (path.c_str (), RTLD_LOCAL | RTLD_LAZY)) == 0) {
PBD::error << string_compose (_("Could not load VST3 plugin '%1': %2"), path, dlerror ()) << endmsg;
throw failed_constructor ();
}