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

installation fault #114

Open
flapa86 opened this issue Nov 17, 2020 · 4 comments
Open

installation fault #114

flapa86 opened this issue Nov 17, 2020 · 4 comments

Comments

@flapa86
Copy link

flapa86 commented Nov 17, 2020

Hi, I have this error

fatal: Not a git repository (or any of the parent directories): .git
make -C /opt/install-bin/rvtests-master/src release
fatal: Not a git repository (or any of the parent directories): .git
.....

/bin/ld: cannot find -lpthread
/bin/ld: cannot find -lstdc++
/bin/ld: cannot find -lm
/bin/ld: cannot find -lpthread
/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
make[1]: *** [/opt/install-bin/rvtests-master/executable/rvtest] Error 1
make[1]: Leaving directory `/opt/install-bin/rvtests-master/src'
make: *** [release] Error 2

@zhanxw
Copy link
Owner

zhanxw commented Nov 17, 2020 via email

@flapa86
Copy link
Author

flapa86 commented Nov 17, 2020

Linux 3.10.0-1062.9.1.el7.x86_64 (RedHat system)

@longqh3
Copy link

longqh3 commented Nov 30, 2020

@flapa86
Hi, I also encountered this issue which can be solved via install/upgrade required packages.
Try yum install glibc-static to solve "-lm", "-lc" missing and yum install libstdc++-static to solve "-lstdc++" missing. After installation, the "-lpthread" missing was solved naturally.

Ref:
cannot find -lc and -lm in g++ linux
Matlab Kalman /usr/bin/ld: cannot find -lstdc++.

@longqh3
Copy link

longqh3 commented Nov 30, 2020

@zhanxw
After solving the dependency issue, I also encountered an "internal" error which required your help. The error log was listed behind.

fatal: Not a git repository (or any parent up to mount point /sdb1)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
make -C /sdb1/tools/lqh/rvtests-master/src release
fatal: Not a git repository (or any parent up to mount point /sdb1)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
make[1]: Entering directory `/sdb1/tools/lqh/rvtests-master/src'
make[1]: Nothing to be done for `release'.
make[1]: Leaving directory `/sdb1/tools/lqh/rvtests-master/src'
make -C /sdb1/tools/lqh/rvtests-master/vcfUtils release
fatal: Not a git repository (or any parent up to mount point /sdb1)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
make[1]: Entering directory `/sdb1/tools/lqh/rvtests-master/vcfUtils'
make[1]: *** No rule to make target `createBCF2Index.cpp', needed by `../executable/createBCF2Index'.  Stop.
make[1]: Leaving directory `/sdb1/tools/lqh/rvtests-master/vcfUtils'
make: *** [release] Error 2

I used your latest source codes (directly downloaded from github main-page) to conduct make process. Any help would be appreciated.

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

3 participants