Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Dec 1999 12:24:10 -0800
From:      Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        Kevin Entringer <kevin@tarvalon.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: X11 
Message-ID:  <199912262024.MAA37276@cwsys.cwsent.com>
In-Reply-To: Your message of "Sun, 26 Dec 1999 11:30:23 CST." <Pine.BSF.4.21.9912261128330.33832-100000@discord.tarvalon.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.21.9912261128330.33832-100000@discord.tarvalon.net>, Kev
in Entringer writes:
> Thanks for the suggestion.  I suspect that this was the problem, however X
> is still not working.  The following no happens:
> 
> Dec 26 11:29:13 discord login: ROOT LOGIN (root) ON ttyv3
> Dec 26 11:29:14 discord Xwrapper: unable to dlopen(/usr/lib/pam_unix.so)
> Dec 26 11:29:14 discord
> Xwrapper: [dlerror: /usr/lib/pam_unix.so: Undefined symb
> ol "crypt"]
> Dec 26 11:29:14 discord Xwrapper: adding faulty
> module: /usr/lib/pam_unix.so

It appears that the problem was fixed in -current and not in -stable:

markm       1999/09/30 11:53:34 PDT
  
  Modified files:
    lib/libpam/modules/pam_unix Makefile
  Log:
  Add libcrypt. This previously/coincidentally worked for login, 
  because login was already linked against it, but others have a  
  problem.
  
  Revision  Changes    Path
  1.4       +3 -3      src/lib/libpam/modules/pam_unix/Makefile

Even though the patch is for -current, it applies cleanly to -stable.  
Would someone please MFC this.

Kevin, apply the following patch to and rebuild pam_unix.  I've 
modified the "old" $FreeBSD$ to allow the patch to apply cleanly.

===================================================================
RCS file: /home/ncvs/src/lib/libpam/modules/pam_unix/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -p -u -r1.3 -r1.4
--- src/lib/libpam/modules/pam_unix/Makefile	1999/05/08 01:59:27	1.3
+++ /home/ncvs/src/lib/libpam/modules/pam_unix/Makefile	1999/09/30 18:53:34	1.4
@@ -22,7 +22,7 @@
 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 # SUCH DAMAGE.
 #
-#	$FreeBSD: src/lib/libpam/modules/pam_unix/Makefile,v 1.2.2.1 1999/05/08 21:32:00 jdp Exp $
+#	$FreeBSD: src/lib/libpam/modules/pam_unix/Makefile,v 1.3 1999/05/08 01:59:27 jdp Exp $
 
 PAMDIR=		${.CURDIR}/../../../../contrib/libpam
 
@@ -32,8 +32,8 @@ SRCS=		pam_unix.c
 CFLAGS+=	-Wall
 CFLAGS+=	-I${PAMDIR}/libpam/include
 CFLAGS+=	-I${.CURDIR}/../../libpam
-DPADD+=		${LIBUTIL} ${LIBGCC_PIC}
-LDADD+=		-lutil -lgcc_pic
+DPADD+=		${LIBUTIL} ${LIBGCC_PIC} ${LIBCRYPT}
+LDADD+=		-lutil -lgcc_pic -lcrypt
 INTERNALLIB=	yes
 INTERNALSTATICLIB=yes
 


Regards,                       Phone:  (250)387-8437
Cy Schubert                      Fax:  (250)387-5766
Sun/DEC Team, UNIX Group    Internet:  Cy.Schubert@uumail.gov.bc.ca
ITSD
Province of BC
                      "e**(i*pi)+1=0"





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912262024.MAA37276>