5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier-IMAP 1.3....
FromSent OnAttachments
Tabor J. WellsMay 3, 2001 5:42 pm.patch
Tabor J. WellsMay 3, 2001 6:13 pm.patch
Larry MooreMay 3, 2001 6:29 pm 
Sam VarshavchikMay 3, 2001 6:30 pm 
Tabor J. WellsMay 3, 2001 8:57 pm.patch
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Courier-IMAP 1.3.8 linking problem on Solaris (patch attached)Actions...
From:Tabor J. Wells (twe@atg.com)
Date:May 3, 2001 8:57:55 pm
List:net.sourceforge.lists.courier-users
Attachments:

On Fri, May 04, 2001 at 01:30:53AM +0000, Sam Varshavchik <mrs@courier-mta.com> is thought to have said:

Tabor J. Wells writes:

In authlib/Makefile NETLIBS is defined but never referred to.

Of course it is:

NETLIBS = @NETLIBS@ authmysql_LDADD = libauthmod.a libauth.a @HMACLIB@ @MD5LIB@ @SHA1LIB@ @SHA1LIB@ $(CRYPTLIBS) @MYSQL_LIBS@ @LIBM@ @NETLIBS@ authldap_LDADD = libauthmod.a libauth.a @HMACLIB@ @MD5LIB@ @SHA1LIB@ @LDAPLIBS@ $(CRYPTLIBS) @NETLIBS@ authdaemon_LDADD = libauthmod.a libauth.a ../numlib/libnumlib.a @NETLIBS@ authdaemontest_LDADD = libauth.a libauthmod.a ../numlib/libnumlib.a @NETLIBS@ authmksock_LDADD = @NETLIBS@ echo @HMACLIB@ @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) @MYSQL_LIBS@ @LIBM@ @NETLIBS@ > authmysql.libsdep echo @HMACLIB@ @MD5LIB@ @SHA1LIB@ @LDAPLIBS@ $(CRYPTLIBS) @NETLIBS@\ echo ../numlib/libnumlib.a @NETLIBS@ >authdaemon.libsdep

The attached patch to authlib/Makefile.in fixes this and allows Courier-IMAP to compile clean on Solaris.

No, Homey don't do dat. What target needs NETLIBS? The right fix is to fix the target with the dependency.

Ah. I understad what you're saying. Looks like it's authpam. How about this patch instead? BTW this was on Solaris 7

Tabor

*** authlib/Makefile.in.orig Thu May 3 20:58:14 2001 --- authlib/Makefile.in Thu May 3 23:45:07 2001 *************** *** 1369,1375 **** $(authcustomlibsdep) \ /dev/null | @SHELL@ $(srcdir)/libauth.sh @SHELL@ $(srcdir) >libauth1.dep authpam.libsdep: authpam ! echo -lpam @SHADOWLIBS@ @AUTHPAMCRYPT@ @LIBDL@ >authpam.libsdep authpwd.libsdep: authpwd echo @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) >authpwd.libsdep authshadow.libsdep: authshadow --- 1369,1375 ---- $(authcustomlibsdep) \ /dev/null | @SHELL@ $(srcdir)/libauth.sh @SHELL@ $(srcdir) >libauth1.dep authpam.libsdep: authpam ! echo -lpam @SHADOWLIBS@ @AUTHPAMCRYPT@ @LIBDL@ @NETLIBS@ >authpam.libsdep authpwd.libsdep: authpwd echo @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) >authpwd.libsdep authshadow.libsdep: authshadow