Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error building IBase Driver Mac OS
Forum Updated to NodeBB v4.3 + New Features

Error building IBase Driver Mac OS

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 1.2k 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.
  • M Offline
    M Offline
    mourad_bilog
    wrote on last edited by
    #1

    Hello everybody,
    I'm using Qt 5.5 and trying to build Firebird Driver IBase on Mac OS 10.7. I've followed steps indicated in Qt documentation

    /Library/Qt5.5.1/5.5/clang_64/bin/qmake "INCLUDEPATH+=/Library/Frameworks/Firebird.framework/Versions/A/Headers" "LIBS+=-L/Library/Frameworks/Firebird.framework/Versions/A/Libraries -llibib_util" ibase.pro
    make
    
    

    but I'm having the following error

    ld: library not found for -llibib_util
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[1]: *** [../../../../plugins/sqldrivers/libqsqlibase.dylib] Error 1
    make: *** [release-all] Error 2
    
    

    Can anayone tell me what is wrong and what I must to change to build the driver ?

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

      Hi,

      Shouldn't that be -lib_util ?

      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
      • M Offline
        M Offline
        mourad_bilog
        wrote on last edited by
        #3

        Thank for repliying.

        In fact, in Firebird installation I found 2 libraries named fbintel under

        /Library/Frameworks/Firebird.framework/Versions/A/Resources/English.lproj/var/intl
        

        and libib_util under

        /Library/Frameworks/Firebird.framework/Libraries
        

        I've changed ibase.pro by adding the following lines

        INCLUDEPATH += /Library/Frameworks/Firebird.framework/Headers
        LIBS += -framework Firebird
        

        and qsql-ibase.pri by removing

        unix {
            !contains(LIBS, .*gds.*):!contains(LIBS, .*libfb.*):LIBS += -lgds
        } else {
            !contains(LIBS, .*gds.*):!contains(LIBS, .*fbclient.*) {
                win32-borland:LIBS += gds32.lib
                else:LIBS += -lgds32_ms
            }
        }
        

        When builduing IBASE driver with the fbintl I'm having the error

        make -f Makefile.Release all
        rm -f libqsqlibase.dylib
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -stdlib=libc++ -mmacosx-version-min=10.7 -single_module -dynamiclib -o libqsqlibase.dylib .obj/release/main.o .obj/release/qsql_ibase.o .obj/release/moc_qsql_ibase_p.o  -F/Library/Qt5.5.1/5.5/clang_64/lib -L/Library/Frameworks/Firebird.framework/Versions/A/Resources/English.lproj/var/intl -lfbintl -framework Firebird -framework QtSql -framework QtCore -framework DiskArbitration -framework IOKit  
        ld: library not found for -lfbintl
        clang: error: linker command failed with exit code 1 (use -v to see invocation)
        make[1]: *** [../../../../plugins/sqldrivers/libqsqlibase.dylib] Error 1
        make: *** [release-all] Error 2
        

        Note that I've tried with the libib-intl but I've the same error.

        Does anayone know encountred this problem ? Can anyone tell me what is wrong and what I must to change to fix the problem ?

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

          Where did you get the Firebird SDK from ?

          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