Hi gang,
I'm revising my LAN server a bit (odd name, I know ) and ran into a problem while building devel/subversion:
It's obvious that libserf-1.so is having an issue here, this library is provided by www/serf. I can back up this conclusion because as soon as I disable the SERF option for Subversion everything builds cleanly.
For my encryption I rely on both security/openssl and security/heimdal, I also set ssl=openssl in /etc/make.conf to reflect on this.
Serf is configured to use security/heimdal and Heimdal is fully up to date. All ports are up to date by the way.
Yet when I check /usr/local/lib/libserf-1.so.1.3.0 using ldd I noticed something very peculiar:
So instead of using /usr/local/lib/heimdal/libgssapi.so.3.0.0 and libkrb5.so.26.0.0 it reverted back to the libraries of the base system. So yeah, obviously something isn't right here.
My question: which package would be at fault here?
See, at first I am tempted to blame www/serf. After all: I clearly enable Heimdal support and then it doesn't build against Heimdal. But it's also fair to say that several libraries (databases/db5 for example) set up symlinks in /usr/local/lib which I could imagine makes it easier for other packages to detect and use those libraries. And security/heimdal doesn't do this.
For now I'm going to disable Kerberos support entirely because I need https support in Subversion, but I think this problem also needs to be solved.
I'm revising my LAN server a bit (odd name, I know ) and ran into a problem while building devel/subversion:
Code:
/usr/local/lib/libserf-1.so: undefined reference to `__gss_c_nt_hostbased_service_oid_desc'
/usr/local/lib/libserf-1.so: undefined reference to `__gss_spnego_mechanism_oid_desc'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [subversion/tests/cmdline/atomic-ra-revprop-change] Error code 1
make[2]: stopped in /usr/ports/devel/subversion/work/subversion-1.9.7
1 error
For my encryption I rely on both security/openssl and security/heimdal, I also set ssl=openssl in /etc/make.conf to reflect on this.
Serf is configured to use security/heimdal and Heimdal is fully up to date. All ports are up to date by the way.
Yet when I check /usr/local/lib/libserf-1.so.1.3.0 using ldd I noticed something very peculiar:
Code:
/usr/local/lib/libserf-1.so.1.3.0:
libssl.so.9 => /usr/local/lib/libssl.so.9 (0x28217000)
libcrypto.so.9 => /usr/local/lib/libcrypto.so.9 (0x28c00000)
libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x28316000)
libkrb5.so.11 => /usr/lib/libkrb5.so.11 (0x2831f000)
libheimntlm.so.11 => /usr/lib/libheimntlm.so.11 (0x28387000)
libhx509.so.11 => /usr/lib/libhx509.so.11 (0x2838e000)
libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x283ce000)
libhcrypto.so.4 => /usr/local/lib/heimdal/libhcrypto.so.4 (0x28f2b000)
My question: which package would be at fault here?
See, at first I am tempted to blame www/serf. After all: I clearly enable Heimdal support and then it doesn't build against Heimdal. But it's also fair to say that several libraries (databases/db5 for example) set up symlinks in /usr/local/lib which I could imagine makes it easier for other packages to detect and use those libraries. And security/heimdal doesn't do this.
For now I'm going to disable Kerberos support entirely because I need https support in Subversion, but I think this problem also needs to be solved.