I'm on Ubuntu and use pipes. These are my ssl packages, notice libssl and libssl-dev in particular:
supertom@hadoop-2:~/h-v8$ dpkg -l |grep -i ssl ii libopenssl-ruby 4.2 OpenSSL interface for Ruby ii libopenssl-ruby1.8 1.8.7.249-2 OpenSSL interface for Ruby 1.8 ii libssl-dev 0.9.8k-7ubuntu8.6 SSL development libraries, header files and ii libssl0.9.8 0.9.8k-7ubuntu8.6 SSL shared libraries ii openssl 0.9.8k-7ubuntu8 Secure Socket Layer (SSL) binary and related ii python-openssl 0.10-1 Python wrapper around the OpenSSL library ii ssl-cert 1.0.23ubuntu2 simple debconf wrapper for OpenSSL Hope that helps, Thanks, Tom On Thu, May 19, 2011 at 3:28 PM, tdp2110 <thomas.d.pet...@gmail.com> wrote: > > n00b here, just started playing around with pipes. I'm getting linker errors > while compiling a simple WordCount example using hadoop-0.20.203 (current > most recent version) that did not appear for the same code in hadoop-0.20.2 > > Linker errors of the form: undefined reference to `EVP_sha1' in > HadoopPipes.cc. > > EVP_sha1 (and all of the undefined references I get) are part of the openssl > library which HadoopPipes.cc from hadoop-0.20.203 uses, but hadoop-0.20.2 > does not. > > I've tried adjusting my makefile to link to the ssl libraries, but I'm still > out of luck. Any ideas would be greatly appreciated. Thanks! > > PS, here is my current makefile: > CC = g++ > HADOOP_INSTALL = /usr/local/hadoop-0.20.203.0 > SSL_INSTALL = /usr/local/ssl > PLATFORM = Linux-amd64-64 > CPPFLAGS = -m64 -I$(HADOOP_INSTALL)/c++/$(PLATFORM)/include > -I$(SSL_INSTALL)/include > > WordCount: WordCount.cc > $(CC) $(CPPFLAGS) $< -Wall -Wextra -L$(SSL_INSTALL)/lib -lssl -lcrypto > -L$(HADOOP_INSTALL)/c++/$(PLATFORM)/lib -lhadooppipes -lhadooputils > -lpthread -g -O2 -o $@ > > -- > View this message in context: > http://old.nabble.com/Linker-errors-with-Hadoop-pipes-tp31634596p31634596.html > Sent from the Hadoop core-user mailing list archive at Nabble.com. > >