Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Execute the file in minicom(SBC)

  1. #1
    Join Date
    Mar 2013
    Beans
    45

    Execute the file in minicom(SBC)

    I'had find some problem when execute the file.As shown below:

    error while loading shared libraries: libsqlite3.so.0: cannot open shared object file: No such file or directory

    How can I fix the problem?
    Any help?
    Thanks

  2. #2
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Execute the file in minicom(SBC)

    You'll need to:

    Code:
    sudo apt-get install libsqlite0

  3. #3
    Join Date
    Mar 2013
    Beans
    45

    Re: Execute the file in minicom(SBC)

    Quote Originally Posted by MG&TL View Post
    You'll need to:

    Code:
    sudo apt-get install libsqlite0
    Hi,thanks for your reply.
    I found the file under /usr/lib...

    what can I do to solve the problem?

  4. #4
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Execute the file in minicom(SBC)

    Quote Originally Posted by Newbie89 View Post
    Hi,thanks for your reply.
    I found the file under /usr/lib...

    what can I do to solve the problem?
    So you've definitely installed sqlite? Okay, what's the output of

    Code:
    ldconfig -v | grep sqlite
    ?

  5. #5
    Join Date
    Mar 2013
    Beans
    45

    Re: Execute the file in minicom(SBC)

    Quote Originally Posted by MG&TL View Post
    So you've definitely installed sqlite? Okay, what's the output of

    Code:
    ldconfig -v | grep sqlite
    ?
    ya

    hong@ubuntu:~$ ldconfig -v | grep sqlite
    /sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
    /sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
    /sbin/ldconfig.real: Cannot stat /usr/lib/x86_64-linux-gnu/libnss_db.so: No such file or directory
    libsqlite3.so.0 -> libsqlite3.so.0.8.6
    libsqlite.so.0 -> libsqlite.so.0.8.6
    /sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
    hong@ubuntu:~$

  6. #6
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Execute the file in minicom(SBC)

    How odd. I'm sorry, I have no clue. Could you have inadvertently modified the sqlite library by accident? To the best of my knowledge, if a shared library shows up in the ldconfig cache (and it does), then the application should run.

  7. #7
    Join Date
    Mar 2013
    Beans
    45

    Re: Execute the file in minicom(SBC)

    Quote Originally Posted by MG&TL View Post
    How odd. I'm sorry, I have no clue. Could you have inadvertently modified the sqlite library by accident? To the best of my knowledge, if a shared library shows up in the ldconfig cache (and it does), then the application should run.
    sorry for my mistake...I think u think mine is work on the normal terminal...my terminal works fine...Now my problem is to compile sqlite3 in kernel environment(bash-2.05a#).
    I found that libsqlite3.so.0 is inside /usr/local/lib...but it show the problem:

    error while loading shared libraries: libsqlite3.so.0: cannot open shared

  8. #8
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Execute the file in minicom(SBC)

    Quote Originally Posted by Newbie89 View Post
    sorry for my mistake...I think u think mine is work on the normal terminal...my terminal works fine...Now my problem is to compile sqlite3 in kernel environment(bash-2.05a#).
    I found that libsqlite3.so.0 is inside /usr/local/lib...but it show the problem:

    error while loading shared libraries: libsqlite3.so.0: cannot open shared
    So...you're in a chroot or something?

  9. #9
    Join Date
    Mar 2013
    Beans
    45

    Re: Execute the file in minicom(SBC)

    Quote Originally Posted by MG&TL View Post
    So...you're in a chroot or something?
    yaya...i'm in the chroot...any idea?I found that the lib of sqlite3 is on usr/local/lib...when I execute,It say not found...is it need to make the lib in usr/lib/ or what?

  10. #10
    Join Date
    Mar 2013
    Beans
    45

    Re: Execute the file in minicom(SBC)

    yeah...I finally solve the problem...I found that the lib of sqlite3 is on usr/local/lib...so I just copy the lib of sqlite3 into the usr/lib...
    My I know why the usr/lib is the main but not the usr/local/lib?

Page 1 of 2 12 LastLast

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
  •