Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while installing #26

Open
sirajkrm opened this issue Nov 9, 2016 · 4 comments
Open

error while installing #26

sirajkrm opened this issue Nov 9, 2016 · 4 comments

Comments

@sirajkrm
Copy link

sirajkrm commented Nov 9, 2016

i'm runing CentOS 7 on VMware
when i try to install the software it ends whit this error message :

[root@localhost istatd]# ./quickstart.sh
Adding symlink to python2 into PATH.
calling ./configure
Python 2.7.5
Python 2.7.5
Found curl in path.
Found zlib-flate in path.
checking for libstatgrab interface version
found libstatgrab 0.17 interface
All done
calling make -j4
g++ -pipe -O2 -g -I. -Iinclude -MMD -D_LARGEFILE64_SOURCE -Wall -Werror -c -o obj/tool/istatd_transplant.o tool/istatd_transplant.cpp
g++ -pipe -O2 -g -I. -Iinclude -MMD -D_LARGEFILE64_SOURCE -Wall -Werror -c -o obj/daemon/main.o daemon/main.cpp
bin/test_StatCounter
bin/test_StatCounter: error while loading shared libraries: libstatgrab.so.6: cannot open shared object file: No such file or directory
make: *** [run_bin/test_StatCounter] Error 127
make: *** Waiting for unfinished jobs....

any idea would be appreciated. thank's

@jwatte
Copy link
Contributor

jwatte commented Nov 9, 2016

It looks like the executable cannot find the libstatgrab shared library.
Did you correctly install that library when you installed the dependencies?
Have you run /etc/ldconfig as root?

Sincerely,

Jon Watte

"I find that the harder I work, the more luck I seem to have." -- Thomas
Jefferson

On Wed, Nov 9, 2016 at 5:26 AM, sirajkrm [email protected] wrote:

i'm runing CentOS 7 on VMware
when i try to install the software it ends whit this error message :

[root@localhost istatd]# ./quickstart.sh
Adding symlink to python2 into PATH.
calling ./configure
Python 2.7.5
Python 2.7.5
Found curl in path.
Found zlib-flate in path.
checking for libstatgrab interface version
found libstatgrab 0.17 interface
All done
calling make -j4
g++ -pipe -O2 -g -I. -Iinclude -MMD -D_LARGEFILE64_SOURCE -Wall -Werror -c
-o obj/tool/istatd_transplant.o tool/istatd_transplant.cpp
g++ -pipe -O2 -g -I. -Iinclude -MMD -D_LARGEFILE64_SOURCE -Wall -Werror -c
-o obj/daemon/main.o daemon/main.cpp
bin/test_StatCounter
bin/test_StatCounter: error while loading shared libraries:
libstatgrab.so.6: cannot open shared object file: No such file or directory
make: *** [run_bin/test_StatCounter] Error 127
make: *** Waiting for unfinished jobs....

any idea would be appreciated. thank's


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#26, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAdadbYuw_Uij10Bneqv5BbvuxYLU2Hmks5q8coXgaJpZM4Kth6R
.

@sirajkrm
Copy link
Author

i didn't find a repository for CentOS 7
i only found for CentOS 5 & 6
but i have already downloaded libstatgrab shared library from github
accessed the folder and run the usual commands as root
./configure && make && make install

i go back to reinstall the software
that error message appears.

@sirajkrm
Copy link
Author

by the way...
here's an indication that libstatgrab is found :
checking for libstatgrab interface version
found libstatgrab 0.17 interface

@jwatte
Copy link
Contributor

jwatte commented Nov 10, 2016

Yes, that message shows that libstatgrab is found during compliation.
The failure during test is that libstatgrab is not found during execution.
You can fix this with LD_LOAD_PATH or by adding the install location of
libstatgrab.so to your ldconfig scripts and re-running ldconfig.
(This is probably because of install locations for shared libraries may
have changed for CentOS.)

Sincerely,

Jon Watte

"I find that the harder I work, the more luck I seem to have." -- Thomas
Jefferson

On Thu, Nov 10, 2016 at 1:20 AM, sirajkrm [email protected] wrote:

by the way...
here's an indication that libstatgrab is found :

checking for libstatgrab interface version found libstatgrab 0.17
interface


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#26 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAdadfYbqjdUPi0oxpcPrGFcHTXSwgHEks5q8uHbgaJpZM4Kth6R
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants