Results 1 to 2 of 2
  1. #1
    sridaran is offline Member
    Join Date
    Dec 2010
    Rep Power

    Default Java Sqlite Connection in Linux

    I am getting the following connection error between Java and Sqlite in Redhat Linux OS:

    Unable to load sqlite: java.lang.UnsatisfiedLinkError: /usr/local/lib/ /lib/i686/nosegneg/ version `GLIBC_2.7' not found (required by /usr/local/lib/
    java.sql.SQLException: java.lang.UnsatisfiedLinkError: open
    at SQLite.JDBCDriver.connect(
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    at java.sql.DriverManager.getConnection(DriverManager .java:193)
    at com.attract.imail3.datamodel.sqlite.listmngr.ListD atabase.createNewListDatabase( 4)
    at com.attract.imail3.datamodel.sqlite.listmngr.ListD atabase.serviceCREATELIST(
    at com.attract.imail3.IMT3Server.serviceDirect(IMT3Se
    at com.attract.util.jnetdaemon.JDaemonController.main (

    I am using:
    Sqlite version 3.7.4
    Java Version 1.5.0_22
    sqlite_jni linux x86 (32bit) v1.tar.bz2

    I set path in bash-profile file like:
    export PATH

    How to solve this error?


  2. #2
    codesmuggler is offline Member
    Join Date
    Feb 2011
    Rep Power


    Well, as you see version `GLIBC_2.7' not found you have to:
    install (standard C library)
    if you have it already installed - link to it where is needed: /lib/i686/nosegneg/ .

    If you were using Ubuntu - just type in console: "sudo apt-get install libc6".

Similar Threads

  1. Java Sqlite Driver Installation
    By sridaran in forum JDBC
    Replies: 0
    Last Post: 01-04-2011, 08:02 AM
  2. Java Sqlite Connection Problem
    By sridaran in forum JDBC
    Replies: 1
    Last Post: 12-30-2010, 07:53 PM
  3. SQLite Connection with java
    By avirit1983 in forum NetBeans
    Replies: 2
    Last Post: 12-15-2010, 01:12 PM
  4. Trying to get JAVA to work with SQLite
    By mark8569 in forum JDBC
    Replies: 3
    Last Post: 04-25-2009, 01:42 AM
  5. JAVA and SQLite
    By mark8569 in forum Advanced Java
    Replies: 0
    Last Post: 03-20-2008, 07:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts