I think "/usr/local/etc/rc.d/gcc41.sh" should not be used on 6.0 and higher, since ldconfig_compat (see "/etc/rc.d/ldconfig") already provides a mechanism for that in the base system.