di 6.1.0 can't find libintl under MacPorts
advanced disk information utility
Brought to you by:
bll123
While updating the Portfile to version 6.1.0, I ran into a linking problem: link.txt is missing -lintl.
Hence I see
Undefined symbols for architecture arm64:
"_libintl_setlocale", referenced from:
_main in di.c.o
ld: symbol(s) not found for architecture arm64
cmake detects that gettext-runtime is present, but the library is never inserted into the link command.
I manually added it, right after -L/opt/local/lib and got a good build.
I am able to reproduce. I have a syntax error in the CMakeList.txt file.
Do you want to create a patch file for 'di'?
I would like to wait a bit and see if any other bug reports come in.
I've made a patch file.
di now links cleanly.
I'll push this to MacPorts. I can always remove the patch when it is no longer needed.
Fixed in 6.1.0.1.