如何修复 Linux 上的 unixODBC "Can't open lib 'postgresql': file not found"
问题:
当你尝试使用 ODBC 应用程序(如 KiCAD 数据库库连接)连接到 PostgreSQL 数据库时,你看到以下错误消息:
unixodbc_error_output.txt
[unixODBC][Driver Manager]Can't open lib 'postgresql' : file not found
解决方案
首先,安装 ODBC PostgreSQL 驱动程序适配器:
install_odbc_postgresql.sh
sudo apt -y install odbc-postgresql使用该驱动程序,你通常会使用类似这样的驱动程序设置
odbc_driver_setting.ini
Driver={PostgreSQL Unicode}If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow