You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turned out I was mistaken. The Makefile doesn't set LIBDIR when compiling for aarch64, so PAM_USB_DEST gets set to "//security" rather than "/lib/lib/aarch64-linux-gnu/security" as it should be. This causes pam_usb.so to be installed to "/security/" where it can't be found by PAM.
Turned out I was mistaken. The Makefile doesn't set LIBDIR when compiling for aarch64, so PAM_USB_DEST gets set to "//security" rather than "/lib/lib/aarch64-linux-gnu/security" as it should be. This causes pam_usb.so to be installed to "/security/" where it can't be found by PAM.
I fixed this by adding the following directly after here in the Makefile
After recompiling the deb and installing, pam_usb works as expected and all files appear to be installed to and referencing the correct directories.
I would make a PR to implement this change but I'm not familiar with Fedora or what its libdir would be on aarch64.
Originally posted by @pogmommy in https://github.com/mcdope/pam_usb/discussions/167#discussioncomment-7428948
The text was updated successfully, but these errors were encountered: