> -----Message d'origine----- > De : Stuart Henderson [mailto:s...@spacehopper.org] > Envoyé : 11 octobre 2016 15:59 > À : Leclerc, Sebastien > Cc : ports@openbsd.org > Objet : Re: openvpn-auth-ldap problem > > 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. >
rtld loading: 'openvpn' exe load offset: 0x92628f00000 flags /usr/local/sbin/openvpn = 0x0 head /usr/local/sbin/openvpn obj /usr/local/sbin/openvpn has /usr/local/sbin/openvpn as head examining: '/usr/local/sbin/openvpn' loading: liblzo2.so.1.0 required by /usr/local/sbin/openvpn flags /usr/local/lib/liblzo2.so.1.0 = 0x0 obj /usr/local/lib/liblzo2.so.1.0 has /usr/local/sbin/openvpn as head loading: libcrypto.so.38.1 required by /usr/local/sbin/openvpn flags /usr/lib/libcrypto.so.38.1 = 0x0 obj /usr/lib/libcrypto.so.38.1 has /usr/local/sbin/openvpn as head loading: libssl.so.39.1 required by /usr/local/sbin/openvpn flags /usr/lib/libssl.so.39.1 = 0x0 obj /usr/lib/libssl.so.39.1 has /usr/local/sbin/openvpn as head loading: libc.so.89.2 required by /usr/local/sbin/openvpn flags /usr/lib/libc.so.89.2 = 0x0 obj /usr/lib/libc.so.89.2 has /usr/local/sbin/openvpn as head linking dep /usr/local/lib/liblzo2.so.1.0 as child of /usr/local/sbin/openvpn linking dep /usr/lib/libssl.so.39.1 as child of /usr/local/sbin/openvpn linking dep /usr/lib/libcrypto.so.38.1 as child of /usr/local/sbin/openvpn linking dep /usr/lib/libc.so.89.2 as child of /usr/local/sbin/openvpn examining: '/usr/local/lib/liblzo2.so.1.0' examining: '/usr/lib/libssl.so.39.1' loading: libcrypto.so.38.1 required by /usr/lib/libssl.so.39.1 linking dep /usr/lib/libcrypto.so.38.1 as child of /usr/lib/libssl.so.39.1 examining: '/usr/lib/libcrypto.so.38.1' examining: '/usr/lib/libc.so.89.2' flags /usr/libexec/ld.so = 0x0 obj /usr/libexec/ld.so has /usr/local/sbin/openvpn as head protect start RELRO = 0x92888f7eb20 in /usr/lib/libc.so.89.2 protect end RELRO = 0x92888f80000 in /usr/lib/libc.so.89.2 protect start RELRO = 0x92888aa6520 in /usr/lib/libcrypto.so.38.1 protect end RELRO = 0x92888ac4000 in /usr/lib/libcrypto.so.38.1 protect start RELRO = 0x92918569638 in /usr/lib/libssl.so.39.1 protect end RELRO = 0x9291856d000 in /usr/lib/libssl.so.39.1 protect start RELRO = 0x928fb04fc50 in /usr/local/lib/liblzo2.so.1.0 protect end RELRO = 0x928fb050000 in /usr/local/lib/liblzo2.so.1.0 protect start RELRO = 0x9262919f958 in /usr/local/sbin/openvpn protect end RELRO = 0x926291a0fd0 in /usr/local/sbin/openvpn Start End Type Open Ref GrpRef Name 0000092628f00000 00000926291a2000 exe 1 0 0 /usr/local/sbin/openvpn 00000928fae31000 00000928fb051000 rlib 0 1 0 /usr/local/lib/liblzo2.so.1.0 0000092918318000 0000092918572000 rlib 0 1 0 /usr/lib/libssl.so.39.1 0000092888701000 0000092888ad0000 rlib 0 2 0 /usr/lib/libcrypto.so.38.1 0000092888cc8000 0000092888f93000 rlib 0 1 0 /usr/lib/libc.so.89.2 000009282dc00000 000009282dc00000 rtld 0 1 0 /usr/libexec/ld.so symcache lookups 614 hits 0 ratio 0% hits dynamic loading done, success. tib new=0x92915a331c0 setting environ 0x9282de0d000@/usr/libexec/ld.so[0x928a7db2400] from 0x9282de0d000 setting __progname 0x9282de0d008@/usr/libexec/ld.so[0x928a7db2400] from 0x9282de0d008 doing ctors obj 0x928cfe97400 @0x928fae312e0: [/usr/local/lib/liblzo2.so.1.0] doing ctors obj 0x928a7db2c00 @0x928887012e0: [/usr/lib/libcrypto.so.38.1] doing ctors obj 0x928cfe97800 @0x929183182e0: [/usr/lib/libssl.so.39.1] entry point: 0x92628f01650 dlopen: loading: /usr/local/lib/openvpn-auth-ldap.so flags /usr/local/lib/openvpn-auth-ldap.so = 0x0 head /usr/local/lib/openvpn-auth-ldap.so obj /usr/local/lib/openvpn-auth-ldap.so has /usr/local/lib/openvpn-auth-ldap.so as head linking /usr/local/lib/openvpn-auth-ldap.so as dlopen()ed head [/usr/local/lib/openvpn-auth-ldap.so] examining: '/usr/local/lib/openvpn-auth-ldap.so' loading: liblber.so.12.0 required by /usr/local/lib/openvpn-auth-ldap.so flags /usr/local/lib/liblber.so.12.0 = 0x0 obj /usr/local/lib/liblber.so.12.0 has /usr/local/lib/openvpn-auth-ldap.so as head loading: libldap.so.13.1 required by /usr/local/lib/openvpn-auth-ldap.so flags /usr/local/lib/libldap.so.13.1 = 0x0 obj /usr/local/lib/libldap.so.13.1 has /usr/local/lib/openvpn-auth-ldap.so as head loading: libobjc.so.6.0 required by /usr/local/lib/openvpn-auth-ldap.so flags /usr/lib/libobjc.so.6.0 = 0x0 obj /usr/lib/libobjc.so.6.0 has /usr/local/lib/openvpn-auth-ldap.so as head linking dep /usr/local/lib/libldap.so.13.1 as child of /usr/local/lib/openvpn-auth-ldap.so linking dep /usr/local/lib/liblber.so.12.0 as child of /usr/local/lib/openvpn-auth-ldap.so linking dep /usr/lib/libobjc.so.6.0 as child of /usr/local/lib/openvpn-auth-ldap.so examining: '/usr/local/lib/libldap.so.13.1' loading: libsasl2.so.3.0 required by /usr/local/lib/libldap.so.13.1 flags /usr/local/lib/libsasl2.so.3.0 = 0x0 obj /usr/local/lib/libsasl2.so.3.0 has /usr/local/lib/openvpn-auth-ldap.so as head loading: libcrypto.so.38.1 required by /usr/local/lib/libldap.so.13.1 loading: libssl.so.39.1 required by /usr/local/lib/libldap.so.13.1 loading: liblber-2.4.so.12.0 required by /usr/local/lib/libldap.so.13.1 linking dep /usr/local/lib/liblber.so.12.0 as child of /usr/local/lib/libldap.so.13.1 linking dep /usr/local/lib/libsasl2.so.3.0 as child of /usr/local/lib/libldap.so.13.1 linking dep /usr/lib/libssl.so.39.1 as child of /usr/local/lib/libldap.so.13.1 linking dep /usr/lib/libcrypto.so.38.1 as child of /usr/local/lib/libldap.so.13.1 examining: '/usr/local/lib/liblber.so.12.0' examining: '/usr/lib/libobjc.so.6.0' examining: '/usr/local/lib/libsasl2.so.3.0' tail /usr/local/lib/openvpn-auth-ldap.so protect start RELRO = 0x9288f6f07d8 in /usr/local/lib/libsasl2.so.3.0 protect end RELRO = 0x9288f6f1000 in /usr/local/lib/libsasl2.so.3.0 protect start RELRO = 0x928bacd07d0 in /usr/lib/libobjc.so.6.0 protect end RELRO = 0x928bacd1000 in /usr/lib/libobjc.so.6.0 protect start RELRO = 0x9289d7daaf0 in /usr/local/lib/liblber.so.12.0 protect end RELRO = 0x9289d7db000 in /usr/local/lib/liblber.so.12.0 protect start RELRO = 0x928b4a6b6c8 in /usr/local/lib/libldap.so.13.1 protect end RELRO = 0x928b4a6d000 in /usr/local/lib/libldap.so.13.1 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 protect start RELRO = 0x928e82f0a28 in /usr/local/lib/openvpn-auth-ldap.so protect end RELRO = 0x928e82f1000 in /usr/local/lib/openvpn-auth-ldap.so doing ctors obj 0x928cfe97c00 @0x9289d5cd2e0: [/usr/local/lib/liblber.so.12.0] doing ctors obj 0x928cfe97000 @0x9288f4d52e0: [/usr/local/lib/libsasl2.so.3.0] doing ctors obj 0x928c30c1c00 @0x928b48242e0: [/usr/local/lib/libldap.so.13.1] doing ctors obj 0x928c30c1000 @0x928baab32e0: [/usr/lib/libobjc.so.6.0] doing ctors obj 0x928c30c2800 @0x928e80d52e0: [/usr/local/lib/openvpn-auth-ldap.so] dlopen: /usr/local/lib/openvpn-auth-ldap.so: done (success). dlsym: openvpn_plugin_open_v1 in /usr/local/lib/openvpn-auth-ldap.so: 0x928e80d71b0 dlsym: openvpn_plugin_func_v1 in /usr/local/lib/openvpn-auth-ldap.so: 0x928e80d6620 dlsym: openvpn_plugin_close_v1 in /usr/local/lib/openvpn-auth-ldap.so: 0x928e80d70b0