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:4acc26f832715523213116!
