Re: Compile error

Reza Iskandar Achmad <[email protected]>
Newsgroups gmane.mail.qmail.admin
Message-ID <C6F23E43.5B4C%[email protected]>
Okay I got it, I added -ldl to LIBS in Makefile. Compilation success. But
when visiting http://server/cgi-bin/qmailadmin I got blank page.

Anw.. Its on Ubuntu Jaunty server

Many thanks,

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:4acc2b5e32711816711068!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.