FreeBSD Port: phantomjs-1.9.8

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


Hello,

I have noticed a problem running phantomjs both from package and port. The error is:
/usr/lib/libstdc++.so.6: 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-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64


Regards,
Dominik Lisiak


More information about the freebsd-ports mailing list