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 <[EMAIL PROTECTED]>
   From: Cy Schubert - ITSD Open Systems Group <[EMAIL PROTECTED]>
   X-OS: FreeBSD 3.4-RELEASE
   X-Sender: cy
   Cc: [EMAIL PROTECTED]
   Content-Type: text/plain; charset=us-ascii
   Date: Sun, 26 Dec 1999 12:24:10 -0800
   Sender: [EMAIL PROTECTED]
   X-Loop: FreeBSD.ORG
   Precedence: bulk
   X-RULES: lists

   In message <[EMAIL PROTECTED]>, 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:  [EMAIL PROTECTED]
   ITSD
   Province of BC
                         "e**(i*pi)+1=0"





   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with "unsubscribe freebsd-stable" in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to