netatalk
netatalk copied to clipboard
Conflicting library warnings on NetBSD
With the latest main when building on NetBSD with either build system. Raising a ticket to confirm that it's an existing non-critical issue and not introduced with recent changes.
localhost$ ninja -C build
ninja: Entering directory `build'
[161/232] Linking target etc/afpd/afpd
ld: warning: libintl.so.1, needed by /usr/pkg/lib/libglib-2.0.so, may conflict with libintl.so.8
[232/232] Generating distrib/initscripts/netbsd with a custom command (wrapped by meson to capture output)
It's not wrong. My NetBSD 9.3 VM has both shared libraries...
localhost$ find / -name libintl.so.1 2> /dev/null
/usr/lib/libintl.so.1
localhost$ find / -name libintl.so.8 2> /dev/null
/usr/pkg/lib/libintl.so.8
Akin to https://community.ibm.com/community/user/power/discussion/libintlalibintlso8-conflict
It seems the NetBSD OS has one stock gettext library, and then pkg installs another one as a dependency for dbus-glib, and the linker finds both... :/
I tried to test afpstats end to end, but pkg_add doesn't set up dbus properly on NetBSD 10.0. I'll try to manually configure debus at a later time.
Discarding this. The official pkgsrc package for netatalk4 has opted out from supporting dbus at all, so there's practically no usecase for this at the moment.