From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1S0cWw-0007ye-Ci for bitcoin-development@lists.sourceforge.net; Thu, 23 Feb 2012 17:32:34 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.212.47 as permitted sender) client-ip=209.85.212.47; envelope-from=thiagocmartinsc@gmail.com; helo=mail-vw0-f47.google.com; Received: from mail-vw0-f47.google.com ([209.85.212.47]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1S0cWr-0004Hw-RK for bitcoin-development@lists.sourceforge.net; Thu, 23 Feb 2012 17:32:34 +0000 Received: by vbbff1 with SMTP id ff1so1484999vbb.34 for ; Thu, 23 Feb 2012 09:32:24 -0800 (PST) Received-SPF: pass (google.com: domain of thiagocmartinsc@gmail.com designates 10.220.209.200 as permitted sender) client-ip=10.220.209.200; Authentication-Results: mr.google.com; spf=pass (google.com: domain of thiagocmartinsc@gmail.com designates 10.220.209.200 as permitted sender) smtp.mail=thiagocmartinsc@gmail.com; dkim=pass header.i=thiagocmartinsc@gmail.com Received: from mr.google.com ([10.220.209.200]) by 10.220.209.200 with SMTP id gh8mr1581874vcb.55.1330018344500 (num_hops = 1); Thu, 23 Feb 2012 09:32:24 -0800 (PST) Received: by 10.220.209.200 with SMTP id gh8mr1318917vcb.55.1330018344421; Thu, 23 Feb 2012 09:32:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.117.16 with HTTP; Thu, 23 Feb 2012 09:31:53 -0800 (PST) In-Reply-To: References: From: =?ISO-2022-JP?B?TWFydGlueCAtIBskQiU4JSchPCVgJTobKEI=?= Date: Thu, 23 Feb 2012 15:31:53 -0200 Message-ID: To: =?ISO-8859-1?Q?Michael_Gr=F8nager?= Content-Type: multipart/alternative; boundary=bcaec54ee616f6c7c604b9a50659 X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (thiagocmartinsc[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1S0cWr-0004Hw-RK Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Announcement: libcoin X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 17:32:34 -0000 --bcaec54ee616f6c7c604b9a50659 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Michael! Thank you for libcoin! It is a awesome evolution for Bitcoin and for the CryptoCurrencies as a hole... Thanks!!! Anyway, I am unable to compile libcoin under my Ubuntu 11.04. At this machine, I have compiled and running Bitcoin (from sources), Namecoin, Devcoin, Litecoin, IXcoin and I0coin, all from sources but, when I try to compile libcoin, I got: ---- user@desk:~/libcoin$ ./configure -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so - foun= d -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/i386-linux-gnu/libX11.so -- Boost version: 1.42.0 -- Found the following Boost libraries: -- date_time -- regex -- filesystem -- system -- program_options -- thread -- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.7.2 (using /usr/bin/qmake) -- Found wxWidgets: TRUE The build system is configured to install libraries to /usr/local/lib Your applications may not be able to find your installed libraries unless you: set your LD_LIBRARY_PATH (user specific) or update your ld.so configuration (system wide) You have an ld.so.conf.d directory on your system, so if you wish to ensure that applications find the installed libcoin libraries, system wide, you could install an libcoin specific ld.so configuration with: sudo make install_ld_conf -- Configuring done -- Generating done -- Build files have been written to: /home/user/libcoin ---- Now I tried make, without success: ---- ..... Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0xf): undefined reference to `BN_init' Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0x1e): undefined reference to `BN_copy' Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0x38): undefined reference to `BN_set_negative' Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0x4f): undefined reference to `BN_clear_free' Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0xd3): undefined reference to `BN_clear_free' ../../lib/libcoin.a(Script.o): In function `operator<<(CBigNum const&, unsigned int)': Script.cpp:(.text._ZlsRK7CBigNumj[operator<<(CBigNum const&, unsigned int)]+0x16): undefined reference to `BN_init' Script.cpp:(.text._ZlsRK7CBigNumj[operator<<(CBigNum const&, unsigned int)]+0x2c): undefined reference to `BN_lshift' Script.cpp:(.text._ZlsRK7CBigNumj[operator<<(CBigNum const&, unsigned int)]+0xad): undefined reference to `BN_clear_free' ../../lib/libcoin.a(Script.o): In function `operator>>(CBigNum const&, unsigned int)': Script.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&, unsigned int)]+0xf): undefined reference to `BN_init' Script.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&, unsigned int)]+0x1e): undefined reference to `BN_copy' Script.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&, unsigned int)]+0x47): undefined reference to `BN_clear_free' Script.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&, unsigned int)]+0xcb): undefined reference to `BN_clear_free' ../../lib/libcoin.a(Script.o): In function `operator!=3D(CBigNum const&, CBigNum const&)': Script.cpp:(.text._ZneRK7CBigNumS1_[operator!=3D(CBigNum const&, CBigNum const&)]+0x14): undefined reference to `BN_cmp' ../../lib/libcoin.a(Script.o): In function `operator>(CBigNum const&, CBigNum const&)': Script.cpp:(.text._ZgtRK7CBigNumS1_[operator>(CBigNum const&, CBigNum const&)]+0x14): undefined reference to `BN_cmp' ../../lib/libcoin.a(Script.o): In function `uint256 Hash<__gnu_cxx::__normal_iterator > > >(__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > >)': Script.cpp:(.text._Z4HashIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhE= EEEE7uint256T_S8_[uint256 Hash<__gnu_cxx::__normal_iterator > > >(__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > >)]+0x6d): undefined reference to `SHA256' Script.cpp:(.text._Z4HashIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhE= EEEE7uint256T_S8_[uint256 Hash<__gnu_cxx::__normal_iterator > > >(__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > >)]+0xb8): undefined reference to `SHA256' collect2: ld returned 1 exit status make[2]: *** [bin/bitcoind] Error 1 make[1]: *** [applications/bitcoind/CMakeFiles/app_bitcoind.dir/all] Error = 2 make: *** [all] Error 2 ----- What can I do?! Best, Thiago On 1 February 2012 12:18, Michael Gr=F8nager wrote: > Dear Bitcoiners, > > libcoin is now in a state ready for its first release, which I would like > to share with you! > > =3D=3D=3D libcoin is a crypto currency library based on the bitcoin/bitco= in > "Satoshi" client. =3D=3D=3D > > Copenhagen, Denmark - 1st February 2012 Ceptacle announces the release of > the first version of the crypto currency library "libcoin" based on the > bitcoin/bitcoin "Satoshi" client. > > libcoin also maintains a version of bitcoind that is a 100% compatible > drop-in replacement of the bitcoin/bitcoind client: You can use it on the > same computer on the same files and you can call it with the same scripts= . > And you can easily extend it without touching the basic bitcoin source > files. > > The libcoin/bitcoind client downloads the entire block chain 3.5 times > faster than the bitcoin/bitcoind client. This is less than 90 minutes on = a > modern laptop! > > In libcoin, the Satoshi client code has been completely refactored, > properly encapsulating classes, removing all globals, moving from threads > and mutexes to a pure asynchronous approach. Functionalities have been > divided into logical units and libraries, minimizing dependencies for e.g= . > thin clients. > > libcoin is chain agnostic, all chain (bitcoin, testnet, namecoin, > litecoin, ...) specific settings are maintained from a single class (Chai= n) > and hence experiments with chain settings, mining, security and digital > currencies for research and educational purposes are easily accessible. S= ee > the ponzicoin example for how you define your own chain. > > The build system of libcoin is based on CMake and supports builds of > static and dynamic libraries on Linux, Mac OS X, and Windows. > > The libcoin license is LGPL v. 3. This mean that you can use it in open > source as well as in commercial projects, but improvements should go back > into the libcoin library. > > =3D=3D=3D=3D=3D=3D > > Read more on libcoin on: http://github.com/ceptacle/libcoin/wiki > > Join libcoin on twitter: http://twitter.com/libcoin > > Download "libcoin Satoshi release": > http://github.com/ceptacle/libcoin/zipball/v0.4.0.1 > > Best regards, > > Michael Gronager, PhD > Director, Ceptacle > Jens Juels Gade 33 > 2100 Copenhagen E > Mobile: +45 31 45 14 01 > E-mail: gronager@ceptacle.com > Web: http://www.ceptacle.com/ > > > > -------------------------------------------------------------------------= ----- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > --bcaec54ee616f6c7c604b9a50659 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Michael!

=A0Thank you for libcoin! It is a awesome ev= olution for Bitcoin and for the CryptoCurrencies as a hole... Thanks!!!

=A0Anyway, I am unable to compile libcoin under my Ub= untu 11.04. At this machine, I have compiled and running Bitcoin (from sour= ces), Namecoin, Devcoin, Litecoin, IXcoin and I0coin, all from sources but,= when I try to compile libcoin, I got:

----
user@desk:~/libcoin$ ./configure=A0=
-- The C compiler identification is GNU
-- The CXX com= piler identification is GNU
-- Check for working C compiler: /usr= /bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- De= tecting C compiler ABI info
-- Detecting C compiler ABI info - do= ne
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detec= ting CXX compiler ABI info
-- Detecting CXX compiler ABI info - d= one
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Look= ing for pthread_create in pthreads
-- Looking for pthread_create = in pthreads - not found
-- Looking for pthread_create in pthread<= /div>
-- Looking for pthread_create in pthread - found
-- Found Th= reads: TRUE=A0
-- Looking for XOpenDisplay in /usr/lib/i386-linux= -gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so
-- Looking for = XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/l= ibXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - = found
-- Looking for connect
-- Looking for connect - f= ound
-- Looking for remove
-- Looking for remove - foun= d
-- Looking for shmat
-- Looking for shmat - found
= -- Looking for IceConnectionNumber in ICE
-- Looking for IceConne= ctionNumber in ICE - found
-- Found X11: /usr/lib/i386-linux-gnu/= libX11.so
-- Boost version: 1.42.0
-- Found the following Boost librar= ies:
-- =A0 date_time
-- =A0 regex
-- =A0 fil= esystem
-- =A0 system
-- =A0 program_options
= -- =A0 thread
-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so=A0
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.=
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not = found.
-- Found Qt-Version 4.7.2 (using /usr/bin/qmake)
-- Found wxWidgets: TRUE=A0

The build system = is configured to install libraries to /usr/local/lib
Your applica= tions may not be able to find your installed libraries unless you:
=A0 =A0 set your LD_LIBRARY_PATH (user specific) or
=A0 =A0 updat= e your ld.so configuration (system wide)
You have an ld.so.conf.d= directory on your system, so if you wish to ensure that
applicat= ions find the installed libcoin libraries, system wide, you could install a= n
libcoin specific ld.so configuration with:
=A0 =A0 sudo make= install_ld_conf

-- Configuring done
-- = Generating done
-- Build files have been written to: /home/user/l= ibcoin
----

=A0Now I tried make, without success:

----
.....
Script.cpp:(.tex= t._ZngRK7CBigNum[operator-(CBigNum const&)]+0xf): undefined reference t= o `BN_init'
Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0x1e):= undefined reference to `BN_copy'
Script.cpp:(.text._ZngRK7CB= igNum[operator-(CBigNum const&)]+0x38): undefined reference to `BN_set_= negative'
Script.cpp:(.text._ZngRK7CBigNum[operator-(CBigNum const&)]+0x4f):= undefined reference to `BN_clear_free'
Script.cpp:(.text._Zn= gRK7CBigNum[operator-(CBigNum const&)]+0xd3): undefined reference to `B= N_clear_free'
../../lib/libcoin.a(Script.o): In function `operator<<(CBigNum c= onst&, unsigned int)':
Script.cpp:(.text._ZlsRK7CBigNumj[= operator<<(CBigNum const&, unsigned int)]+0x16): undefined refere= nce to `BN_init'
Script.cpp:(.text._ZlsRK7CBigNumj[operator<<(CBigNum const&,= unsigned int)]+0x2c): undefined reference to `BN_lshift'
Scr= ipt.cpp:(.text._ZlsRK7CBigNumj[operator<<(CBigNum const&, unsigne= d int)]+0xad): undefined reference to `BN_clear_free'
../../lib/libcoin.a(Script.o): In function `operator>>(CBigNum c= onst&, unsigned int)':
Script.cpp:(.text._ZrsRK7CBigNumj[= operator>>(CBigNum const&, unsigned int)]+0xf): undefined referen= ce to `BN_init'
Script.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&,= unsigned int)]+0x1e): undefined reference to `BN_copy'
Scrip= t.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&, unsigned = int)]+0x47): undefined reference to `BN_clear_free'
Script.cpp:(.text._ZrsRK7CBigNumj[operator>>(CBigNum const&,= unsigned int)]+0xcb): undefined reference to `BN_clear_free'
../../lib/libcoin.a(Script.o): In function `operator!=3D(CBigNum const&= ;, CBigNum const&)':
Script.cpp:(.text._ZneRK7CBigNumS1_[operator!=3D(CBigNum const&, C= BigNum const&)]+0x14): undefined reference to `BN_cmp'
..= /../lib/libcoin.a(Script.o): In function `operator>(CBigNum const&, = CBigNum const&)':
Script.cpp:(.text._ZgtRK7CBigNumS1_[operator>(CBigNum const&, C= BigNum const&)]+0x14): undefined reference to `BN_cmp'
..= /../lib/libcoin.a(Script.o): In function `uint256 Hash<__gnu_cxx::__norm= al_iterator<unsigned char*, std::vector<unsigned char, std::allocator= <unsigned char> > > >(__gnu_cxx::__normal_iterator<unsign= ed char*, std::vector<unsigned char, std::allocator<unsigned char>= > >, __gnu_cxx::__normal_iterator<unsigned char*, std::vector<= unsigned char, std::allocator<unsigned char> > >)':
Script.cpp:(.text._Z4HashIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIh= SaIhEEEEE7uint256T_S8_[uint256 Hash<__gnu_cxx::__normal_iterator<unsi= gned char*, std::vector<unsigned char, std::allocator<unsigned char&g= t; > > >(__gnu_cxx::__normal_iterator<unsigned char*, std::vect= or<unsigned char, std::allocator<unsigned char> > >, __gnu_c= xx::__normal_iterator<unsigned char*, std::vector<unsigned char, std:= :allocator<unsigned char> > >)]+0x6d): undefined reference to `= SHA256'
Script.cpp:(.text._Z4HashIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIh= SaIhEEEEE7uint256T_S8_[uint256 Hash<__gnu_cxx::__normal_iterator<unsi= gned char*, std::vector<unsigned char, std::allocator<unsigned char&g= t; > > >(__gnu_cxx::__normal_iterator<unsigned char*, std::vect= or<unsigned char, std::allocator<unsigned char> > >, __gnu_c= xx::__normal_iterator<unsigned char*, std::vector<unsigned char, std:= :allocator<unsigned char> > >)]+0xb8): undefined reference to `= SHA256'
collect2: ld returned 1 exit status
make[2]: *** [bin/bitcoi= nd] Error 1
make[1]: *** [applications/bitcoind/CMakeFiles/app_bi= tcoind.dir/all] Error 2
make: *** [all] Error 2
-----

=A0What can I do?!

= Best,
Thiago


O= n 1 February 2012 12:18, Michael Gr=F8nager <gronager@ceptacle.com> wrot= e:
Dear Bitcoiners,

libcoin is now in a state ready for its first release, which I would like t= o share with you!

=3D=3D=3D libcoin is a crypto currency library based on the bitcoin/bitcoin= "Satoshi" client. =3D=3D=3D

Copenhagen, Denmark - 1st February 2012 Ceptacle announces the release of t= he first version of the crypto currency library "libcoin" based o= n the bitcoin/bitcoin "Satoshi" client.

libcoin also maintains a version of bitcoind that is a 100% compatible drop= -in replacement of the bitcoin/bitcoind client: You can use it on the same = computer on the same files and you can call it with the same scripts. And y= ou can easily extend it without touching the basic bitcoin source files.
The libcoin/bitcoind client downloads the entire block chain 3.5 times fast= er than the bitcoin/bitcoind client. This is less than 90 minutes on a mode= rn laptop!

In libcoin, the Satoshi client code has been completely refactored, properl= y encapsulating classes, removing all globals, moving from threads and mute= xes to a pure asynchronous approach. Functionalities have been divided into= logical units and libraries, minimizing dependencies for e.g. thin clients= .

libcoin is chain agnostic, all chain (bitcoin, testnet, namecoin, litecoin,= ...) specific settings are maintained from a single class (Chain) and henc= e experiments with chain settings, mining, security and digital currencies = for research and educational purposes are easily accessible. See the ponzic= oin example for how you define your own chain.

The build system of libcoin is based on CMake and supports builds of static= and dynamic libraries on Linux, Mac OS X, and Windows.

The libcoin license is LGPL v. 3. This mean that you can use it in open sou= rce as well as in commercial projects, but improvements should go back into= the libcoin library.

=3D=3D=3D=3D=3D=3D

Read more on libcoin on: http://github.com/ceptacle/libcoin/wiki

Join libcoin on twitter: http://twitter.com/libcoin

Download "libcoin Satoshi release": http://github.com/cept= acle/libcoin/zipball/v0.4.0.1

Best regards,

Michael Gronager, PhD
Director, Ceptacle
Jens Juels Gade 33
2100 Copenhagen E
Mobile: +45= 31 45 14 01
E-mail: gronager@ceptacle.com<= br> Web: http://www.cept= acle.com/


---------------------------------------------------------------------------= ---
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now!
http://p.= sf.net/sfu/learndevnow-d2d
_______________________________________________
Bitcoin-development mailing list
Bitcoin-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment

--bcaec54ee616f6c7c604b9a50659--