Do you think it would be useful to add this to the libpd README or a wiki page?
On Feb 22, 2021, at 12:00 PM, pd-dev-request@lists.iem.at wrote:
Message: 1 Date: Sun, 21 Feb 2021 17:51:39 +0100 From: Pierre Guillot <guillotpierre6@gmail.com mailto:guillotpierre6@gmail.com> To: pd-dev <pd-dev@iem.at mailto:pd-dev@iem.at> Subject: Re: [PD-dev] Problem with the error function Message-ID: <CALPKkhofbAgTPjohGMyvNFt3bau4yh=a+snV9_G3pxp3o+RkKw@mail.gmail.com mailto: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 for the 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 :)
-------- Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/