On 2016/10/11 19:00, Leclerc, Sebastien wrote: > When starting OpenVPN with module openvpn-auth-ldap activated, I get the > following: > > openvpn:/usr/local/lib/openvpn-auth-ldap.so: /usr/lib/libobjc.so.6.0 : > WARNING: symbol(__objc_class_name_Protocol) size mismatch, relink your program > openvpn:/usr/local/lib/openvpn-auth-ldap.so: /usr/lib/libobjc.so.6.0 : > WARNING: symbol(__objc_class_name_Object) size mismatch, relink your program > > Openvpn and openvpn-auth-ldap are installed as packages. > > This is from a snapshot (amd64) : > OpenBSD 6.0-current (GENERIC.MP) #2518: Sun Oct 2 21:41:07 MDT 2016 > openvpn-2.3.11 > openvpn-auth-ldap-2.0.3.p2 > > Same result from 5.9 with patch (amd64) : > OpenBSD 5.9 (GENERIC.MP) #8: Thu Jul 14 20:12:22 CEST 2016 > openvpn-2.3.10 > openvpn-auth-ldap-2.0.3p1 > > > Sebastien Leclerc >
libobjc in base and in ports have the same shared library major and shouldn't. However I don't see how it's causing this conflict. Please send output from running openvpn with LD_DEBUG set in the environment. Index: 4.9/Makefile =================================================================== RCS file: /cvs/ports/lang/gcc/4.9/Makefile,v retrieving revision 1.41 diff -u -p -r1.41 Makefile --- 4.9/Makefile 18 Sep 2016 15:05:15 -0000 1.41 +++ 4.9/Makefile 11 Oct 2016 19:56:36 -0000 @@ -4,7 +4,7 @@ ONLY_FOR_ARCHS = amd64 arm hppa i386 mip DPB_PROPERTIES = parallel V = 4.9.4 -REVISION = 2 +REVISION = 3 FULL_VERSION = $V FULL_PKGVERSION = $V @@ -44,7 +44,7 @@ SHARED_LIBS = estdc++ 17.0 \ gcj 4.0 \ gcj-tools 4.0 \ gij 4.0 \ - objc 6.0 \ + objc 7.0 \ ssp 4.0 \ lto_plugin 3.0 \ go 3.0 \