i-nex / I-Nex

System information tool written in gambas3, python, bash
http://i-nex.linux.pl/
174 stars 24 forks source link

"/usr/bin/i-nex.gambas --library" returns blank on x86_64 arch #11

Closed alphastar868 closed 8 years ago

alphastar868 commented 8 years ago

On CentOS 7 x86_64 the command "/usr/bin/i-nex.gambas --library" returns a blank screen.

Looking at the code in /I-Nex/i-nex/.src/FSystemInfo.class, it appears that at line 190 only /lib/ and /usr/lib/ are checked for the libraries listed on lines 169 to 186.

Including /lib64/ and /usr/lib64/ on line 190 of SystemInfo.class should resolve this issue.

alphastar868 commented 8 years ago

Confirmed that this fix works by editing /I-Nex/i-nex/.src/FSystemInfo.class:

For Each sDir In ["/lib", "/usr/lib", "/lib64", "/usr/lib64"]

09272015150610215

alphastar868 commented 8 years ago

This issue is fixed for CentOS in https://github.com/eloaders/I-Nex/commit/5813d16340787a2287513f65755b3caa9599ef86