Am Dienstag 24 Oktober 2023 um 13:03:16 +0000, schrieb Victor Lazzarini 7,9K: > You need -dynamiclib for all dylibs (including plugins) and have to name them with .dylib extension. > > Is this a hand written makefile? Or is it generated by CMake? Hi! O.K., so my first guess was right :-) This is a handwritten Makefile (for NetBSD's pkgsrc); if I either add: CFLAGS+= -g -DBETA -shared or CFLAGS+= -g -DBETA -dynamiclib this is the output: - - - - - - - - - - %< - - - - - - - - - - [ 65%] Linking CXX shared module ../libdoppler.so cd /Users/mk/pkgsrc/wip/csound6181/work/csound-6.18.1/cmake-pkgsrc-build/Opcodes && /opt/pkg/bin/cmake -E cmake_link_script CMakeFiles/doppler.dir/link.txt --verbose=1 /Users/mk/pkgsrc/wip/csound6181/work/.cwrapper/bin/clang++ -O2 -g -DBETA -shared -DCS_DEFAULT_PLUGINDIR=\"/opt/pkg/lib/csound/plugins64-6.0\" -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.11 -DLDAP_DEPRECATED -std=c++11 -ffast-math -msse2 -fomit-frame-pointer -DNDEBUG -stdlib=libc++ -fvisibility=hidden -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -O3 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -mmacosx-version-min=11.3 -bundle -Wl,-headerpad_max_install_names -L/opt/pkg/lib/csound6 -L/opt/pkg/lib -o ../libdoppler.so CMakeFiles/doppler.dir/doppler.cpp.o clang: error: invalid argument '-bundle' not allowed with '-dynamiclib' *** [libdoppler.so] Error code 1 - - - - - - - - - - %< - - - - - - - - - - Where can I remove the "-bundle" argument? I see no occurence in Makefile, options.mk or CMakeLists.txt? Kind regards. Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here