I am trying to install some software on pfsense 1.2.3 but the scripts are complaining about not finding the dirname binary. I have done a find on the system but cannot find it, and google is not helping either.
Asked
Active
Viewed 144 times
2 Answers
1
Probably pieces (maybe more than just dirname) of stock FreeBSD that we don't include in pfSense as they aren't needed for firewall or related purposes. You can just copy over from a stock 7.2 release for 1.2.3.
![](../../users/profiles/19233.webp)
Chris Buechler
- 2,938
- 14
- 18
0
I'd have thought it was part of the base system. Have you tried just typing dirname or which dirname, and see what comes back? Your scripts might be clearing $PATH and not include /bin or /usr/bin as part of the definition, causing this kind of error.
![](../../users/profiles/42959.webp)
Jon Angliss
- 1,782
- 10
- 8
-
Yeah thats what I expected :( I tried doing a find / -name dirname ... its not there, so I am downloading freebsd 7.2 and will try to extract binary from there. – user65682 Jan 05 '11 at 03:10
-
It is part of the base install, but as Chris Buechler points out, not all of base is included in pfSense. – Chris S Jan 05 '11 at 14:19