Hi all,
I've compiled qpopper3.1b11 with the following configure options:
--standalone
--enable-apop=/etc/pop.auth
--enable-pop-uid=pop
The system is: SunOS 5.5.1 Generic_103640-31 sun4d sparc
SUNW,SPARCserver-1000
When I try to fire up the daemon, it immediately exits. Here's the end
of a truss:
open("/usr/openwin/lib/libw.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/lib/libw.so.1", O_RDONLY) = 3
fstat(3, 0xDFFFF82C) = 0
mmap(0xDF790000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0)
= 0xDF790000
mmap(0x00000000, 94208, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xDF580000
munmap(0xDF587000, 61440) = 0
mmap(0xDF596000, 3512, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xDF596000
close(3) = 0
open("/usr/platform/SUNW,SPARCserver-100 0/lib/libc_psr.so.1", O_RDONLY)
Err#2 ENOENT
close(4) = 0
munmap(0xDF790000, 4096) = 0
open("/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 3
brk(0x000542E8) = 0
brk(0x000562E8) = 0
fork() = 7885
Received signal #18, SIGCLD [default]
siginfo: SIGCLD CLD_EXITED pid=7885 status=0x0000
lseek(0, 0, SEEK_CUR) = 113123
lseek(3, 0, SEEK_CUR) = 0
_exit(0)
I've compiled with both gcc and SUNWspro-5.0 cc... To the same ends.
It worked fine on a SunOS 5.7 Generic_106541-04 sun4u sparc
SUNW,Ultra-1.
Seems that the problem is not finding libc_psr.so.1. Is this because my
SPARCserver-1000 is mis-configured? Or is it because the standalone
option does not support such old gear? The same version of qpopper
compiles and runs fine on both systems if I do not try to use
standalone.
Thanks,
Joel