Post
Topic
Board Announcements (Altcoins)
Re: [ANN][XCP] Counterparty Protocol, Client and Coin (built on Bitcoin) - Official
by
xnova
on 14/03/2014, 17:34:11 UTC
Trying to get Counterpary running on Desktop Ubuntu 12.04 LTS (64-bit) but seem unable to do so. Building updating, bitcoin reindexing all went fine, tutorials are all quite clear. I am now running counterparty v6.6 and bitcoind v0.8.6.0-g03a7d67-beta

But I get an error message when I try to run the counterparty server:
# counterpartyd server
Status: RESTART
Unhandled exception in thread started by
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted (core dumped)

I have installed the IA32-libs and there are 2 editions for libgcc_s.so.1:
$ find /lib -name 'libgcc*'
/lib/i386-linux-gnu/libgcc_s.so.1
/lib/x86_64-linux-gnu/libgcc_s.so.1

But I still keep getting this error.
Any tips?

No one to offer any hints on how to solve this?

I have the hunch that the box has a non-standard version of Python on it. If you are on Ubuntu 64-bit, you shouldn't need ia32-libs I believe for anything with Counterparty... actually, from googling that error, it appears that you're probably trying to run counterparty with the 32-bit Python or something similar.... the virtualenv install script probably found a 32-bit Python and used that instead of the 64-bit version, I'm guessing.

To confirm, you could try commands like:
Code:
which python3
ldd `which python3`
python3 -c "import platform;print(platform.architecture())"

The last line should return "('64bit', 'ELF')". (Or, just start up the Python interpreter and see if it mentions 32-bit or 64-bit)... and actually I'd perform the same checks on the python binary over at counterpartyd_build/env/bin/python3 on your box (where ever you installed counterpartyd_build).

The options would be to either remove all that 32-bit compatibility stuff, or work on a fresh Ubuntu install (13.10 x64 is optimal here).