installing graphviz from pkgsrc on NetBSD/macppc 9.1
Adam Russell <[email protected]> Wed, 22 Dec 2021 09:09:12 -0500
| Newsgroups | gmane.os.netbsd.ports.macppc |
|---|---|
| Message-ID | <[email protected]> |
Just in case this is helpful to anyone else, I recently got past installation issues with graphviz. after installing graphviz from pkgsrc any use of it would give this error # dot -c Error: /usr/pkg/lib/graphviz/config6 is zero sized, or other read error. Warning: Could not load "/usr/pkg/lib/graphviz/libgvplugin_gd.so.6" - It was found, so perhaps one of its dependents was not. Try ldd. [1] Segmentation fault (core dumped) dot -c It seems to be some missing hidden dependency, but after manually reviewing and re-installing all stated dependencies I was still getting this error. I did not install strace to root this out further. Instead I installed graphviz on a NetBSD/amd64 9.2 system, ran `dot -c` successfully and then copied and pasted the contents of /usr/pkg/lib/graphviz/config6 to the macppc system and everything worked fine thereafter. I might still install strace and try and root out exactly what is going on. Since it now works absolutely fine I suspect that whatever may be missing, if at all, is only related to the writing of the config6 file and not the actual functioning of graphviz? Anyway, I acknowledge this is obscure, but if I find out anything else I will reply back to this thread. I have seen users of other systems (different Linux distributions, and even Windows) with the same error but seemingly not all with the same root cause.