Summary: | Unable to log in: "libpam.so.5" not found; ports are looking for old libpam.so -- __FreeBSD_version needs to be bumped | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Ben Lavery-Griffiths <ben> | ||||
Component: | bin | Assignee: | Bryan Drewery <bdrewery> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | amd64, bdrewery, girgen, gjb, markj, ngie, tm | ||||
Priority: | --- | Keywords: | regression | ||||
Version: | CURRENT | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Ben Lavery-Griffiths
2016-06-12 11:00:57 UTC
With some additional research, I believe this was introduced in base r301602 (/head/lib/libpam/Makefile.inc) Over to committer of 301602 for comment. Hi, Seems to me you have run make delete-old-libs without first upgrading your ports? /usr/local/lib/pam_gnome_keyring.so must be rebuilt before you remove the old versions of the library? Or in any case, since you run CURRENT, this is the problem. Jun 12 11:41:37 BIL-BSD login: in try_dlopen(): /usr/local/lib/pam_gnome_keyring.so: Shared object "libpam.so.5" not found is because /usr/local/lib/pam_gnome_keyring.so was built when libpam.so.5 was that latest and greatest. It isn't anymore. Update your ports and things will work better. Cheers, Palle As I said in the commit email, __FreeBSD_version was never updated, so the package cluster hasn't rebuilt all of the packages requiring libpam.so, like security/sudo. I've asked bdrewery/markj to help out because I can't commit right for a bit (my laptop is out of commission). A commit references this bug: Author: bdrewery Date: Tue Jun 14 17:15:36 UTC 2016 New revision: 301892 URL: https://svnweb.freebsd.org/changeset/base/301892 Log: Bump __FreeBSD_version for r301602. Reported by: ngie, Ben Lavery PR: 210229 Approved by: re (gjb) Changes: head/sys/sys/param.h Fixed in src. Packages are built every other day and will get this fix then. Workaround (since this hit me recently after I ran make delete-old-libs): - Login as root [from single user mode if need be]. - Run the following command: echo 'libpam.so.5 libpam.so.6' >> /etc/libmap.conf |