Results 1 to 2 of 2

Thread: Ibase plugin problem under MacOs 10.4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2009
    Location
    Italy
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Ibase plugin problem under MacOs 10.4

    Hi to All!

    I've a problem compiling the ibase plugin under MacOs 10.4 os. I've followed the instruction in

    http://doc.trolltech.com/4.3/sql-driver.html

    and I've replaced any occurence of -lgds by -lfbclient in .pro files (http://ubuntuforums.org/showthread.php?t=669005)

    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

  2. #2
    Join Date
    Jan 2009
    Location
    Italy
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Ibase plugin problem under MacOs 10.4

    Solved!!!


    I've removed from Makefile.Debug and Makefile.Release all -arch ppc entry.

    There was -arch pcc and -arch i386 flag parameters.

Similar Threads

  1. problem loading custom plugin on Qt Designer 4
    By raman_31181 in forum Qt Tools
    Replies: 18
    Last Post: 26th September 2008, 09:42
  2. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 14:13
  3. plugin loading problem
    By naresh in forum Qt Programming
    Replies: 6
    Last Post: 9th June 2007, 19:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.