Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Mac OS X libBLAS error
Qt 6.11 is out! See what's new in the release blog

Mac OS X libBLAS error

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • KonstQTK Offline
    KonstQTK Offline
    KonstQT
    wrote on last edited by
    #1

    dyld: Library not loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    Referenced from: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    Reason: Incompatible library version: vecLib requires version 1.0.0 or later, but libopenblasp-r0.3.4.dylib provides version 0.0.0

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      What version of Qt are you using ?
      On what version of macOS ?
      How are you linking to that framework ?
      Did you install anything related to blas ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      KonstQTK 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        What version of Qt are you using ?
        On what version of macOS ?
        How are you linking to that framework ?
        Did you install anything related to blas ?

        KonstQTK Offline
        KonstQTK Offline
        KonstQT
        wrote on last edited by
        #3

        @SGaist said in Mac OS X libBLAS error:

        Hi and welcome to devnet,

        What version of Qt are you using ?
        On what version of macOS ?
        How are you linking to that framework ?
        Did you install anything related to blas ?

        QT += core

        CONFIG += console
        CONFIG += sdk_no_version_check

        INCLUDEPATH += /usr/local/Cellar/armadillo/9.100.5_2/include/
        /usr/local/Cellar/open-mpi/4.0.0/include/
        /usr/local/Cellar/boost/1.68.0/include/
        /Users/konstantin/dlib/
        /usr/local/Cellar/hdf5/1.10.4/include/
        /usr/local/Cellar/openblas/0.3.4/include/
        /usr/local/Cellar/lapack/3.8.0_1/include/
        /usr/local/Cellar/boost/1.68.0/include/
        /usr/local/Cellar/superlu/5.2.1_3/include/
        /usr/local/Cellar/superlu/5.2.1_3/include/
        /opt/X11/include/
        /usr/local/Cellar/pth/2.0.7/include/

        DEFINES += QT_DEPRECATED_WARNINGS

        SOURCES +=
        main.cpp
        ../../../dlib/dlib/all/source.cpp

        LIBS += -L/usr/local/Cellar/armadillo/9.100.5_2/lib/
        LIBS += -larmadillo
        LIBS += -L/usr/local/Cellar/open-mpi/4.0.0/lib/
        LIBS += -lmpi
        LIBS += -L/usr/local/Cellar/openblas/0.3.4/lib/
        LIBS += -lblas
        LIBS += -L/usr/local/Cellar/lapack/3.8.0_1/lib/
        LIBS += -llapack
        LIBS += -L/usr/local/Cellar/superlu/5.2.1_3/lib/
        LIBS += -lsuperlu
        LIBS += -L/usr/local/Cellar/hdf5/1.10.4/lib/
        LIBS += -lhdf5
        LIBS += -L/opt/X11/lib/
        LIBS += -lx11
        LIBS += -L/usr/local/Cellar/pth/2.0.7/lib/
        LIBS += -lpthread

        MAC OS X 10.14.2
        Qt 5.11.2
        QtCreator 4.7.1

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Looks like you have something that is linking to the Accelerate framework. What happens if you don't explicitly link to to OpenBLAS ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved