Navigation
Primary links
User login
64bit Blackboard 8 and the 32bit libgdbm library
scott — Mon, 11/03/2008 - 09:33
I recently ran into problems starting services after completing setup of a new 64bit development enviornment for Blackboard 8. The rpms installed the 32bit version of apache and it was missing one of the libraries. Gdbm to be more specific.
It was easy to see the problem by doing an ldd on httpd:
[root@lubba01dev bin]# ldd httpd
linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib/tls/libm.so.6 (0xf7fb3000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xf7f82000)
libgdbm.so.2 => not found
libdl.so.2 => /lib/libdl.so.2 (0xf7f7e000)
libc.so.6 => /lib/tls/libc.so.6 (0xf7e4f000)
/lib/ld-linux.so.2 (0xf7fe8000)We have gdbm installed, but not the 32bit version. We can force it to install the i386 architecture version like this:
[root@lubba01dev bin]# up2date --arch=i386 gdbm-devel
Fetching Obsoletes list for channel: rhel-x86_64-es-4...
Fetching Obsoletes list for channel: rhn-tools-rhel-4-es-x86_64...
Fetching rpm headers...
########################################
Name Version Rel
----------------------------------------------------------
gdbm-devel 1.8.0 24 i386
Testing package set / solving RPM inter-dependencies...
########################################
gdbm-devel-1.8.0-24.i386.rpm ########################## Done.
Preparing ########################################### [100%]
Installing...
1:gdbm-devel ########################################### [100%]After installing the i386 version of the package, apache starts up just fine.
[root@lubba01dev bin]# ldd httpd
linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib/tls/libm.so.6 (0xf7fb3000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xf7f82000)
libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0xf7f7c000)
libdl.so.2 => /lib/libdl.so.2 (0xf7f78000)
libc.so.6 => /lib/tls/libc.so.6 (0xf7e49000)
/lib/ld-linux.so.2 (0xf7fe8000)



