I am getting an error message back from qmail's pop3 daemon:
/home/qmail/bin/auth_pop: error while loading shared libraries: libssl.so.2:
failed to map segment from shared object: Cannot allocate memory
that has me starting to spin. To give a little history on this, I had the
same error when loading libsasl shared libraries (the solution was to
compile openldap without sasl support.) There must be something wrong at a
different level in the build or configuration that I am missing. Searched
the mail groups and read as much as possible in documentation, can not seem
to figure out where the mistake is hiding.
First diagnostic -> Ran qmail-ldaplookup -> Successful
Looking at qmail-ldaplookup dependencies ::
ldd qmail-ldaplookup
libldap.so.2 => /lib/libldap.so.2 (0x4001d000)
liblber.so.2 => /lib/liblber.so.2 (0x40047000)
libc.so.6 => /lib/i686/libc.so.6 (0x40052000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4018d000)
libresolv.so.2 => /lib/libresolv.so.2 (0x401ba000)
libdl.so.2 => /lib/libdl.so.2 (0x401cc000)
libssl.so.2 => /lib/libssl.so.2 (0x401d1000)
libcrypto.so.2 => /lib/libcrypto.so.2 (0x40298000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Compare to auth_pop dependencies ::
ldd ./auth_pop
libldap.so.2 => /lib/libldap.so.2 (0x4001d000)
liblber.so.2 => /lib/liblber.so.2 (0x40047000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40052000)
libc.so.6 => /lib/i686/libc.so.6 (0x40064000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4019f000)
libdl.so.2 => /lib/libdl.so.2 (0x401cc000)
libssl.so.2 => /lib/libssl.so.2 (0x401d1000)
libcrypto.so.2 => /lib/libcrypto.so.2 (0x40298000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
The same .... hmmmm. I have heard about issues when the code is not compiled
as Position Independent Code (PIC) -- but I wouldn't think this would be
related since these are shared libs I am using.
If anyone knows what might be going on please respond and cc my Yahoo
account.
Configuration info is at the bottom.
Thanks,
Josh (jacooper67 at yah00_dot_c0m)
------------------------- System and configuration
information -----------------
Linux version 2.4.7-10smp ([EMAIL PROTECTED]) (gcc
version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)) #1 SMP Thu Sep 6 17:09:31
EDT 2001
openldap-2.1.12
qmail-1.03 => compile option to turn SASL off
qmail-ldap-1.03-20030101.patch
I am going to try all of this on a different configuration with the latest
0303 patch, let you know how it goes.