Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
QT and ibase plugin compilation problem
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="giandrea77" data-source="post: 791773" data-attributes="member: 83189"><p>Hi to All!</p><p></p><p>I've a problem compiling the QT ibase plugin under MacOs 10.4 os. I've followed the instruction in</p><p></p><p><a href="http://doc.trolltech.com/4.3/sql-driver.html" target="_blank">Qt 4.3: SQL Database Drivers</a></p><p></p><p>and I've replaced any occurence of -lgds by -lfbclient in .pro files (<a href="http://ubuntuforums.org/showthread.php?t=669005" target="_blank">[SOLVED] Qt4 + Firebird (RDBMS) - Ubuntu Forums</a>)</p><p></p><p>First, I've run this command</p><p></p><p>qmake -o Makefile "INCLUDEPATH+=/Library/Frameworks/Firebird.framework/Versions/Current/Headers" "LIBS+=-L/Library/Frameworks/Firebird.framework/Versions/Current/Libraries -lfbclient" ibase.pro</p><p></p><p>after with the make command, I can see this output:</p><p></p><p>make -f Makefile.Debug all</p><p>rm -f libqsqlibase_debug.dylib</p><p>g++ -headerpad_max_install_names -arch ppc -arch i386 -single_module -dynamiclib -o libqsqlibase_debug.dylib .obj/debug-shared/main.o .obj/debug-shared/qsql_ibase.o .obj/debug-shared/moc_qsql_ibase.o -F/Users/andrea/Documents/Works/qt-mac-opensource-src-4.4.3/lib -L/Users/andrea/Documents/Works/qt-mac-opensource-src-4.4.3/lib -L/Library/Frameworks/Firebird.framework/Versions/Current/Libraries -lfbclild: Undefined symbols:</p><p>_isc_array_get_slice</p><p>_isc_array_lookup_bounds</p><p>_isc_array_put_slice</p><p>_isc_attach_database</p><p>_isc_cancel_events</p><p>_isc_close_blob</p><p>_isc_commit_transaction</p><p>_isc_create_blob2</p><p>_isc_detach_database</p><p>_isc_dsql_allocate_statement</p><p>_isc_dsql_describe</p><p>_isc_dsql_describe_bind</p><p>_isc_dsql_execute</p><p>_isc_dsql_execute2</p><p>_isc_dsql_fetch</p><p>_isc_dsql_free_statement</p><p>_isc_dsql_prepare</p><p>_isc_dsql_sql_info</p><p>_isc_event_block</p><p>_isc_event_counts</p><p>_isc_get_segment</p><p>_isc_open_blob2</p><p>_isc_put_segment</p><p>_isc_que_events</p><p>_isc_rollback_transaction</p><p>_isc_sql_interprete</p><p>_isc_sqlcode</p><p>_isc_start_transaction</p><p>_isc_vax_integer</p><p>/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed</p><p>lipo: can't figure out the architecture type of: /var/tmp//ccLlxuQ2.out</p><p>make[1]: *** [../../../../plugins/sqldrivers/libqsqlibase_debug.dylib] Error 1</p><p>make: *** [debug-all] Error 2</p><p></p><p>How can I compile this plugin? Or, where can I download the plugin?</p><p></p><p>Thanks!!!!!</p><p></p><p>Andrea</p></blockquote><p></p>
[QUOTE="giandrea77, post: 791773, member: 83189"] Hi to All! I've a problem compiling the QT ibase plugin under MacOs 10.4 os. I've followed the instruction in [url=http://doc.trolltech.com/4.3/sql-driver.html]Qt 4.3: SQL Database Drivers[/url] and I've replaced any occurence of -lgds by -lfbclient in .pro files ([url=http://ubuntuforums.org/showthread.php?t=669005][SOLVED] Qt4 + Firebird (RDBMS) - Ubuntu Forums[/url]) First, I've run this command qmake -o Makefile "INCLUDEPATH+=/Library/Frameworks/Firebird.framework/Versions/Current/Headers" "LIBS+=-L/Library/Frameworks/Firebird.framework/Versions/Current/Libraries -lfbclient" ibase.pro after with the make command, I can see this output: make -f Makefile.Debug all rm -f libqsqlibase_debug.dylib g++ -headerpad_max_install_names -arch ppc -arch i386 -single_module -dynamiclib -o libqsqlibase_debug.dylib .obj/debug-shared/main.o .obj/debug-shared/qsql_ibase.o .obj/debug-shared/moc_qsql_ibase.o -F/Users/andrea/Documents/Works/qt-mac-opensource-src-4.4.3/lib -L/Users/andrea/Documents/Works/qt-mac-opensource-src-4.4.3/lib -L/Library/Frameworks/Firebird.framework/Versions/Current/Libraries -lfbclild: Undefined symbols: _isc_array_get_slice _isc_array_lookup_bounds _isc_array_put_slice _isc_attach_database _isc_cancel_events _isc_close_blob _isc_commit_transaction _isc_create_blob2 _isc_detach_database _isc_dsql_allocate_statement _isc_dsql_describe _isc_dsql_describe_bind _isc_dsql_execute _isc_dsql_execute2 _isc_dsql_fetch _isc_dsql_free_statement _isc_dsql_prepare _isc_dsql_sql_info _isc_event_block _isc_event_counts _isc_get_segment _isc_open_blob2 _isc_put_segment _isc_que_events _isc_rollback_transaction _isc_sql_interprete _isc_sqlcode _isc_start_transaction _isc_vax_integer /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed lipo: can't figure out the architecture type of: /var/tmp//ccLlxuQ2.out make[1]: *** [../../../../plugins/sqldrivers/libqsqlibase_debug.dylib] Error 1 make: *** [debug-all] Error 2 How can I compile this plugin? Or, where can I download the plugin? Thanks!!!!! Andrea [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
QT and ibase plugin compilation problem
Top