IMO, it could be useful! ...but perhaps I didn't find this solution earlier because I'm not an expert on the linking mechanism and it would have been obvious for somebody with strong basics knowledge about it.
Do you think it would be useful to add this to the libpd README or a wiki page?
Message: 1Date: Sun, 21 Feb 2021 17:51:39 +0100From: Pierre Guillot <guillotpierre6@gmail.com>To: pd-dev <pd-dev@iem.at>Subject: Re: [PD-dev] Problem with the error functionMessage-ID: <CALPKkhofbAgTPjohGMyvNFt3bau4yh=a+snV9_G3pxp3o+RkKw@mail.gmail.com>Content-Type: text/plain; charset="utf-8"Finally, I think I found the solution. I simply have to use"-Wl,-Bsymbolic" option for the linker (not only for Pd/libpd but also forthe VST/LV2 libraries).set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bsymbolic")set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-Bsymbolic")Hope this helps someone else :)