<p>How the console tells, maybe this is not the correct place, also because you receive a <code>segmentation fault (core dumped)</code> during the make check.</p>
<blockquote>
<p>See ./test-suite.log
Please report to <a href="https://github.com/jonasschnelli/libbtc/issues" rel="nofollow noreferrer">https://github.com/jonasschnelli/libbtc/issues</a></p>
</blockquote>
<p>However, may you have installed the library in your system with the command <code>sudo make install</code>, this command puts the binaries of the library is a place where are all the libraries of the system?
Maybe you have only a failure in the check</p>
<p>But the last commit of this library is on Nov 4, 2018, and maybe this can be a signal of the motivation of your error.</p>
<p>I hope I clarify your idea</p>

CC BY-SA 4.0
2021-01-21T20:38:28.083Z
Thanks! It worked! I just used -lbtc!
Papaulo
CC BY-SA 4.0
2021-01-21T20:44:25.817Z
@Papaulo if you accept my edit on the question, we make the question more readble
vincenzopalazzo
CC BY-SA 4.0
2021-01-21T21:40:43.127Z
@vicenzopalazzo I accepted, and now it's better, thanks, but I've got another error: "error while loading shared libraries: libbtc.so.0: cannot open shared object file: No such file or directory" when running my program. I think I will make another question.
Papaulo
CC BY-SA 4.0
2021-01-21T21:56:06.387Z
I don't know if it is good open a new question, the problem is related to a failure of the install process
vincenzopalazzo
CC BY-SA 4.0
2021-01-21T22:01:33.597Z
This question is old, and it's another failure.
Papaulo
CC BY-SA 4.0
2021-01-21T22:20:03.547Z
@vincenzopallazo Oh, I solved this problem.
Papaulo
CC BY-SA 4.0
2021-01-21T20:03:57.400Z
2021-01-21T20:03:57.400Z
vincenzopalazzo
<p>I installed and compiled libbtc from <a href="https://github.com/libbtc/libbtc" rel="nofollow noreferrer">https://github.com/libbtc/libbtc</a>, but where are the binaries generated or how can I compile my C project with gcc using it?</p>
<p>My OS is Ubuntu 20.04.
I am running:</p>
<ul>
<li>./autogen.sh</li>
<li>./configure</li>
<li>make</li>
<li>sudo make install</li>
<li>sudo make check</li>
</ul>
<p>But when I run make check, it never ends.</p>
<pre><code>EDIT: make check resulted ./build-aux/test-driver, linha 107: 18325 Segmentation fault (core dumped) &quot;$@&quot; &gt; $log_file 2&gt;&amp;1
FAIL: tests
============================================================================
Testsuite summary for libbtc 0.1
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to https://github.com/jonasschnelli/libbtc/issues
============================================================================
</code></pre>

CC BY-SA 4.0
2021-01-21T09:19:58.863Z
this is a grait question, but we need to know the OS and the command that you are running, in other words, we need you know if you run make install, or you run only the make command. If you are using Cmake inside your app and you are not found the library that you installed, you need to require it. But it is another question for another forum.
vincenzopalazzo
CC BY-SA 4.0
2021-01-21T11:39:18.663Z
@vincenzopalazzo My OS is Ubuntu 20.04.
I am running:
./autogen.sh
./configure
make
sudo make install
sudo make check
But when I run make check, it never ends.
Papaulo
<library><c>
libbtc: Where are the binaries generated?
Papaulo
# libbtc: Where are the binaries generated?

(Asked by: username_0 on 2021-01-21)

I installed and compiled libbtc from <https://github.com/libbtc/libbtc>, but where are the binaries generated or how can I compile my C project with gcc using it?

My OS is Ubuntu 20.04.
I am running:

* ./autogen.sh
* ./configure
* make
* sudo make install
* sudo make check

But when I run make check, it never ends.

```
EDIT: make check resulted ./build-aux/test-driver, linha 107: 18325 Segmentation fault (core dumped) "$@" > $log_file 2>&1
FAIL: tests
============================================================================
Testsuite summary for libbtc 0.1
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to https://github.com/jonasschnelli/libbtc/issues
============================================================================

```

**Tags:** library, c

> **Comments:**
> **username_1**: this is a grait question, but we need to know the OS and the command that you are running, in other words, we need you know if you run make install, or you run only the make command. If you are using Cmake inside your app and you are not found the library that you installed, you need to require it. But it is another question for another forum.  
> **username_0**: @username_1 My OS is Ubuntu 20.04. I am running: ./autogen.sh ./configure make sudo make install sudo make check But when I run make check, it never ends.  

---

## 1 answers

### Answer by username_1 on 2021-01-21. Score: 0 | Accepted answer

How the console tells, maybe this is not the correct place, also because you receive a `segmentation fault (core dumped)` during the make check.

> See ./test-suite.log
> Please report to <https://github.com/jonasschnelli/libbtc/issues>

However, may you have installed the library in your system with the command `sudo make install`, this command puts the binaries of the library is a place where are all the libraries of the system?
Maybe you have only a failure in the check

But the last commit of this library is on Nov 4, 2018, and maybe this can be a signal of the motivation of your error.

I hope I clarify your idea

> **Comments:**
> **username_0**: Thanks! It worked! I just used -lbtc!  
> **username_1**: @username_0 if you accept my edit on the question, we make the question more readble  
> **username_0**: @vicenzopalazzo I accepted, and now it's better, thanks, but I've got another error: "error while loading shared libraries: libbtc.so.0: cannot open shared object file: No such file or directory" when running my program. I think I will make another question.  
> **username_1**: I don't know if it is good open a new question, the problem is related to a failure of the install process  
> **username_0**: This question is old, and it's another failure.  
> **username_0**: @vincenzopallazo Oh, I solved this problem.  

---

