Date: Wed, 20 Sep 2023 11:56:43 +0000 From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 273845] emulators/qemu-user-static: ld: error: undefined symbol: elf_getphnum Message-ID: <bug-273845-4077-mkByDmVVQr@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-273845-4077@https.bugs.freebsd.org/bugzilla/> References: <bug-273845-4077@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273845 --- Comment #3 from John Hein <jcfyecrayz@liamekaens.com> --- This seems to be a problem if ports devel/elfutils is installed. It is not= a dependency of qemu-user-static (nor any of ITS dependencies), so in a single port build of qemu-user-static in poudriere, it would not show up as a fail= ure. Simple patch that leaps to mind would be to use "/usr/lib/libelf.so" in the LIBS specification for FreeBSD in the 'configure' script (instead of "-lelf= "). devel/elfutils is two releases behind (0.187 April 2022 vs 0.189 in March 2023). I have not checked to see if that would help yet. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273845-4077-mkByDmVVQr>