GoldCoin Talk
Lobby => Newbie Central => How-To Guides => Topic started by: bustingbuster on November 22, 2013, 10:24:18 AM
-
Well in this guide i am not gonna show you how to compile a goldcoin client but i will tell you how to correctly install an already compiled version.
wget http://gldcoin.com/downloads/goldcoin-0.7.1.5-linux.tar.xztar -xvf goldcoin-0.7.1.5-linux.tar.xz
Installing dependencies :
sudo aptitude install build-essential libboost-all-dev libssl-dev libglib2.0-devsudo apt-get install libqtgui4sudo apt-get install libminiupnpc-devsudo apt-get install libqt4-webkitwget https://launchpad.net/~bitcoin/+archive/bitcoin/+files/libdb4.8%2B%2B_4.8.30-10precise1_amd64.deb (If amd64)
sudo dpkg -i libdb4.8++_4.8.30-10precise1_amd64.deb (If amd64)
OR
wget https://launchpad.net/~bitcoin/+archive/bitcoin/+files/libdb4.8%2B%2B_4.8.30-10precise1_i386.deb (if i386)
sudo dpkg -i libdb4.8++_4.8.30-10precise1_i386.deb (if i386)
Now open the goldcoind client :
cd x86 (if 32bit) or cd x64 (if 64bit).
./goldcoind
Most of these also work for ubuntu, But this is 100% tested and working guide for debian.
Now you have successfully installed the goldcoin client if you don't get any errors.
If you get any error :
cd x86 (if 32bit) or cd x64 (if 64bit).
ldd ./goldcoind
Post the copy of the log of the above command if you have any problem.
-
I did everything as described...
When I try to run ./goldcoin:
me@me:~/x86$ ./goldcoind
./goldcoind: error while loading shared libraries: libminiupnpc.so.5: cannot open shared object file: No such file or directory
Here is the ldd for it:
me@me:~/x86$ ldd ./goldcoind
linux-gate.so.1 => (0xb7722000)
libboost_system.so.1.49.0 => /usr/lib/libboost_system.so.1.49.0 (0xb7701000)
libboost_filesystem.so.1.49.0 => /usr/lib/libboost_filesystem.so.1.49.0 (0xb76e1000)
libboost_program_options.so.1.49.0 => /usr/lib/libboost_program_options.so.1.49.0 (0xb7681000)
libboost_thread.so.1.49.0 => /usr/lib/libboost_thread.so.1.49.0 (0xb7668000)
libdb_cxx-4.8.so => /usr/lib/i386-linux-gnu/libdb_cxx-4.8.so (0xb74c9000)
libssl.so.1.0.0 => /lib/i386-linux-gnu/libssl.so.1.0.0 (0xb7472000)
libcrypto.so.1.0.0 => /lib/i386-linux-gnu/libcrypto.so.1.0.0 (0xb72c5000)
libQtCore.so.4 => /usr/lib/i386-linux-gnu/libQtCore.so.4 (0xb6fe0000)
libQtGui.so.4 => /usr/lib/i386-linux-gnu/libQtGui.so.4 (0xb652e000)
libQtWebKit.so.4 => /usr/lib/i386-linux-gnu/libQtWebKit.so.4 (0xb4424000)
libminiupnpc.so.5 => not found
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb440a000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb4404000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb43e9000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb4300000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb42bd000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb42a0000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb40eb000)
libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb3fe7000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb3fde000)
/lib/ld-linux.so.2 (0xb7723000)
libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xb3fa4000)
libaudio.so.2 => /usr/lib/i386-linux-gnu/libaudio.so.2 (0xb3f8a000)
libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb3f61000)
libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb3ec2000)
libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xb3e70000)
libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xb3e67000)
libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xb3e4d000)
libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xb3e3b000)
libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb3e30000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb3e1d000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb3ce8000)
libjpeg.so.8 => /usr/lib/i386-linux-gnu/libjpeg.so.8 (0xb3c8e000)
libxslt.so.1 => /usr/lib/i386-linux-gnu/libxslt.so.1 (0xb3c50000)
libgstapp-0.10.so.0 => /usr/lib/i386-linux-gnu/libgstapp-0.10.so.0 (0xb3c43000)
libgstinterfaces-0.10.so.0 => /usr/lib/i386-linux-gnu/libgstinterfaces-0.10.so.0 (0xb3c31000)
libgstpbutils-0.10.so.0 => /usr/lib/i386-linux-gnu/libgstpbutils-0.10.so.0 (0xb3c0f000)
libgstvideo-0.10.so.0 => /usr/lib/i386-linux-gnu/libgstvideo-0.10.so.0 (0xb3bf1000)
libgstbase-0.10.so.0 => /usr/lib/i386-linux-gnu/libgstbase-0.10.so.0 (0xb3b8e000)
libgstreamer-0.10.so.0 => /usr/lib/i386-linux-gnu/libgstreamer-0.10.so.0 (0xb3aa4000)
libxml2.so.2 => /usr/lib/i386-linux-gnu/libxml2.so.2 (0xb394a000)
libsqlite3.so.0 => /usr/lib/i386-linux-gnu/libsqlite3.so.0 (0xb3895000)
libQtOpenGL.so.4 => /usr/lib/i386-linux-gnu/libQtOpenGL.so.4 (0xb3799000)
libQtNetwork.so.4 => /usr/lib/i386-linux-gnu/libQtNetwork.so.4 (0xb3651000)
libGL.so.1 => /usr/lib/i386-linux-gnu/mesa/libGL.so.1 (0xb35f8000)
libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb35b7000)
libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb358e000)
libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xb3531000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb352d000)
libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xb3526000)
libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb3520000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb34ff000)
liborc-0.4.so.0 => /usr/lib/i386-linux-gnu/liborc-0.4.so.0 (0xb346d000)
libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0xb3468000)
liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xb3441000)
libglapi.so.0 => /usr/lib/i386-linux-gnu/libglapi.so.0 (0xb342b000)
libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xb3427000)
libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xb3420000)
libX11-xcb.so.1 => /usr/lib/i386-linux-gnu/libX11-xcb.so.1 (0xb341d000)
libxcb-glx.so.0 => /usr/lib/i386-linux-gnu/libxcb-glx.so.0 (0xb3405000)
libxcb-dri2.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri2.so.0 (0xb33ff000)
libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xb33f9000)
libdrm.so.2 => /usr/lib/i386-linux-gnu/libdrm.so.2 (0xb33eb000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb33e4000)
I'm using Lubuntu btw, here's the system info:
Kernel: Linux 3.11.0-13-generic (i686)
Default C Compiler : GNU C Compiler version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu8)
Distribution: Ubuntu 13.10
Anyone has any idea in mind? Maybe because my kernel is i686? If that is it, how can I work around that?
-
You just missed this step :
sudo apt-get install libminiupnpc-dev
Let me know if it works or not.
-
Hi,
I'm having the same problem running Ubuntu 13.10. I'm absolutely sure I've followed all steps above, but I'm getting the error:
error while loading shared libraries: libminiupnpc.so.5: cannot open shared object file: No such file or directory
It seems that libminiupnpc.so.8 is associated with Ubuntu 13.10...any ideas on how to tackle this problem?
Thanks!
-
Well try :
sudo apt-get remove libminiupnpc-dev
And do again :
sudo apt-get install libminiupnpc-dev
It may work sometimes, So try it reinstalling.
-
Hi
I have the same problem in (X)ubuntu 13.10, getting the same error message. Reisntalling libminiupnpc-dev does not help. cface is right, libminiupnpc.so.8 is currently the version you get when you install libminiupnpc-dev on ubuntu.
-
I just recognised that ubuntu has a differenet libiminiupnpc-dev , So i think a little search is needed for this.
-Thanks-
-
I'm on gentoo linux, goldcoin-qt from http://gldcoin.com/downloads/goldcoin-0.7.1.6-linux.tar.xz asks for outdated depency libraries: for eg, boost-1.49.0 libs while current are 1.52.0
same for libminiupnpc and other depencies as well.
i went for it and tried to install from github but the docs are very poor on that matter.
Taken from the "gentoo" section:
~/gldcoin/src $ make -f makefile.unix USE_UPNP=1 USE_IPV6=1 STATIC=1 BDB_INCLUDE_PATH='/usr/include/db4.8' OPENSSL_INCLUDE_PATH='/usr/include/openssl' BOOST_INCLUDE_PATH='/usr/include/boost'
/bin/sh ../share/genbuild.sh obj/build.h
../share/genbuild.sh: line 33: obj/build.h: No such file or directory
../share/genbuild.sh: line 34: obj/build.h: No such file or directory
make: *** [obj/build.h] Error 1
edit: make sure you $ mkdir obj within src and it should work
also paths in makefile.unix are wrong for qt4 in gentoo, should be /usr/include/qt4/QtCore and /usr/include/qt4 instead of /usr/share/qt4/include/QtCore and /usr/share/qt4/include
-
Yes you need make a directory named "obj" for the compilation to work. So you compiled it successfully right ?
-Thanks-
-
I'm having the same issue with libminiupnpc-dev on Xubuntu 13.10. Did you guys manage to get it working and can you please update? Thanks.
-
I'm having the same issue with libminiupnpc-dev on Xubuntu 13.10. Did you guys manage to get it working and can you please update? Thanks.
For ubuntu we need to build our own client by source. Which has a option to not to use miniupnpc.
-Thanks-
-
Hi all
First post and really loving GLD coin and the community. I want to install the client into my laptop running Ubuntu 12.04LTS on a 64bit system
Looking at the last post on this thread there appears to be a specific issue with Ubuntu and the client, has this been resolved?
The specific problem that I have is that Ubuntu does not understand the aptitude command structure as such, here is the error from the command module:
user-1@user1-V5-171:~$ sudo aptitude install build-essential libboost-all-dev libssl-dev libglib2.0-dev
[sudo] password for user-1:
sudo: aptitude: command not found
Any help on this would be greatly appreciated
-
try sudo apt-get install instead of sudo aptitude install
-
Welcome Flat Tracker66 this a great coin with a great community.
-
Uh...a bit of a noob here...how to install on armhf? :-\
-
Would be great to see GoldCoin get on something like this http://rokos.space/
-
i couldnt get it working under ubuntu always missing something.
what debian version are you using? 8.3?
-
i couldnt get it working under ubuntu always missing something.
what debian version are you using? 8.3?
We make use of the qdatetime library to handle localized timezones for 51% defense system.
Usually when there are problems it is because of missing QT library.
-
i couldnt get it working under ubuntu always missing something.
what debian version are you using? 8.3?
We make use of the qdatetime library to handle localized timezones for 51% defense system.
Usually when there are problems it is because of missing QT library.
I'm having the same problem on Ubuntu 14.04 64bit & have opened a ticket on github. I already have all the needed packages including Qt, but compiling fails with:
/bin/sh ../share/genbuild.sh obj/build.h
../share/genbuild.sh: 33: ../share/genbuild.sh: cannot create obj/build.h: Directory nonexistent
../share/genbuild.sh: 34: ../share/genbuild.sh: cannot create obj/build.h: Directory nonexistent
make: *** [obj/build.h] Error 2
Also, the size of the cloned files seems very excessive, the goldcoin folder is 1.2GB! There seems to be a lot of uneeded bloat that needs removing from the repo.
Regards.
-
Success!
Adding the obj folder to the src directory solved the problem.
There seems to be a massive amount of bloat in the repo, 1.2Gb for a coin wallet is huge. Hopefully dev will make the required changes by adding the missing obj folder to the repo & clean it up a little, as it took me nearly 3 days to figure out the compile problems.
Regards.
-
Success!
Adding the obj folder to the src directory solved the problem.
There seems to be a massive amount of bloat in the repo, 1.2Gb for a coin wallet is huge. Hopefully dev will make the required changes by adding the missing obj folder to the repo & clean it up a little, as it took me nearly 3 days to figure out the compile problems.
Regards.
Thanks for the feedback in regards to the repo.
In the meantime, you might enjoy this: https://github.com/goldcoin/goldcoin/tree/barerepo