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 >> >> >> >> >> >> > > !DSPAM:4acc4bb932711579950939!
