Hi Simon, Simon McVittie wrote: > > emacs25: symbol lookup error: > > /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0: undefined symbol: > > g_date_copy [fast forward → TL;DR]
> In fact, running > > LD_BIND_NOW=1 /usr/lib/arm-linux-gnueabihf/glib-2.0/gio-querymodules > > and seeing whether it fails might also give interesting information. It fails in the same way as emacs fails: ~ → LD_BIND_NOW=1 /usr/lib/arm-linux-gnueabihf/glib-2.0/gio-querymodules /usr/lib/arm-linux-gnueabihf/glib-2.0/gio-querymodules: symbol lookup error: /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0: undefined symbol: g_date_copy Downgrading helps also here: ~ → LD_BIND_NOW=1 /usr/lib/arm-linux-gnueabihf/glib-2.0/gio-querymodules Usage: gio-querymodules <directory1> [<directory2> ...] Will update giomodule.cache in the listed directories For completeness, following is the remainder of the questions with the long answers. ;-) > I would normally ask: if you run `ldd emacs25`, what does it say? Ah, right. Should have done that in the initial mail: ~ → emacs25 emacs25: symbol lookup error: /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0: undefined symbol: g_date_copy ~ → ldd =emacs25 libtiff.so.5 => /usr/lib/arm-linux-gnueabihf/libtiff.so.5 (0x76ec3000) libjpeg.so.62 => /usr/lib/arm-linux-gnueabihf/libjpeg.so.62 (0x76e8a000) libpng16.so.16 => /usr/lib/arm-linux-gnueabihf/libpng16.so.16 (0x76e59000) libgif.so.7 => /usr/lib/arm-linux-gnueabihf/libgif.so.7 (0x76e43000) libXpm.so.4 => /usr/lib/arm-linux-gnueabihf/libXpm.so.4 (0x76e27000) libXaw3d.so.6 => /usr/lib/arm-linux-gnueabihf/libXaw3d.so.6 (0x76dd3000) libXmu.so.6 => /usr/lib/arm-linux-gnueabihf/libXmu.so.6 (0x76db3000) libXt.so.6 => /usr/lib/arm-linux-gnueabihf/libXt.so.6 (0x76d68000) libSM.so.6 => /usr/lib/arm-linux-gnueabihf/libSM.so.6 (0x76d52000) libICE.so.6 => /usr/lib/arm-linux-gnueabihf/libICE.so.6 (0x76d31000) libXext.so.6 => /usr/lib/arm-linux-gnueabihf/libXext.so.6 (0x76d16000) libX11.so.6 => /usr/lib/arm-linux-gnueabihf/libX11.so.6 (0x76c21000) libX11-xcb.so.1 => /usr/lib/arm-linux-gnueabihf/libX11-xcb.so.1 (0x76c0f000) libxcb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb.so.1 (0x76be7000) libXrender.so.1 => /usr/lib/arm-linux-gnueabihf/libXrender.so.1 (0x76bd0000) libXft.so.2 => /usr/lib/arm-linux-gnueabihf/libXft.so.2 (0x76bb2000) libasound.so.2 => /usr/lib/arm-linux-gnueabihf/libasound.so.2 (0x76afd000) librsvg-2.so.2 => /usr/lib/arm-linux-gnueabihf/librsvg-2.so.2 (0x76ac9000) libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x76a48000) libgio-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgio-2.0.so.0 (0x7693a000) libgdk_pixbuf-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgdk_pixbuf-2.0.so.0 (0x76910000) libgobject-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 (0x768c8000) libglib-2.0.so.0 => /lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0x767ef000) libcairo.so.2 => /usr/lib/arm-linux-gnueabihf/libcairo.so.2 (0x76731000) libMagickWand-6.Q16.so.5 => /usr/lib/arm-linux-gnueabihf/libMagickWand-6.Q16.so.5 (0x7664b000) libMagickCore-6.Q16.so.5 => /usr/lib/arm-linux-gnueabihf/libMagickCore-6.Q16.so.5 (0x7643b000) libacl.so.1 => /lib/arm-linux-gnueabihf/libacl.so.1 (0x76425000) librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x7640f000) libdbus-1.so.3 => /lib/arm-linux-gnueabihf/libdbus-1.so.3 (0x763ce000) libXrandr.so.2 => /usr/lib/arm-linux-gnueabihf/libXrandr.so.2 (0x763b7000) libXinerama.so.1 => /usr/lib/arm-linux-gnueabihf/libXinerama.so.1 (0x763a4000) libXfixes.so.3 => /usr/lib/arm-linux-gnueabihf/libXfixes.so.3 (0x76390000) libxml2.so.2 => /usr/lib/arm-linux-gnueabihf/libxml2.so.2 (0x7626d000) libgpm.so.2 => /usr/lib/arm-linux-gnueabihf/libgpm.so.2 (0x76256000) libtinfo.so.5 => /lib/arm-linux-gnueabihf/libtinfo.so.5 (0x7622b000) libselinux.so.1 => /lib/arm-linux-gnueabihf/libselinux.so.1 (0x76201000) libfreetype.so.6 => /usr/lib/arm-linux-gnueabihf/libfreetype.so.6 (0x76185000) libfontconfig.so.1 => /usr/lib/arm-linux-gnueabihf/libfontconfig.so.1 (0x76146000) libotf.so.0 => /usr/lib/arm-linux-gnueabihf/libotf.so.0 (0x76127000) libm17n-core.so.0 => /usr/lib/arm-linux-gnueabihf/libm17n-core.so.0 (0x760fa000) libm17n-flt.so.0 => /usr/lib/arm-linux-gnueabihf/libm17n-flt.so.0 (0x760e2000) libgnutls.so.30 => /usr/lib/arm-linux-gnueabihf/libgnutls.so.30 (0x75fdf000) libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x75fba000) libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0x75f98000) libgomp.so.1 => /usr/lib/arm-linux-gnueabihf/libgomp.so.1 (0x75f68000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x75e70000) /lib/ld-linux-armhf.so.3 (0x76f3d000) liblzma.so.5 => /lib/arm-linux-gnueabihf/liblzma.so.5 (0x75e46000) libjbig.so.0 => /usr/lib/arm-linux-gnueabihf/libjbig.so.0 (0x75e2b000) libuuid.so.1 => /lib/arm-linux-gnueabihf/libuuid.so.1 (0x75e15000) libbsd.so.0 => /lib/arm-linux-gnueabihf/libbsd.so.0 (0x75df2000) libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x75ddf000) libXau.so.6 => /usr/lib/arm-linux-gnueabihf/libXau.so.6 (0x75dcc000) libXdmcp.so.6 => /usr/lib/arm-linux-gnueabihf/libXdmcp.so.6 (0x75db8000) libpangocairo-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpangocairo-1.0.so.0 (0x75d9f000) libpangoft2-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpangoft2-1.0.so.0 (0x75d7f000) libpango-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpango-1.0.so.0 (0x75d40000) libcroco-0.6.so.3 => /usr/lib/arm-linux-gnueabihf/libcroco-0.6.so.3 (0x75d0b000) libgmodule-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgmodule-2.0.so.0 (0x75cf8000) libresolv.so.2 => /lib/arm-linux-gnueabihf/libresolv.so.2 (0x75cd8000) libmount.so.1 => /lib/arm-linux-gnueabihf/libmount.so.1 (0x75c8f000) libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6 (0x75c79000) libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0x75c1c000) libpixman-1.so.0 => /usr/lib/arm-linux-gnueabihf/libpixman-1.so.0 (0x75b94000) libxcb-shm.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-shm.so.0 (0x75b81000) libxcb-render.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-render.so.0 (0x75b66000) libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x75b3d000) liblcms2.so.2 => /usr/lib/arm-linux-gnueabihf/liblcms2.so.2 (0x75af6000) liblqr-1.so.0 => /usr/lib/arm-linux-gnueabihf/liblqr-1.so.0 (0x75add000) libfftw3.so.3 => /usr/lib/arm-linux-gnueabihf/libfftw3.so.3 (0x75a01000) libbz2.so.1.0 => /lib/arm-linux-gnueabihf/libbz2.so.1.0 (0x759e5000) libltdl.so.7 => /usr/lib/arm-linux-gnueabihf/libltdl.so.7 (0x759ce000) libattr.so.1 => /lib/arm-linux-gnueabihf/libattr.so.1 (0x759ba000) libsystemd.so.0 => /lib/arm-linux-gnueabihf/libsystemd.so.0 (0x75952000) libicui18n.so.57 => /usr/lib/arm-linux-gnueabihf/libicui18n.so.57 (0x757a7000) libicuuc.so.57 => /usr/lib/arm-linux-gnueabihf/libicuuc.so.57 (0x7567d000) libicudata.so.57 => /usr/lib/arm-linux-gnueabihf/libicudata.so.57 (0x73df0000) libexpat.so.1 => /lib/arm-linux-gnueabihf/libexpat.so.1 (0x73dbe000) libthai.so.0 => /usr/lib/arm-linux-gnueabihf/libthai.so.0 (0x73da7000) libp11-kit.so.0 => /usr/lib/arm-linux-gnueabihf/libp11-kit.so.0 (0x73ce6000) libidn2.so.0 => /usr/lib/arm-linux-gnueabihf/libidn2.so.0 (0x73cbb000) libunistring.so.2 => /usr/lib/arm-linux-gnueabihf/libunistring.so.2 (0x73b4f000) libtasn1.so.6 => /usr/lib/arm-linux-gnueabihf/libtasn1.so.6 (0x73b33000) libnettle.so.6 => /usr/lib/arm-linux-gnueabihf/libnettle.so.6 (0x73af5000) libhogweed.so.4 => /usr/lib/arm-linux-gnueabihf/libhogweed.so.4 (0x73abc000) libgmp.so.10 => /usr/lib/arm-linux-gnueabihf/libgmp.so.10 (0x73a61000) libharfbuzz.so.0 => /usr/lib/arm-linux-gnueabihf/libharfbuzz.so.0 (0x739de000) libfribidi.so.0 => /usr/lib/arm-linux-gnueabihf/libfribidi.so.0 (0x739b9000) libblkid.so.1 => /lib/arm-linux-gnueabihf/libblkid.so.1 (0x73977000) liblz4.so.1 => /usr/lib/arm-linux-gnueabihf/liblz4.so.1 (0x7395b000) libgcrypt.so.20 => /lib/arm-linux-gnueabihf/libgcrypt.so.20 (0x738a5000) libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0x7379a000) libdatrie.so.1 => /usr/lib/arm-linux-gnueabihf/libdatrie.so.1 (0x73786000) libgraphite2.so.3 => /usr/lib/arm-linux-gnueabihf/libgraphite2.so.3 (0x73759000) libgpg-error.so.0 => /lib/arm-linux-gnueabihf/libgpg-error.so.0 (0x73738000) (Yeah, too much. And it's actually "just" emacs25-nox, not the full-blown variant. ;-) > `ldd /usr/lib/arm-linux-gnueabihf/glib-2.0/gio-querymodules` might give > a more concise answer that still contains the information I'm looking for. ~ → ldd /usr/lib/arm-linux-gnueabihf/glib-2.0/gio-querymodules libgio-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgio-2.0.so.0 (0x76e3f000) libgobject-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 (0x76df7000) libgmodule-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgmodule-2.0.so.0 (0x76de4000) libglib-2.0.so.0 => /lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0x76d0d000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76c15000) /lib/ld-linux-armhf.so.3 (0x76f72000) libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0x76bf3000) libselinux.so.1 => /lib/arm-linux-gnueabihf/libselinux.so.1 (0x76bc9000) libresolv.so.2 => /lib/arm-linux-gnueabihf/libresolv.so.2 (0x76ba9000) libmount.so.1 => /lib/arm-linux-gnueabihf/libmount.so.1 (0x76b60000) libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6 (0x76b4a000) libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x76b37000) libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0x76ad8000) libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x76ab3000) libblkid.so.1 => /lib/arm-linux-gnueabihf/libblkid.so.1 (0x76a71000) librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x76a5b000) libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x76a32000) libuuid.so.1 => /lib/arm-linux-gnueabihf/libuuid.so.1 (0x76a1c000) P.S.: Hardware is a Raspberry Pi 2, in case it makes any difference. Regards, Axel -- ,''`. | Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE