Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 1999 10:39:28 -0800 (PST)
From:      Mike Harding <mvh@ix.netcom.com>
To:        Cy.Schubert@uumail.gov.bc.ca
Cc:        kevin@tarvalon.net, freebsd-stable@freebsd.org
Subject:   Re: X11
Message-ID:  <19991228183928.C5FDCA5FF3@netcom1.netcom.com>
In-Reply-To: <199912262024.MAA37276@cwsys.cwsent.com> (message from Cy Schubert - ITSD Open Systems Group on Sun, 26 Dec 1999 12:24:10 -0800)
References:   <199912262024.MAA37276@cwsys.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help

I was just bit by this as well - I rebuilt my X server and was unable
to log in...

- Mike Harding

   Reply-To: Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
   From: Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
   X-OS: FreeBSD 3.4-RELEASE
   X-Sender: cy
   Cc: freebsd-stable@freebsd.org
   Content-Type: text/plain; charset=us-ascii
   Date: Sun, 26 Dec 1999 12:24:10 -0800
   Sender: owner-freebsd-stable@FreeBSD.ORG
   X-Loop: FreeBSD.ORG
   Precedence: bulk
   X-RULES: lists

   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



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?19991228183928.C5FDCA5FF3>