Overview
Artifact ID: | 352f4c616572615a19c9f113fb663df521117d8e3c779f0ce288ae2740ff21eb |
---|---|
Ticket: | c6cc9e097be16bd328603059e0ac3a73269ef25e
MacOS Catalina duplicate symbol _tdomStubsPtr |
User & Date: | anonymous 2020-06-05 07:39:51 |
Changes
- icomment:
Hi, I cloned the tkdom repo, opened it, and then tried to build it with the following options: <pre>./configure --with-tcl='/usr/local/opt/tcl-tk/lib' --enable-html5</pre> <pre>make</pre> and I receive the following error: <pre> gcc -dynamiclib -pipe -Os -DNDEBUG -Wall -fno-common -I/usr/local/opt/tcl-tk/include -I/usr/local/opt/tcl-tk/include -L/usr/local/opt/tcl-tk/lib -L/usr/local/opt/tcl-tk/lib -prebind -headerpad_max_install_names -Wl,-search_paths_first -Wl,-single_module -current_version 0.9.2 -compatibility_version 0.9.2 -o libtdom0.9.2.dylib xmlrole.o xmltok.o xmlparse.o xmlsimple.o dom.o domhtml.o domhtml5.o domjson.o domxpath.o domxslt.o domlock.o tcldom.o nodecmd.o tdominit.o tclexpat.o tclpull.o tdomStubInit.o -L/usr/local/Cellar/gumbo-parser/0.10.1/lib -lgumbo -L/usr/local/Cellar/tcl-tk/8.6.10/lib -ltclstub8.6 ld: warning: option -prebind is obsolete and being ignored duplicate symbol '_tdomStubsPtr' in: tdominit.o tclpull.o duplicate symbol '_tdomStubsPtr' in: tdominit.o tdomStubInit.o ld: 2 duplicate symbols for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [libtdom0.9.2.dylib] Error 1 </pre> I've experimented with both <pre>--disable stubs</pre> and removing <pre>--enable-html5</pre> and receive the same error when building, in the linking step. My system: <pre> MacOS Catalina 10.15.5 </pre> My clang version: <pre> Apple clang version 11.0.3 (clang-1103.0.32.62) Target: x86_64-apple-darwin19.5.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin </pre> My tcl version: <pre> tcl-tk: stable 8.6.10 </pre> Thanks meff
- login: "anonymous"
- mimetype: "text/html"
- severity changed to: "Critical"
- status changed to: "Open"
- title changed to: "MacOS Catalina duplicate symbol _tdomStubsPtr"
- type changed to: "Build_Problem"