Unable to find required library archive command

Helge Blischke h.blischke at acm.org
Thu Jun 14 08:42:05 PDT 2012


Piyush Saxena wrote:

> Me a new bee. I have gotten to the part where, i have installed the
> imaging libraries :- JPEG, PNG, TIFF, and ZLIB libraries. Some where on
> the internet it says to at least install SFWcups, SFWgcmn, SFWoscp,
> SFWespgs, SFWgcc34l from the companion CD but there exists none in the
> i386 folder. Foomatic is done. You see am using VM for my sun 10 operating
> system. GCC looks good with 3.4.6 . I am using CUPS ver 1.5.3 install
> file.
> 
> I am more concerned with the last line below and would like some guidance
> and "help :- configure: error: Unable to find required library archive
> command."
> 
> I go to CUPS dir and type: #./configure and below is the output i get....
> 
> bash-3.2# ./configure
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for ranlib... no
> checking for ar... no
> checking for chmod... /usr/bin/chmod
> checking for gzip... /usr/bin/gzip
> checking for htmldoc... no
> checking for ld... /usr/ucb/ld
> checking for ln... /usr/bin/ln
> checking for mv... /usr/bin/mv
> checking for rm... /usr/bin/rm
> checking for rmdir... /usr/bin/rmdir
> checking for sed... /usr/bin/sed
> checking for xdg-open... no
> checking for install-sh script... using /cups-1.5.3/install-sh
> configure: error: Unable to find required library archive command.

Make sure that /usr/ccs/bin and /usr/xpg4/bin are in the search path. The ar 
command should be in both directories.

Helge





More information about the cups mailing list