Error building IBase Driver Mac OS
-
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 ?
-
Hi,
Shouldn't that be
-lib_util
? -
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 ?
-
Where did you get the Firebird SDK from ?