Hi again,
        
        I don't have any problem with libdbi-0.8.2 and libbdi-drivers-0.8.2.1, 
the 
problem seems to be only with libdbi-0.8.3 and libbdi-drivers-0.8.3

regards,
Sébastien

> Hi,
> 
>       i'm using libdbi-0.8.3, i have compiled the lib with the sqlite3 driver 
like 
> that :
> ./configure --with-dbi-incdir=/usr/local/include/dbi/ --with-sqlite3 
> --with-sqlite3-incdir=/usr/include --with-sqlite3-libdir=/usr/lib 
> --disable-docs --with-gnu-ld
> 
> i've made this little sample program :
> 
> <code>
> #include <iostream>
> #include <dbi/dbi.h>
> 
> using namespace std;
> int main()
> {
>     dbi_conn conn;
>     dbi_result result;
>     dbi_initialize(NULL);
>     conn = dbi_conn_new("sqlite3");
>     dbi_conn_set_option(conn, "sqlite3_dbdir" , "/srv/sqlite/");
>     dbi_conn_set_option(conn, "dbname"                  , test.db");
> 
>     if (dbi_conn_connect(conn) < 0)
>     {
>       cout << "ko" << endl;
>     }
>     else
>     {
>       cout << "ok" << endl;
>         dbi_conn_close(conn);
>     }
>     dbi_shutdown();
>     return 1;
> }
> </code>
> 
> ~# g++ -lm -ldl -ldbi -o test_dbi test_dbi.cpp
> ~# ./test_dbi
> /usr/local/lib/dbd/libdbdsqlite3.so: undefined symbol: 
> _dbi_internal_error_handler
> libdbi: Failed to load driver: /usr/local/lib/dbd/libdbdsqlite3.so
> 
>       i've tried that on a linux opensuse 10.0 and on a slackware 10.2, and 
> i've 
> the same problem... anyone can help me?
> 
> Regards,
> Sébastien RAFFALLI
> _____________________________________________________________
> 
>  Mail: [EMAIL PROTECTED]
>  Tel: 08 25 08 08 18
>  Fax: (+33)468686976
>  Navista SA 567, Rue Félix Trombe 66100 Perpignan
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> libdbi-users mailing list
> libdbi-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libdbi-users
>
-- 
------------------------------------
Sebastien RAFFALLI
Pôle technique
------------------------------------
NAVISTA s.a.
567, rue Félix Trombe
66100 Perpignan France

Tel : +33 (0)4 68 68 69 75
Fax : +33 (0)4 68 68 69 76
------------------------------------
www.navista.fr
------------------------------------

Ce message et les pièces jointes sont confidentiels et établis à l'intention 
exclusive de ses destinataires. Si vous recevez ce message par erreur merci 
de le détruire. La société NAVISTA décline toute responsabilité au titre de 
ce message s'il a été modifié, altéré, déformé ou falsifié. Nous vous 
recommandons de prendre les mesures permettant d'assurer la non-introduction 
de virus dans votre système informatique. 

This email message and attachments are confidential and intended only for the 
recipient(s) indicated.  If you are not an intended recipient, please delete 
it. We recommend that you take your own measures to prevent viruses from 
entering your computer system.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users

Reply via email to