ar: Command not found 

Joined:
04/07/2009
Posts:
135

June 17, 2010 22:01:21    Last update: June 17, 2010 22:02:33
I'm building PostgreSQL 8.4.4 on Solaris 10 and got this ar: Command not found error:
ar crs libpgport.a isinf.o getopt.o chklocale.o copydir.o dirmod.o exec.o noblock.o path.o \
pgsleep.o pgstrcasecmp.o qsort.o qsort_arg.o sprompt.o thread.o
make[2]: ar: Command not found
make[2]: *** [libpgport.a] Error 127


It turned out that the ar command is under the directory /usr/ccs/bin, adding it to the PATH solves the problem:
PATH=/usr/ccs/bin:$PATH
Share |
| Comment  | Tags