Hi,

 

    I am in the process of installing Courier-Imap on a HP-UX 11.11 server.  I 
have already installed Postfix 2.4 and OpenLDAP 2.3.32.   I'm currently having 
problems with the  courier-authlib 0.59.3 configuration script.  I get the 
following error:

 

"checking whether -lresolv is needed for res_query... configure: error: Cannot 
find function res_query"

 

The configuration script parameters are:

 

export LDFLAGS='-L/usr/local/BerkeleyDB.4.5/lib -L/opt/openldap/lib 
-L/usr/local/lib'

 

./configure \

  --without-ipv6 \

  --disable-root-check \

  --without-authpwd \

  --without-authshadow \

  --without-authuserdb \

  --without-authpgsql \

  --with-authldap \

  --without-authvchkpw \

  --without-authcustom \

  --without-authpam \

  --without-authpipe \

  --without-authmysql \

  --with-authdaemon

 

The /usr/include/resolv.h file on this version of HP-UX mentions the fact that 
"res_query" has been removed from it:

 

/*

 * This used to be defined in res_query.c, now it's in herror.c.  It was

 * never extern'd by any *.h file before it was placed here.  herror.c is

 * part of libresolv.a even though it might make more sense in libnetdb.a

 * or even libnet.a.

 */

 

I tried to replace /usr/include/resolv.h with a Linux version and later moved 
it to /usr/local/include, but that didn't work.

 

What would be the proper way to fix this problem?

 

Regards,

 

Luc Dumont

Administrateur de systèmes - Registre foncier

Bell Solutions d'impartition en T.I.C.

Téléphone: 514-879-0045

Pagette: 514-201-9104

 

 

<<image001.gif>>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to