ImportError: /lib/libgdal.so.26: undefined symbol: sqlite3_column_table_name

简介: ImportError: /lib/libgdal.so.26: undefined symbol: sqlite3_column_table_name

此报错信息主要是sqlite3_column_table_name

因为安装sqlite3的时候没有把sqlite3_column_table_name相关函数编译进来

如果使用ubnutu上的apt软件包安装的默认是没有编译这个func的

  1. 下载 对应压缩包 sqlite-autoconf-3350400.tar.gz

注意不要下载amalgamation版本的这个是源代码不包含makefile

  1. 解压
tar -xvf sqlite-autoconf-3350400.tar.gz
cd sqlite-autoconf-3350400
  1. 编辑
vim sqlite3.c
#define SQLITE_CORE 1
#define SQLITE_AMALGAMATION 1
#ifndef SQLITE_PRIVATE
# define SQLITE_PRIVATE static
#endif
//新增
#define SQLITE_ENABLE_COLUMN_METADATA 1   


相关文章
|
9月前
|
Ubuntu 计算机视觉 Python
已解决 ImportError:/opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so:undefined symbol:PyCobject Type。
已解决 ImportError:/opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so:undefined symbol:PyCobject Type。
145 0
已解决 ImportError:/opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so:undefined symbol:PyCobject Type。
解决办法:undefined reference to symbol 'shm_open@@GLIBC_2.2.5'
解决办法:undefined reference to symbol 'shm_open@@GLIBC_2.2.5'
248 0
curl: symbol lookup error: curl: undefined symbol: curl_mime_free
curl: symbol lookup error: curl: undefined symbol: curl_mime_free
224 0
|
9月前
|
并行计算 Ubuntu PyTorch
ImportError:..mmcv/_ext.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZNK2at6Tensor6deviceEv解决
ImportError:..mmcv/_ext.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZNK2at6Tensor6deviceEv解决
781 0
symbol lookup error: /home/quantum6/build_libs/lib/libreadline.so.7: undefined symbol: UP
symbol lookup error: /home/quantum6/build_libs/lib/libreadline.so.7: undefined symbol: UP
100 0
解决办法:look up error: undefined symbol
解决办法:look up error: undefined symbol
251 0
解决办法:undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
解决办法:undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
567 0
解决办法:undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
解决办法:undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
218 0
关于"symbol lookup error xxxxx , undefined symbol"问题的解决方式
​ 今天在测试基于netlib实现的数据包处理模块时,突然提示symbollookup error gxio_mpipe_init , undefined symbol问题。通过查阅资料对于该问题大部分的问题原因都是动态库的版本过旧,导致应用程序找不到对应的符号而引起的。
773 0
解决办法:undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
解决办法:undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
1384 0

热门文章

最新文章