Bitcoin Forum
May 15, 2024, 07:32:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Bitcoind on CentOS 5.6 64bit ($50 bounty)  (Read 2995 times)
Eisenhower34 (OP)
Legendary
*
Offline Offline

Activity: 906
Merit: 1002



View Profile
August 05, 2012, 10:42:08 AM
 #21

Do i read this correct, my path look like:

Code:
DEPSDIR=/home/bitcoin/Bitcoin/Deps
INCLUDEPATHS= -I"$(DEPSDIR)/include"
LIBPATHS= -L"$(DEPSDIR)/lib"

so I am supposed now to install glibc into /home/bitcoin/Bitcoin/Deps/lib right? Is it ok to just copy the devel files into the Deps/lib directory?
SAC
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
August 05, 2012, 11:26:17 AM
 #22

Do i read this correct, my path look like:

Code:
DEPSDIR=/home/bitcoin/Bitcoin/Deps
INCLUDEPATHS= -I"$(DEPSDIR)/include"
LIBPATHS= -L"$(DEPSDIR)/lib"

so I am supposed now to install glibc into /home/bitcoin/Bitcoin/Deps/lib right? Is it ok to just copy the devel files into the Deps/lib directory?

You could copy since that is a non-system directory but you really want the files where the system expects them to be so install the -devel package you need then any others that are not available as .rpm compile from source with the --prefix set, it may be --PREFIX= all capitals been a while.. Once you have done this for all the files needed you should be good to go one thing to pay attention to is when compiling make sure you get the correct version numbers most times it is good to go with the most recent version. And putting the Deps directory it is asking for in your normal user home directory (/home/username/Bitcoin/Deps) is better it is not a good idea to be compiling as root. Your example there should be better than the one you had before and I see it is a 64bit your going for if the Centos is as stupid as my mac pro for getting a proper 64bit bit or any other coin daemon for that matter then you may want to do this in the terminal window you are compiling in, to tell it you want the 64bit.

Code:
export CFLAGS="-arch x86_64"
export LDFLAGS="-arch x86_64"
Eisenhower34 (OP)
Legendary
*
Offline Offline

Activity: 906
Merit: 1002



View Profile
August 05, 2012, 11:40:54 AM
Last edit: August 05, 2012, 12:04:08 PM by Eisenhower34
 #23

Im sorry for the missunderstanding here, but the devel package has already been installed on the system BEFORE i started this thread....

regarding

gcc -l <path to bin of glibc>

I added -L /lib64, even if that is useless because as you can see in the verbosed output i posted before, "-L/lib/../lib64" is already loaded and does the same. As result, nothing chaged, same error.
check_status
Full Member
***
Offline Offline

Activity: 196
Merit: 100


Web Dev, Db Admin, Computer Technician


View Profile
August 06, 2012, 10:24:07 PM
 #24

Redhat doesn't include nonfree software so you may have to enable rpmfusion to get dependancies needed for compiling. You should try this for CentOS only, it is a requirement before enabling rpmfusion.

Before enabling the rpmfusion repositories:

For EL5:
Code:
su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm'

For EL6:
Code:
su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-6-7.noarch.rpm'

Now you can enable the rpmfusion repositories:

For RHEL5 and CentOS:

Code:
su -c 'rpm -Uvh http://download1.rpmfusion.org/free/el/updates/5/i386/rpmfusion-free-release-5-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/5/i386/rpmfusion-nonfree-release-5-1.noarch.rpm'

For RHEL6 and CentOS:

Code:
su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm'

For Bitcoin to be a true global currency the value of BTC needs always to rise.
If BTC became the global currency & money supply = 100 Trillion then ⊅1.00 BTC = $4,761,904.76.
P2Pool Server List | How To's and Guides Mega List |  1EndfedSryGUZK9sPrdvxHntYzv2EBexGA
Eisenhower34 (OP)
Legendary
*
Offline Offline

Activity: 906
Merit: 1002



View Profile
August 08, 2012, 12:15:12 AM
 #25

Your post sounds like a shot into the blue... which bins would be included in that fusion package that updates GLIBC?

Im pretty frustrated right now... really thinking about taking a VPS with another OS for this project...
gweedo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
August 08, 2012, 12:24:03 AM
 #26

Your post sounds like a shot into the blue... which bins would be included in that fusion package that updates GLIBC?

Im pretty frustrated right now... really thinking about taking a VPS with another OS for this project...

I can say the only other better Linux OS would be gentoo and that is under protest, I would reinstall centos and try installing bitcoind again, or find someone with a VDMK of centos 5.5 with bitcoind pre-installed and send it to your vps they should be able to load it for you.
Eisenhower34 (OP)
Legendary
*
Offline Offline

Activity: 906
Merit: 1002



View Profile
August 08, 2012, 07:37:37 PM
 #27

Could get this stupid bitcoin client working with the binary from weex posted here https://bitcointalk.org/index.php?topic=65818.msg1075468#msg1075468
Its an older version but it will do its job i think till someone comes up with a newer solution.
I also added another 4 BTC here https://bitcointalk.org/index.php?topic=98647.msg1086900#msg1086900 so hopefully a nerd will like the possibility for some BTC extra by solving this little problem for us noobs Smiley
check_status
Full Member
***
Offline Offline

Activity: 196
Merit: 100


Web Dev, Db Admin, Computer Technician


View Profile
August 14, 2012, 05:32:46 AM
 #28

Redhat distros have different directory structure compared to Debian based.
In Debian, bin is located in /usr/local/bin, while in Redhat, bin is located in /usr/bin.
If a developer designs their software on a Debian system, when they build it all expectations in the program are looking in Debian directory structures. Where ever Redhat differs in it's directory structures this may cause issues when compiling as the compiler is being asked to look in the wrong location.

What's wrong with linking to /usr/bin/glibc?

As for my earlier post, I thought there had been a discussion about missing ECDSA. If not, then it's useful to you at some later point, and I'm ahead of whatever crops up in your future. Cheesy

For Bitcoin to be a true global currency the value of BTC needs always to rise.
If BTC became the global currency & money supply = 100 Trillion then ⊅1.00 BTC = $4,761,904.76.
P2Pool Server List | How To's and Guides Mega List |  1EndfedSryGUZK9sPrdvxHntYzv2EBexGA
Pages: « 1 [2]  All
  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!