Re: Compiling Problems - Squid 1.1.9

From: Duane Wessels <wessels@dont-contact.us>
Date: Tue, 22 Apr 97 09:39:08 -0700

TBRIGLIA@us.oracle.com writes:

>Hi,
>
>Tried compiling Squid on a new system running Solaris 2.5.1 and using gcc
>2.7.2. Hit the following linker error;
>
>gcc -o squid -g acl.o cache_cf.o client_db.o client_side.o comm.o debug.o
>disk.o dns.o errorpage.o event.o fdstat.o filemap.o fqdncache.o ftp.o gopher=
>.o
>
>hash.o http.o http-anon.o icmp.o icp.o ident.o ipcache.o main.o mime.o
>neighbors.o net_db.o objcache.o pass.o proto.o redirect.o refresh.o
>send-announce.o ssl.o stack.o stat.o stmem.o store.o store_clean.o
>storetoString.o tools.o unlinkd.o url.o useragent.o wais.o -L../lib -lcrypt=
>
>-lmiscutil -lm -lresolv -lsocket -lnsl
>ld: fatal: library -lmiscutil: not found
>ld: fatal: File processing errors. No output written to squid
>make[1]: *** [squid] Error 1
>make[1]: Leaving directory `/usr/local/squid-1.1.9/src'
>make: *** [all] Error 2
>
>
>
>I noticed the lib/Makefile references the archive "libmiscutil.a". I have
>searched my entire system and it appears that the libmiscutil.a archive is n=
>ot
>part of either the Solaris ditribution nor your Squid distribution.
>
>
>Can you shed any light on the subject??

Sounds like you ran 'make' from the wrong directory. You need to
run it from the 'squid-1.1.9' directory and it will build the libraries
and everything in the right order.

Otherwise:

    cd ../lib
    make
    cd ../src
    make

Duane W.
Received on Tue Apr 22 1997 - 10:06:11 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:01 MST