I have no idea of how qmailadmin works on Ubuntu, but on gentoo apache needs suexec to execute it. And it can be tricky to fix, because apache has a minimum uid and gid value for suexec. The situation on gentoo is that you have vpopmail (the user apache needs to suexec to) having 89:89, while your min allowed values are 1000:100.
I will not enter in strictly gentoo details as you do not need them, but depending on how your logs are set (and what other stuff is running your mail system) you should probably see some errors around. Typically apache logs should report suexec policy violations. Berto 2009/10/7 Reza Iskandar Achmad <reza.iskan...@gmail.com>: > 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" <ita...@ispbrasil.com.br> wrote: > >> I think it's probably missing -ldl in the flags >> >> >> On Wed, Oct 7, 2009 at 2:25 AM, Reza Iskandar Achmad >> <reza.iskan...@gmail.com> 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 >>> >>> >>> >>> >>> >>> >> >> > > > > > > -- ============================== Constitution du 24 juin 1793 - Article 35. - Quand le gouvernement viole les droits du peuple, l'insurrection est, pour le peuple et pour chaque portion du peuple, le plus sacré des droits et le plus indispensable des devoirs. !DSPAM:4acc4f9e32712067712865!