Summary: | security/sssd: Fails to build: ld: error: unable to find library -lpython3.7m | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | kt | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | Richard, arrowd, brad, lukas.slebodnik, lwhsu, timmons | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(lukas.slebodnik) |
||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
kt
2021-02-02 13:44:58 UTC
(In reply to kt from comment #0) On my 12.2 system /usr/local/lib/libpython3.7m.so was installed by package python37-3.7.9_1 Which python37 do you have installed ? (In reply to Richard Frewin from comment #1) Poudriere built port python37-3.7.9_1. I was able to work around the linking issue by adding the following to my make.conf file for poudriere... --- .if ${.CURDIR:M*/security/sssd} LDFLAGS+=-L/usr/local/lib .endif --- However, I then ran into a packaging issue related to having krb5-1.19 instead of krb5-1.18. This required updating security/sssd/files/patch-src__external__pac_responder.m4 to allow for Kerberos version 1.19. I noticed a similar change was recently made for version 1.18 in ports r557829. Hi, Your solutions works. Created attachment 222950 [details]
Patch to security/sssd 1.16.5_1 - Update allowed Kerberos versions
Here's a patch to the security/sssd port to update the allowed MIT Kerberos 5 versions in src/external/pac_responder.m4 (for compatibility with latest net/samba412).
The patch also bumps PORTREVISION.
Patch works for me as well. This was fixed in 11964e74b9165c24b41ac8e6960f727d36ac4241 |