I have problems getting pdf-tools to run on Emacs (from railwaycat) on MacOs - ARM64 i.e. on Apple Silicon.
GNU Emacs 29.1 (build 1, aarch64-apple-darwin21.6.0, Carbon Version 165 AppKit 2113.6) of 2023-08-08 I installed the pdf-tools without problems (via the drop-down-menu)
pdf-tools 1.1.0 installed Support library for PDF documents but when I execute the standard activation command
(pdf-tools-install) which tries to compile the poppler server, I get warnings and linker errors:
ld: warning: ignoring file /usr/local/opt/gettext/lib/libintl.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 [...] ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [epdfinfo] Error 1 make: *** [all] Error 2 =========================== Build failed. ;o( =========================== Any ideas how can get the compiler to link with ARM64 dynlibs or how to provide/create these?
Any help appreciated!
echo export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig >> ~/.bash_profileto install 'pdf-tools'. But that was in the past. Also see Improved way to install pdf-tools on M1 Macs? & Cannot install pdf-tools on macOS.