rblsmtpd error compiling

This is a discussion on rblsmtpd error compiling within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi all, I'm having this error when I compile rbl... root@server3:/usr/local/src/rblsmtpd-0.70# make ../...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-15-2003
Giulio
 
Posts: n/a
Default rblsmtpd error compiling

Hi all,
I'm having this error when I compile rbl...

root@server3:/usr/local/src/rblsmtpd-0.70# make
../load rblsmtpd txt.o commands.o ip.o getopt.a strerr.a \
substdio.a stralloc.a alloc.a error.a case.a env.a str.a \
fs.a `cat dns.lib` `cat socket.lib`
rblsmtpd.o(.text+0x3db): In function `main':
: undefined reference to `res_init'
txt.o(.text+0xd1): In function `txt':
: undefined reference to `__res_query'
txt.o(.text+0x144): In function `txt':
: undefined reference to `__dn_expand'
txt.o(.text+0x195): In function `txt':
: undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make: *** [rblsmtpd] Error 1

Could You help me?
Thanks

Giulio

Reply With Quote
  #2 (permalink)  
Old 10-15-2003
Jonathan de Boyne Pollard
 
Posts: n/a
Default Re: rblsmtpd error compiling

G> rblsmtpd.o(.text+0x3db): In function `main':
G> : undefined reference to `res_init'

You haven't installed the BIND DNS Client library on your system. Install it.
Reply With Quote
  #3 (permalink)  
Old 10-16-2003
Brian T Glenn
 
Posts: n/a
Default Re: rblsmtpd error compiling

On Wed, 15 Oct 2003 16:29:11 +0200, Giulio <giulio_n@softhome.net> may have written:
> Hi all,
> I'm having this error when I compile rbl...
>
> root@server3:/usr/local/src/rblsmtpd-0.70# make
> ./load rblsmtpd txt.o commands.o ip.o getopt.a strerr.a \
> substdio.a stralloc.a alloc.a error.a case.a env.a str.a \
> fs.a `cat dns.lib` `cat socket.lib`
> rblsmtpd.o(.text+0x3db): In function `main':
>: undefined reference to `res_init'
> txt.o(.text+0xd1): In function `txt':
>: undefined reference to `__res_query'
> txt.o(.text+0x144): In function `txt':
>: undefined reference to `__dn_expand'
> txt.o(.text+0x195): In function `txt':
>: undefined reference to `__dn_expand'
> collect2: ld returned 1 exit status
> make: *** [rblsmtpd] Error 1


You give very little information about your system, but from those
errors it looks like you are missing DNS resolving libraries. libresolv
should be what you are looking for.

--
Brian T Glenn
delink.net Internet Services
Reply With Quote
  #4 (permalink)  
Old 10-16-2003
Giulio
 
Posts: n/a
Default Re: rblsmtpd error compiling

Brian T Glenn wrote:
> On Wed, 15 Oct 2003 16:29:11 +0200, Giulio <giulio_n@softhome.net>
> may have written:
>> Hi all,
>> I'm having this error when I compile rbl...
>>


>
> You give very little information about your system, but from those
> errors it looks like you are missing DNS resolving libraries.
> libresolv
> should be what you are looking for.


Excuse me for lack of informations.
It deals with a Slackware 9.0 brand new box on a P200 running quite well.
I Thought I installed all the libs within the slack install cd... I'll see.
Thanks

Giulio

Reply With Quote
  #5 (permalink)  
Old 10-17-2003
Brian T Glenn
 
Posts: n/a
Default Re: rblsmtpd error compiling

On Thu, 16 Oct 2003 16:32:21 +0200, Giulio <giulio_n@softhome.net>
may have written:
> Brian T Glenn wrote:
>> On Wed, 15 Oct 2003 16:29:11 +0200, Giulio <giulio_n@softhome.net>
>> may have written:
>>> Hi all,
>>> I'm having this error when I compile rbl...
>>>

>
>>
>> You give very little information about your system, but from those
>> errors it looks like you are missing DNS resolving libraries.
>> libresolv
>> should be what you are looking for.

>
> Excuse me for lack of informations.
> It deals with a Slackware 9.0 brand new box on a P200 running quite well.
> I Thought I installed all the libs within the slack install cd... I'll see.


Keep in mind when you are compiling against a library, you will also
need its header file. Most OS packages keep this "development" stuff in
a separate package from the actual library.

Try installing the "dev" or "devel" package that matches the name of the
package that contains the DNS resolver library.

HTH,
--
Brian T Glenn
delink.net Internet Services
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0