phantomjs 1.5 on fedora – https problem (ssl and crypto issues)

I was facing this problem on a 64 bit fedora 17 environment, but the solution should work for fedora 16 as well.

A tried to run phantomjs 1.5 on my system and it could not load HTTPS pages, only HTTP. A symptom for this is that require('system').isSSLSupported is undefined.This is the script I’m running.

var page = require('webpage').create();
var url = '';, function (status) {

The response was always “fail”. After some reading and hair pulling, I found this and this, and managed to solve it. Actually, it was quite simple. All I needed to do was to run, as root:

ln -s /usr/lib64/ /usr/lib/
ln -s /usr/lib64/ /usr/lib/

After that, I was gifted with a nice “success” message 🙂