Bitcoin Forum
May 03, 2024, 09:13:06 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Fixed] Bitcoin (any version) on debian 5.0 (lenny) problem  (Read 820 times)
BTCrow (OP)
Sr. Member
****
Offline Offline

Activity: 243
Merit: 250

BTCrow.com


View Profile WWW
October 16, 2011, 06:26:45 PM
Last edit: October 17, 2011, 12:23:42 AM by BTCrow
 #1

Hi, I'm trying to install bitcoin on a debian 5.0 machine (x64).

I tested about everything:

- Tested binary
error:
./bitcoind: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ./bitcoind)
./bitcoind: /lib/libc.so.6: version `GLIBC_2.11' not found (required by ./bitcoind)

-Tested compiling

make -f makefile.unix bitcoind
g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -DUSE_UPNP=0 -o obj/nogui/util.o util.cpp
In file included from headers.h:74,
                 from util.cpp:4:
/usr/include/boost/interprocess/sync/file_lock.hpp:166: error: ‘bool boost::interprocess::file_lock::timed_acquire_file_lock(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’ cannot be overloaded
/usr/include/boost/interprocess/sync/file_lock.hpp:110: error: with ‘bool boost::interprocess::file_lock::timed_acquire_file_lock(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’
/usr/include/boost/interprocess/sync/file_lock.hpp:194: error: ‘bool boost::interprocess::file_lock::timed_acquire_file_lock_sharable(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’ cannot be overloaded
/usr/include/boost/interprocess/sync/file_lock.hpp:138: error: with ‘bool boost::interprocess::file_lock::timed_acquire_file_lock_sharable(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’
/usr/include/boost/interprocess/sync/file_lock.hpp: In member function ‘bool boost::interprocess::file_lock::timed_acquire_file_lock(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’:
/usr/include/boost/interprocess/sync/file_lock.hpp:119: error: ‘try_acquire_file_lock’ was not declared in this scope
/usr/include/boost/interprocess/sync/file_lock.hpp:132: error: ‘winapi’ has not been declared
/usr/include/boost/interprocess/sync/file_lock.hpp: In member function ‘bool boost::interprocess::file_lock::timed_acquire_file_lock_sharable(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’:
/usr/include/boost/interprocess/sync/file_lock.hpp:147: error: ‘try_acquire_file_lock_sharable’ was not declared in this scope
/usr/include/boost/interprocess/sync/file_lock.hpp:160: error: ‘winapi’ has not been declared
/usr/include/boost/interprocess/sync/file_lock.hpp: In member function ‘bool boost::interprocess::file_lock::timed_acquire_file_lock(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’:
/usr/include/boost/interprocess/sync/file_lock.hpp:175: error: ‘try_acquire_file_lock’ was not declared in this scope
/usr/include/boost/interprocess/sync/file_lock.hpp: In member function ‘bool boost::interprocess::file_lock::timed_acquire_file_lock_sharable(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’:
/usr/include/boost/interprocess/sync/file_lock.hpp:203: error: ‘try_acquire_file_lock_sharable’ was not declared in this scope
/usr/include/boost/interprocess/sync/file_lock.hpp: In member function ‘bool boost::interprocess::file_lock::timed_lock(const boost::posix_time::ptime&)’:
/usr/include/boost/interprocess/sync/file_lock.hpp:262: error: ‘timed_acquire_file_lock’ is not a member of ‘boost::interprocess::detail’
/usr/include/boost/interprocess/sync/file_lock.hpp: In member function ‘bool boost::interprocess::file_lock::timed_lock_sharable(const boost::posix_time::ptime&)’:
/usr/include/boost/interprocess/sync/file_lock.hpp:298: error: ‘timed_acquire_file_lock_sharable’ is not a member of ‘boost::interprocess::detail’
make: *** [obj/nogui/util.o] Error 1

- Tested backport lenny in sources.list

error: can't install required package

I'm in the process of compiling manually boost library to see if it will work but I'm not sure of the results.

Is there's something I miss or this is impossible to install bitcoin on a debian 5.0 / AMD x64 ?

Thanks

1714770786
Hero Member
*
Offline Offline

Posts: 1714770786

View Profile Personal Message (Offline)

Ignore
1714770786
Reply with quote  #2

1714770786
Report to moderator
1714770786
Hero Member
*
Offline Offline

Posts: 1714770786

View Profile Personal Message (Offline)

Ignore
1714770786
Reply with quote  #2

1714770786
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
BTCrow (OP)
Sr. Member
****
Offline Offline

Activity: 243
Merit: 250

BTCrow.com


View Profile WWW
October 17, 2011, 12:23:27 AM
 #2

Found a way to install it for people who are interrested.

First I upgraded to debian 6.0 (squeeze)

Replacing the "lenny" in /etc/apt/sources.list by "squeeze"

running:
# apt-get update
# apt-get install apt dpkg aptitude
# apt-get dist-upgrade

rebooting

then I added squeeze backport to my sources.list

Code:
 deb http://backports.debian.org/debian-backports squeeze-backports main contrib
 deb-src http://backports.debian.org/debian-backports squeeze-backports main contrib

then ran the good old apt-get update;apt-get install bitcoind

and voila.

Now have a debian 6.0 of course but running the bitcoin daemon at least.


Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!