I think centos has a different structure then fedora.
On fedora 64bit, /usr/lib in 32-bit, on centos its 64-bit.
I’ll see if I can get a version fully statically linked version up
The actual db process should work though. (mongod)
On Feb 11, 7:05 pm, Adrian Madrid <aemad...@gmail.com
> This is a 64-bit OS and here are the versions installed:
> ls -alh /usr/lib/libreadline.*
> -rw-r--r-- 1 root root 294K Jan 9 2007 /usr/lib/libreadline.a
> lrwxrwxrwx 1 root root 16 Feb 11 17:01 /usr/lib/libreadline.so ->
> lrwxrwxrwx 1 root root 18 Feb 11 17:01 /usr/lib/libreadline.so.5 ->
> -rwxr-xr-x 1 root root 204K Jan 9 2007 /usr/lib/libreadline.so.5.1
> uname -a
> Linux a.b.c 2.6.18-92.1.13.el5.028stab059.3 #1 SMP Wed Oct 15 13:33:44
> MSD 2008 x86_64 x86_64 x86_64 GNU/Linux
> I have even tried compiling readline 5.2 from source and changing the
> symlink to the local lib but then it complains about a different ELF
> Any ideas?
> Adrian Esteban Madrid
> Lead Developer, Prefab Marketshttp://www.prefabmarkets.com
> On Fri, Feb 6, 2009 at 14:22, Geir Magnusson Jr. <g...@pobox.com
> > any idea what version of readline is installed? It needs a 32-bit version,
> > which I assume that is?
> > On Feb 6, 2009, at 2:06 PM, Adrian Madrid wrote:
> > Here goes the output:
> > /opt/10gen/mongo-dist: ldd bin/mongo
> > libpthread.so.0 => /lib/libpthread.so.0 (0xb7f53000)
> > libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e6a000)
> > libreadline.so.5 => /usr/lib/libreadline.so.5 (0xb7e36000)
> > libm.so.6 => /lib/libm.so.6 (0xb7e0f000)
> > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e03000)
> > libc.so.6 => /lib/libc.so.6 (0xb7cc0000)
> > /lib/ld-linux.so.2 (0xb7f7a000)
> > Adrian Esteban Madrid
> > Lead Developer, Prefab Markets
> > On Fri, Feb 6, 2009 at 11:30, Geir Magnusson <g...@10gen.com
> >> 1) I'm not surprised you can't build mongo the shell on a 64-bit box -
> >> it requires a little extra work.
> >> 2) I suspect that readline isn't installed for the shell - could you
> >> please type
> >> $ ldd bin/mongo
> >> and provide the output?
> >> geir
> >> On Feb 6, 2009, at 12:46 PM, Adrian Madrid wrote:
> >> > Bad news, sorry. It won't compile unless I try to compile just
> >> > mongod. Although if I DL the binaries they all work with the
> >> > exception of the shell. Here's the gist for all this.
> >> >http://gist.github.com/59515
> >> > Adrian Esteban Madrid
> >> > Lead Developer, Prefab Markets
> >> >http://www.prefabmarkets.com