- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CourierIMAP (authlib) - Cannot find function r...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2008 07:10 AM
тАО03-28-2008 07:10 AM
I'm trying to compile courier-authlib-0.60.2 on HP-UX 11.23 Itanium platform.
Configure script yields about :
checking whether -lresolv is needed for res_query... configure: error: Cannot find function res_query
I checked on mailinglists to this problem but there is no solution to it.
I found out that /usr/include/resolv.h file of HP-UX 11.23 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.
*/
How can I fix this prob ? Has someone installed properly CourierIMAP with Authlib on HP-UX11.23 IA64 ?
May you give me a hints/pointers ?
Any answer appreaciated!
Regards
Bartos
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2008 08:18 PM
тАО03-28-2008 08:18 PM
Re: CourierIMAP (authlib) - Cannot find function res_query
$ nm -px /usr/lib/hpux32/lib* | fgrep res_query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 02:39 AM
тАО03-31-2008 02:39 AM
Re: CourierIMAP (authlib) - Cannot find function res_query
yes I found res_query in different locations, but I guess I don't know how to use it ? Should I pass this libs during configuration?
Cause I already tried, and it didn't help.
Bartos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 03:44 AM
тАО03-31-2008 03:44 AM
Re: CourierIMAP (authlib) - Cannot find function res_query
You need to find entries that have a "T" for an exported function, not "U" for an unsat.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 04:12 AM
тАО03-31-2008 04:12 AM
Re: CourierIMAP (authlib) - Cannot find function res_query
Results in:
/*
nm: /usr/lib/hpux32/lib.b: bad magic
0x00000000 a ../../../../../core/libs/libc/shared_em_32/../net/bsdipc/res_query.c
0x040773a0 t T_e_1711_cl__res_querydomain
0x040746a0 t _res_query
0x04076140 t _res_querydomain
0x040746a0 T res_query
0x04076140 T res_querydomain
0x00000000 a ../../../../../core/libs/libc/shared_em_32/../net/bsdipc/res_query.c
0x040773a0 t T_e_1711_cl__res_querydomain
0x040746a0 t _res_query
0x04076140 t _res_querydomain
0x040746a0 T res_query
0x04076140 T res_querydomain
nm: /usr/lib/hpux32/libc_symbols: bad magic
no symbols
0x00000000 U res_query
0x00000000 U res_query
nm: /usr/lib/hpux32/libp: bad magic
nm: /usr/lib/hpux32/libsasl2.la: bad magic
no symbols
*/
I see "0x040746a0 T res_query" that you mentioned, and what now ? Still no idea how to use this information to solve my prob...
Bartos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 04:18 AM
тАО03-31-2008 04:18 AM
SolutionSorry, I forgot some options:
$ nm -pxAN /usr/lib/hpux32/lib* | fgrep res_query
This should list the lib in question. It probably will show it is in libc.
If so, the config script is broken:
checking whether -lresolv is needed for res_query... configure: error: Cannot find function res_query
I.e. it shouldn't add -lresolv to the link line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 04:58 AM
тАО03-31-2008 04:58 AM
Re: CourierIMAP (authlib) - Cannot find function res_query
Starting from the beginning"
Do you know any other POP3/IMAP server "compatible" with HPUX 11.23 that will support: -maildir
-LDAP authentication
I already tried CyrusIMAP+CyrusSASL. Both compiling from src and installing from depots but also without success.
Any suggestions ?
Maybe someone has a running configuration of POP3/IMAP server with maildir and LDAP auth. and can propose me smth ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 05:38 PM
тАО03-31-2008 05:38 PM
Re: CourierIMAP (authlib) - Cannot find function res_query
Yes, it is in libc.
>Supposing, configure script is broken, I can forget about compiling Courier in my environment?
No, you just fix the script. There is no libresolv on HP-UX. res_query is in libc.
So if you see -lresolv and change it to -lc, it should work.
Of course the "correct" fix would be to check "uname -s" for "HP-UX" then do that.