Can you post your strace ? strace -s255 -f -o out.txt qmailadmin
or use gdb, but for gdb I think we need to add -g to compile flags to enable debug. 2009/10/7 Lendvai Péter <[email protected]>: > Hi, > > I am fighting with the same problem. It is a RHEL 5.3 box and qmailadmin > segfaults. > > strace shows something that segfault happened around a call to vhckpw. > > Any clues? > > Thanks, > Peter > > On 2009. október 7. 10.05.02 Reza Iskandar Achmad wrote: >> Ok, after add -ldl to LIBS line at Makefile, then compilation got succeed. >> But http://server/cgi-bin/qmailadmin returns blank page. When I execute >> /usr/lib/cgi-bin/qmailadmin it returns segmentation faults. >> >> Please anyone who could help. :) >> >> reza >> >> On 10/7/09 12:28 PM, "Itamar Reis Peixoto" <[email protected]> wrote: >> > I think it's probably missing -ldl in the flags >> > >> > >> > On Wed, Oct 7, 2009 at 2:25 AM, Reza Iskandar Achmad >> > >> > <[email protected]> wrote: >> >> Hi All, >> >> >> >> I am trying to compile qmailadmin-1.2.13 but keep getting errors. Its >> >> weird because previously I it successful compiled on same machine. >> >> >> >> These are error lines I got when giving "make" command >> >> >> >> make[1]: Entering directory `/usr/local/src/qmailadmin-1.2.13' >> >> gcc -g -O2 -Wall -o qmailadmin qmailadmin.o alias.o autorespond.o >> >> forward.o mailinglist.o user.o util.o printh.o auth.o template.o >> >> command.o show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib >> >> -lvpopmail -lcrypt -lcrypt >> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlsym' >> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlerror' >> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlopen' >> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlclose' >> >> collect2: ld returned 1 exit status >> >> make[1]: *** [qmailadmin] Error 1 >> >> make[1]: Leaving directory `/usr/local/src/qmailadmin-1.2.13' >> >> make: *** [all] Error 2 >> >> >> >> Please anyone out there help me to resolve this problem. >> >> >> >> Thank you >> >> >> >> reza >> >> > > > > > -- ------------ Itamar Reis Peixoto e-mail/msn: [email protected] sip: [email protected] skype: itamarjp icq: 81053601 +55 11 4063 5033 +55 34 3221 8599 !DSPAM:4acc886232719388418318!
