Hello, I have an install.site script which calls (among others) these commands:- [â¦] packages="git letsencrypt postgresql-server vimâno_x11" [â¦] pkg_add $packages [â¦]
When the script is executed, the following errors appears:- [â¦] git-2.7.0:libiconv-1.14p3 (installing) [â¦] 3% ldconfig: /var/run/ld.so.hints: No such file or directory [â¦] postgresql-server-9.4.6:libxml-2.9.3 (installing) [â¦] 100% /usr/local/bin/xmlcatalog: canât load library âlibxml2.so.15.1â [â¦] I am not sure if these are harmful errors, but I am operating on the assumption they are (particularly the second one). My thinking at this stage is either to: (1) Move the pkg_add(1) command to /etc/rc.firsttime. This which would also mean moving a whole lot of other scripted commands that depends on these packages to /erc/rc.firsttime as well so I am keen to avoid this approach if possible. (2) Figure out a way to fix ldconfig(8) so it works during the execution of install.site. Iâve read the ldconfig(8) man page. Despite that Iâm still not confident that itâs wise to call ldconfig(8) during the execution of install.site. And even if would work, I am not sure which flags, if any, would be appropriate. I would appreciate any tips. :) Regards, James