一款类似Powerdesign的开源产品Open System Architect。
网站:https://www.codebydesign.com/
下载64位安装包解压执行,报错
./OpenSystemArchitect
./OpenSystemArchitect: error while loading shared libraries: libodbc.so.1: cannot open shared object file: No such file or directory
根据官网说明我们需要安装unixodbc:
yaourt -S unixodbc
查找需要的lib库:libodbc.so.1
sudo updatedb
locate libodbc.so
/usr/lib/libodbc.so
/usr/lib/libodbc.so.2
/usr/lib/libodbc.so.2.0.0
没有。
继续查看unixodbc的官方文档http://www.unixodbc.org/
2.3.1 Released
Mainly bug fixes.Major change is to change the library version number from 1 to 2 to signal
the SQLLEN change for 64 land. Should have been done for 2.3.0, but better late than never.
So if after installing you have apps that can't find libodbc.so, its likely they are
linked to libodbc.so.1, so just create a symlink from libodbc.so.2
很清楚,版本已经升级了,建议我们建立一个软链接libodbc.so.1指向新版本libodbc.so.2。
cd /usr/lib/ && sudo ln -s libodbc.so.2 libodbc.so.1 && sudo ln -s libodbcinst.so.2 libodbcinst.so.1
然后,继续报错
./OpenSystemArchitect: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
查找需要的lib库:libstdc++.so.5
locate libstdc++.so
/usr/lib/libstdc++.so
/usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.24
/usr/lib32/libstdc++.so
/usr/lib32/libstdc++.so.6
/usr/lib32/libstdc++.so.6.0.24
只有libstdc++.so.6版本,我们需要libstdc++.so.5,装呗:
sudo pacman -S libstdc++5
./OpenSystemArchitect
成功了!
by 斯武丶风晴 https://my.oschina.net/langxSpirit