[squid-users] error compiling 3.4.10

Alan Lehman alehman at gbateam.com
Fri Dec 12 21:57:57 UTC 2014


Trying to compile on RHEL7, I get the following. I’m sure I have a path error.

libtool: link: g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 -march=native -std=c++11 -g -o basic_ncsa_auth basic_ncsa_auth.o crypt_md5.o  ../../../lib/.libs/libmisccontainers.a ../../../lib/.libs/libmiscencoding.a ../../../compat/.libs/libcompat-squid.a -lcrypt -L/usr/lib64/openssl/lib -lssl -lcrypto -lm -lnsl -lresolv -lrt -ldl
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
make[3]: *** [basic_ncsa_auth] Error 1
make[3]: Leaving directory `/home/alehman/squid-3.4.10/helpers/basic_auth/NCSA'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/alehman/squid-3.4.10/helpers/basic_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alehman/squid-3.4.10/helpers'
make: *** [all-recursive] Error 1

config options: --enable-ssl --enable-useragent-log --enable-referer-log --with-filedescriptors=8192 --disable-loadable-modules --prefix=/usr --includedir=/usr/include --datadir=/usr/share --bindir=/usr/sbin --libexecdir=/usr/lib/squid --localstatedir=/var --sysconfdir=/etc/squid --with-openssl=/usr/lib64/openssl



CONFIDENTIALITY NOTICE: This e-mail message including attachments, if any, is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Thank you.



More information about the squid-users mailing list