netatalk icon indicating copy to clipboard operation
netatalk copied to clipboard

Conflicting library warnings on NetBSD

Open rdmark opened this issue 1 year ago • 2 comments

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)

rdmark avatar May 07 '24 08:05 rdmark

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

rdmark avatar Jul 12 '24 07:07 rdmark

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.

rdmark avatar Jul 12 '24 10:07 rdmark

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.

rdmark avatar Jan 02 '25 21:01 rdmark