On Fri, Mar 09, Olaf Hering wrote: > abuild@latitude:~> readelf -Wa /usr/lib64/libpython2.7.so | grep dlsym > 00000000003e5e08 000000d900000007 R_X86_64_JUMP_SLOT 0000000000000000 > dlsym@GLIBC_2.2.5 + 0 > 217: 0000000000000000 0 FUNC GLOBAL DEFAULT UND dlsym@GLIBC_2.2.5 > (10) > abuild@latitude:~> readelf -Wa /usr/lib64/libxenstore.so | grep dlsym > 00000000002071b0 0000002b00000007 R_X86_64_JUMP_SLOT 0000000000000000 > dlsym + 0 > 43: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND dlsym
The difference is SUSE_ASNEEDED=1 in environment. If it is set, libxenstore.so will not link to libdl.so. If it is not, libxenstore.so will link to libdl.so. Since package building exports SUSE_ASNEEDED=1 usage of -lxenstore will fail. Not sure how all the other packages use dlsym(), clearly xenstore does something different. Olaf
signature.asc
Description: PGP signature
_______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
