Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Apr 2015 09:24:39 +0200
From:      Dominik Lisiak <dominik.lisiak@bemsoft.pl>
To:        kuriyama@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: phantomjs-1.9.8
Message-ID:  <55262937.2070509@bemsoft.pl>

next in thread | raw e-mail | index | archive | help
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@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64


Regards,
Dominik Lisiak



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55262937.2070509>