Open System Architect linux installation notes

An open source product similar to Powerdesign, Open System Architect.

Website: https://www.codebydesign.com/

Download the 64-bit installation package, unzip it, and report an error

./OpenSystemArchitect

./OpenSystemArchitect: error while loading shared libraries: libodbc.so.1: cannot open shared object file: No such file or directory 

According to the official website, we need to install unixodbc:

yaourt -S unixodbc

Find the required lib library: libodbc.so.1

sudo updatedb

locate libodbc.so

/usr/lib/libodbc.so
/usr/lib/libodbc.so.2
/usr/lib/libodbc.so.2.0.0

no.

Continue to view the official documentation of 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
        

It is clear that the version has been upgraded. It is recommended that we create a soft link libodbc.so.1 to point to the new version libodbc.so.2.

cd /usr/lib/ && sudo ln -s libodbc.so.2 libodbc.so.1 && sudo ln -s libodbcinst.so.2 libodbcinst.so.1

Then, continue to report the error

./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 

There is only libstdc++.so.6 version, we need libstdc++.so.5, install it:

sudo pacman -S libstdc++5

 

./OpenSystemArchitect

It worked!

 

by Si Wu, Feng Qing  https://my.oschina.net/langxSpirit

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325065713&siteId=291194637