P.JAYASRI
P.JAYASRI

Reputation: 358

Segmentation fault (core dumped) when i run 'phantomjs' command in ubundu12.04

when i tried to install phantomjs, after all progress ,i run

$:phantomjs -v . 
$ : Permission denied

then i run

$: sudo chmod 755 /usr/local/share/phantomjs

There after whenever i run the command "phantomjs" , ubuntu throws the error

Segmentation fault (core dumped)

Upvotes: 1

Views: 1605

Answers (1)

P.JAYASRI
P.JAYASRI

Reputation: 358

The problem was caused by older versions of phantomjs that were installed in other places. I removed the phanthomjs related file from the following locations, and then it worked:

/usr/bin/phanthomjs
/usr/local/share/phanthomjs
/usr/local/bin/phanthomjs

Upvotes: 1

Related Questions