FreeBSD Port: phantomjs-1.9.8

Dominik Lisiak dominik.lisiak at
Thu Apr 9 07:24:47 UTC 2015


I have noticed a problem running phantomjs both from package and port. The error is:
/usr/lib/ version GLIBCXX_3.4.11 required by /usr/local/bin/phantomjs not found

The cause is different version of libstdc++ used by gcc and by FreeBSD. I solved the problem by using: 
patchelf --set-rpath /usr/local/lib/gcc48 /usr/local/bin/phantomjs

but I don't know how to fix the port.

I am using:
FreeBSD xxx 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0: Tue Apr  7 01:09:46 UTC 2015     root at  amd64

Dominik Lisiak

More information about the freebsd-ports mailing list