Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-237

ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Not a Bug
    • None
    • N/A
    • Installation
    • None

    Description

      I tried to install mariadb==1.1.4 on Mac OS

      But there is an error, and I have no idea what to do even though I googled it

      If anyone knows the solution. Pls let me know.

      Installing collected packages: mariadb
        Running setup.py install for mariadb ... error
        error: subprocess-exited-with-error
        
        × Running setup.py install for mariadb did not run successfully.
        │ exit code: 1
        ╰─> [43 lines of output]
            10.9.4
            running install
            /Users/injunpark/opt/anaconda3/envs/mpxradar/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
              warnings.warn(
            running build
            running build_py
            creating build
            creating build/lib.macosx-10.9-x86_64-cpython-39
            creating build/lib.macosx-10.9-x86_64-cpython-39/mariadb
            copying mariadb/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb
            copying mariadb/connectionpool.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb
            copying mariadb/connections.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb
            creating build/lib.macosx-10.9-x86_64-cpython-39/mariadb/constants
            copying mariadb/constants/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb/constants
            copying mariadb/constants/CAPABILITY.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb/constants
            copying mariadb/constants/CLIENT.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb/constants
            copying mariadb/constants/CURSOR.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb/constants
            copying mariadb/constants/ERR.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb/constants
            copying mariadb/constants/FIELD_FLAG.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb/constants
            copying mariadb/constants/FIELD_TYPE.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb/constants
            copying mariadb/constants/INDICATOR.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb/constants
            copying mariadb/constants/INFO.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb/constants
            copying mariadb/constants/STATUS.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb/constants
            copying mariadb/constants/TPC_STATE.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb/constants
            copying mariadb/cursors.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb
            copying mariadb/dbapi20.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb
            copying mariadb/field.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb
            copying mariadb/release_info.py -> build/lib.macosx-10.9-x86_64-cpython-39/mariadb
            running build_ext
            building 'mariadb._mariadb' extension
            creating build/temp.macosx-10.9-x86_64-cpython-39
            creating build/temp.macosx-10.9-x86_64-cpython-39/mariadb
            x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -arch x86_64 -I/Users/injunpark/opt/anaconda3/envs/mpxradar/include -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -arch x86_64 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -D_FORTIFY_SOURCE=2 -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=1 -DPY_MARIADB_PATCH_VERSION=4 -DPY_MARIADB_PRE_RELEASE_SEGMENT=\"\" -I/usr/local/Cellar/mariadb/10.9.4/include/mysql -I/usr/local/Cellar/mariadb/10.9.4/include/mysql/mysql -I./include -I/Users/injunpark/opt/anaconda3/envs/mpxradar/include/python3.9 -c mariadb/mariadb.c -o build/temp.macosx-10.9-x86_64-cpython-39/mariadb/mariadb.o -DDEFAULT_PLUGINS_SUBDIR=\"/usr/local/Cellar/mariadb/10.9.4/lib/plugin\"
            x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -arch x86_64 -I/Users/injunpark/opt/anaconda3/envs/mpxradar/include -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -arch x86_64 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -D_FORTIFY_SOURCE=2 -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=1 -DPY_MARIADB_PATCH_VERSION=4 -DPY_MARIADB_PRE_RELEASE_SEGMENT=\"\" -I/usr/local/Cellar/mariadb/10.9.4/include/mysql -I/usr/local/Cellar/mariadb/10.9.4/include/mysql/mysql -I./include -I/Users/injunpark/opt/anaconda3/envs/mpxradar/include/python3.9 -c mariadb/mariadb_codecs.c -o build/temp.macosx-10.9-x86_64-cpython-39/mariadb/mariadb_codecs.o -DDEFAULT_PLUGINS_SUBDIR=\"/usr/local/Cellar/mariadb/10.9.4/lib/plugin\"
            x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -arch x86_64 -I/Users/injunpark/opt/anaconda3/envs/mpxradar/include -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -arch x86_64 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -D_FORTIFY_SOURCE=2 -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=1 -DPY_MARIADB_PATCH_VERSION=4 -DPY_MARIADB_PRE_RELEASE_SEGMENT=\"\" -I/usr/local/Cellar/mariadb/10.9.4/include/mysql -I/usr/local/Cellar/mariadb/10.9.4/include/mysql/mysql -I./include -I/Users/injunpark/opt/anaconda3/envs/mpxradar/include/python3.9 -c mariadb/mariadb_connection.c -o build/temp.macosx-10.9-x86_64-cpython-39/mariadb/mariadb_connection.o -DDEFAULT_PLUGINS_SUBDIR=\"/usr/local/Cellar/mariadb/10.9.4/lib/plugin\"
            x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -arch x86_64 -I/Users/injunpark/opt/anaconda3/envs/mpxradar/include -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -arch x86_64 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -D_FORTIFY_SOURCE=2 -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=1 -DPY_MARIADB_PATCH_VERSION=4 -DPY_MARIADB_PRE_RELEASE_SEGMENT=\"\" -I/usr/local/Cellar/mariadb/10.9.4/include/mysql -I/usr/local/Cellar/mariadb/10.9.4/include/mysql/mysql -I./include -I/Users/injunpark/opt/anaconda3/envs/mpxradar/include/python3.9 -c mariadb/mariadb_cursor.c -o build/temp.macosx-10.9-x86_64-cpython-39/mariadb/mariadb_cursor.o -DDEFAULT_PLUGINS_SUBDIR=\"/usr/local/Cellar/mariadb/10.9.4/lib/plugin\"
            x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -arch x86_64 -I/Users/injunpark/opt/anaconda3/envs/mpxradar/include -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -arch x86_64 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -D_FORTIFY_SOURCE=2 -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=1 -DPY_MARIADB_PATCH_VERSION=4 -DPY_MARIADB_PRE_RELEASE_SEGMENT=\"\" -I/usr/local/Cellar/mariadb/10.9.4/include/mysql -I/usr/local/Cellar/mariadb/10.9.4/include/mysql/mysql -I./include -I/Users/injunpark/opt/anaconda3/envs/mpxradar/include/python3.9 -c mariadb/mariadb_exception.c -o build/temp.macosx-10.9-x86_64-cpython-39/mariadb/mariadb_exception.o -DDEFAULT_PLUGINS_SUBDIR=\"/usr/local/Cellar/mariadb/10.9.4/lib/plugin\"
            x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -arch x86_64 -I/Users/injunpark/opt/anaconda3/envs/mpxradar/include -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -arch x86_64 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -D_FORTIFY_SOURCE=2 -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=1 -DPY_MARIADB_PATCH_VERSION=4 -DPY_MARIADB_PRE_RELEASE_SEGMENT=\"\" -I/usr/local/Cellar/mariadb/10.9.4/include/mysql -I/usr/local/Cellar/mariadb/10.9.4/include/mysql/mysql -I./include -I/Users/injunpark/opt/anaconda3/envs/mpxradar/include/python3.9 -c mariadb/mariadb_parser.c -o build/temp.macosx-10.9-x86_64-cpython-39/mariadb/mariadb_parser.o -DDEFAULT_PLUGINS_SUBDIR=\"/usr/local/Cellar/mariadb/10.9.4/lib/plugin\"
            x86_64-apple-darwin13.4.0-clang -bundle -undefined dynamic_lookup -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/injunpark/opt/anaconda3/envs/mpxradar/lib -L/Users/injunpark/opt/anaconda3/envs/mpxradar/lib -L/Users/injunpark/opt/anaconda3/envs/mpxradar/lib -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/injunpark/opt/anaconda3/envs/mpxradar/lib -L/Users/injunpark/opt/anaconda3/envs/mpxradar/lib -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/injunpark/opt/anaconda3/envs/mpxradar/lib -L/Users/injunpark/opt/anaconda3/envs/mpxradar/lib -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include -D_FORTIFY_SOURCE=2 -isystem /Users/injunpark/opt/anaconda3/envs/mpxradar/include build/temp.macosx-10.9-x86_64-cpython-39/mariadb/mariadb.o build/temp.macosx-10.9-x86_64-cpython-39/mariadb/mariadb_codecs.o build/temp.macosx-10.9-x86_64-cpython-39/mariadb/mariadb_connection.o build/temp.macosx-10.9-x86_64-cpython-39/mariadb/mariadb_cursor.o build/temp.macosx-10.9-x86_64-cpython-39/mariadb/mariadb_exception.o build/temp.macosx-10.9-x86_64-cpython-39/mariadb/mariadb_parser.o -L/usr/local/Cellar/mariadb/10.9.4/lib/ -lmariadb -o build/lib.macosx-10.9-x86_64-cpython-39/mariadb/_mariadb.cpython-39-darwin.so
            ld: warning: -pie being ignored. It is only used when linking a main executable
            ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64
            clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
            error: command '/Users/injunpark/opt/anaconda3/envs/mpxradar/bin/x86_64-apple-darwin13.4.0-clang' failed with exit code 1
            [end of output]
        
        note: This error originates from a subprocess, and is likely not a problem with pip.
      error: legacy-install-failure
       
      × Encountered error while trying to install package.
      ╰─> mariadb
      

      Attachments

        Activity

          People

            georg Georg Richter
            ijpark0924 Injun Park
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.