1

Description

Operating System: RedHAT 6 x64

Phantomjs version: 2.0.0 (phantomjs)

Steps to build: document

yum -y install gcc gcc-c++ make flex bison gperf ruby \
  openssl-devel freetype-devel fontconfig-devel libicu-devel sqlite-devel \
  libpng-devel libjpeg-devel
git clone git://github.com/ariya/phantomjs.git
cd phantomjs
git checkout 2.0
./build.sh

Problem:

We got an error when building source (may be reason is openssl):

undefined reference to EC_KEY_free

Artjom B.
  • 61,146
  • 24
  • 125
  • 222
Luan Huynh
  • 358
  • 4
  • 20

1 Answers1

1

Openssl default version in RedHat 6.4 is 1.0.0, You should update to newer version. I have installed successfully with openssl-1.0.1e-30.el6_6.7.x86_64

Hope that help

Em Nguyen
  • 46
  • 3
  • thanks, we have Open SSL 1.0.1g 7 Apr 2014 , i think with lower version we can install phantomjs 2.0 but as you know, many security problems when using lower version. – Luan Huynh Aug 12 '15 at 04:55