[squid-users] Squid 3.5.x install problem

Yuri Voinov yvoinov at gmail.com
Thu Mar 3 10:20:21 UTC 2016


I see -mt library when Solaris native thread specified, this is correct, 
but -lpthreads is POSIX, not Solaris wrapper. Solaris wrapper named 
-lthread and -lpthread.

libtool: link: ( cd ".libs" && rm -f "libunbound.la" && ln -s 
"../libunbound.la" "libunbound.la" )
./libtool --tag=CC --mode=link /bin/cc  -R/opt/csw/lib -R/usr/local/lib 
-I. -I/opt/csw/include/openssl -I/opt/csw/include -I/opt/csw/include 
-I/usr/local/include -I/opt/csw/include -xO5 -m64 -xtarget=native 
-lmtmalloc -xc99 -mt -L/opt/csw/lib/64 -L/opt/csw/lib -L/usr/local/lib 
-L/opt/csw/lib -o unbound acl_list.lo cachedump.lo daemon.lo remote.lo 
stats.lo unbound.lo worker.lo  dns.lo infra.lo rrset.lo dname.lo 
msgencode.lo as112.lo msgparse.lo msgreply.lo packed_rrset.lo 
iterator.lo iter_delegpt.lo iter_donotq.lo iter_fwd.lo iter_hints.lo 
iter_priv.lo iter_resptype.lo iter_scrub.lo iter_utils.lo localzone.lo 
mesh.lo modstack.lo outbound_list.lo alloc.lo config_file.lo 
configlexer.lo configparser.lo fptr_wlist.lo locks.lo log.lo 
mini_event.lo module.lo net_help.lo random.lo rbtree.lo regional.lo 
rtt.lo dnstree.lo lookup3.lo lruhash.lo slabhash.lo timehist.lo tube.lo 
winsock_event.lo autotrust.lo val_anchor.lo validator.lo val_kcache.lo 
val_kentry.lo val_neg.lo val_nsec3.lo val_nsec.lo val_secalgo.lo 
val_sigcrypt.lo val_utils.lo dns64.lo    netevent.lo listen_dnsport.lo 
outside_network.lo keyraw.lo sbuffer.lo wire2str.lo parse.lo 
parseutil.lo rrdef.lo str2wire.lo reallocarray.lo arc4random.lo 
arc4random_uniform.lo explicit_bzero.lo arc4_lock.lo 
getentropy_solaris.lo   -lssl -lrt -levent -lrt -lsocket -lnsl  -lcrypto 
-lmd
libtool: link: /bin/cc -I. -I/opt/csw/include/openssl -I/opt/csw/include 
-I/opt/csw/include -I/usr/local/include -I/opt/csw/include -xO5 -m64 
-xtarget=native -xc99 -mt -o unbound .libs/acl_list.o .libs/cachedump.o 
.libs/daemon.o .libs/remote.o .libs/stats.o .libs/unbound.o 
.libs/worker.o .libs/dns.o .libs/infra.o .libs/rrset.o .libs/dname.o 
.libs/msgencode.o .libs/as112.o .libs/msgparse.o .libs/msgreply.o 
.libs/packed_rrset.o .libs/iterator.o .libs/iter_delegpt.o 
.libs/iter_donotq.o .libs/iter_fwd.o .libs/iter_hints.o 
.libs/iter_priv.o .libs/iter_resptype.o .libs/iter_scrub.o 
.libs/iter_utils.o .libs/localzone.o .libs/mesh.o .libs/modstack.o 
.libs/outbound_list.o .libs/alloc.o .libs/config_file.o 
.libs/configlexer.o .libs/configparser.o .libs/fptr_wlist.o 
.libs/locks.o .libs/log.o .libs/mini_event.o .libs/module.o 
.libs/net_help.o .libs/random.o .libs/rbtree.o .libs/regional.o 
.libs/rtt.o .libs/dnstree.o .libs/lookup3.o .libs/lruhash.o 
.libs/slabhash.o .libs/timehist.o .libs/tube.o .libs/winsock_event.o 
.libs/autotrust.o .libs/val_anchor.o .libs/validator.o 
.libs/val_kcache.o .libs/val_kentry.o .libs/val_neg.o .libs/val_nsec3.o 
.libs/val_nsec.o .libs/val_secalgo.o .libs/val_sigcrypt.o 
.libs/val_utils.o .libs/dns64.o .libs/netevent.o .libs/listen_dnsport.o 
.libs/outside_network.o .libs/keyraw.o .libs/sbuffer.o .libs/wire2str.o 
.libs/parse.o .libs/parseutil.o .libs/rrdef.o .libs/str2wire.o 
.libs/reallocarray.o .libs/arc4random.o .libs/arc4random_uniform.o 
.libs/explicit_bzero.o .libs/arc4_lock.o .libs/getentropy_solaris.o 
-lmtmalloc -L/opt/csw/lib/64 -L/opt/csw/lib -L/usr/local/lib -lssl 
/usr/local/lib/libevent.so -lsendfile -lrt -lsocket -lnsl -lcrypto -lmd 
-pthreads -mt  -R/usr/local/lib -R/usr/local/lib -R/opt/csw/lib
ld: fatal: soname option (-h, --soname) is incompatible with building a 
dynamic executable
ld: fatal: flags processing errors
Makefile:303: recipe for target 'unbound' failed
make: *** [unbound] Error 2

But this error is linker-specified, looks like dynamic/static linking 
conflict.

03.03.16 15:45, secoonder пишет:
> Hello
> i used debian(ubuntu 14.04)
> I read  a lot of articles on the Internet for squid 443 enable redirection.
> As i learned,if port 443 is active from squid,The installed needs by the
> compiled squid.is it true ?
> am i installed apt-get install squid for 443 redirect?(80.ports redirect
> wasno problem,it works.the problem is 443 port)
>
> i installed squid 3.5.8 package from squid-cache.And then i went to
> squid.3.5.8 folder.
> and then ,
> ./configure --with-openssl --enable-ssl-crtd
> make
> make install
> When it was finished, i wanted to go /etc/squid folder.
>
> But the /etc/squid or /etc/squid3 folder does not exit.
> What can i do?
> am i find step by step squid 3.5.x SSL (80 and 443 port) installation?
> Thank you very Much
>
>
>
>
>
>
> --
> View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-3-5-x-install-problem-tp4676406.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list