Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problem using QTDS driver on Android "cannot locate symbol "stpcpy""
Forum Updated to NodeBB v4.3 + New Features

Problem using QTDS driver on Android "cannot locate symbol "stpcpy""

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
sqldatabaseandroidndkqtcreator
1 Posts 1 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Antonio Ortiz
    wrote on 28 Nov 2015, 02:54 last edited by
    #1

    Hi everyone in the forum, I'm writing because i'm trying to use de QTDS driver to access a sybase database from an android devices. Reading the Qt5 Documentation I found instructions of how to build the qtds plugin, so I download the freetds library and compile it with the android NDK and copy the .so files to my project under the android/libs/armeabi-v7/freetds/lib/ directory. Also I compile the pluging for android using these .so an copy the libqsqltds.so file to the QtDir/5.5/android_armv7/plugins/sqldrivers/.

    Later in the QtCreator project tag I add the library to the Build Apk Android / Additional Libraries and set the Android Build SDK to android-19.

    Now when I build the project the freetds library is in the project build directory android-build/libs/armeabi-v7a/freetds/lib/.

    But when I run the app in the phone this error occurs:

    dlopen("/data/app-lib/com.app.app-1/libsybdb.so") failed: dlopen failed: cannot locate symbol "stpcpy" referenced by "libsybdb.so"...
    
    Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "stpcpy" referenced by "libsybdb.so"...
    

    I don't know how to include stpcpy in the project. I read on the internet that using the android SDK 19 will fix it, but it is not working.

    someone know a way to solve this?

    Thanks

    1 Reply Last reply
    0

    1/1

    28 Nov 2015, 02:54

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved