/usr/local/sbin/apxs is missing.

Julian H. Stacey jhs at berklix.com
Sun Nov 7 22:18:44 UTC 2010


"Ron (Lists)" wrote:
> Still trying to unscrew my perl installation.  Perl and Apache both 
> fail to install due to the missing /usr/local/sbin/apxs.  I have no 
> idea what failed package removed it, but now I can't install perl.
> Who installs this file?

cd /pri/FreeBSD/releases/current/ports		# or eg cd /usr/ports 
find . -type f -name pkg-plist | xargs grep sbin/apxs

+ There's useful progs here:
	cd /usr/sbin ; echo *pkg*
	pkg_add pkg_create pkg_delete pkg_info pkg_updating pkg_version
with man command for those, 

+ exploration in /var/db/pkg you'll be able to analyse & solve it all.
PS if you start having problems with libs too, try eg ldconfig -R

> It appears to be an apache file, but I can't 
> install apache because it's missing.
> I'm really dead in the water because so much the system requires perl 
> and it was uninstalled by portmaster (for some reason I don't 
> understand) and I can't install it due to the missing file.

Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
    Mail plain text;  Not HTML, quoted-printable & base 64 spam formats.
        Avoid top posting, it cripples itemised cumulative responses.

More information about the freebsd-questions mailing list