Package Details: phantomjs 2.1.1-17

Git Clone URL: (read-only, click to copy)
Package Base: phantomjs
Description: Headless WebKit with JavaScript API
Upstream URL:
Licenses: BSD, LGPL, MIT
Submitter: yan12125
Maintainer: None
Last Packager: micwoj92
Votes: 27
Popularity: 0.000090
First Submitted: 2018-01-24 14:25 (UTC)
Last Updated: 2024-03-23 07:02 (UTC)

Pinned Comments

yan12125 commented on 2018-08-12 11:22 (UTC) (edited on 2019-11-19 03:17 (UTC) by yan12125)


  • error while loading shared libraries: cannot open shared object file: No such file or directory

You can either to reinstall this package afte upgrading the system to ICU 62, or install the prebuilt package listed below.

  • Building takes too long time!

A: PhantomJS ships with its own Qt and QtWebKit. Just be patient.

Latest Comments

1 2 3 4 5 6 Next › Last »

micwoj92 commented on 2024-03-21 22:59 (UTC)

Please mark ood with that comment, I'll implement these changes later tomorrow.

MarsSeed commented on 2024-03-21 22:30 (UTC)

Please remove the unneeded runtime dependencies:

  • fontconfig
  • gperf
  • icu
  • libjpeg-turbo
  • libpng
  • openssl-1.0
  • python2
  • ruby

Python2 is used for some reason inside the PKGBUILD, but ideally it should be eliminated as well, like in phantomjs-git.

Only the following direct dependencies are needed during runtime:

  • gcc-libs
  • glibc
  • qt5-base
  • qt5-webkit

demelev commented on 2023-12-27 10:53 (UTC)

compilation time can be improved by adding '-j' to cmake to use more cores of CPU. "cmake --build build -j5"

korimitsu commented on 2023-12-17 21:57 (UTC)

Does not build anymore:

/usr/bin/ld: /usr/lib/ undefined reference to `udat_open_73'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile.phantomjs:408: ../bin/phantomjs] Error 1
make[1]: Leaving directory '/home/user/.cache/paru/clone/phantomjs/src/phantomjs-2.1.1/src'
make: *** [Makefile:47: sub-src-phantomjs-pro-make_first-ordered] Error 2

ERROR: Failed to build PhantomJS! Building PhantomJS failed.
==> ERROR: A failure occurred in build().
error: failed to build 'phantomjs-2.1.1-16': 
error: packages failed to build: phantomjs-2.1.1-16

mjevans commented on 2023-12-05 01:43 (UTC)

Development stopped in 2018 and the dependencies are all fossils now too.


Archiving the project: suspending the development #15344 ariya opened this issue Mar 3, 2018 · 1 comment

Due to the lack of active contribution, I am going to archive this project soon.

At some point in the future, if we pick up the development again (such as #15341, #15342, #15343), the project will be unarchived.

With that, all the earlier plans regarding PhantomJS 2.5 (from @vitallium) or 2.1.x (from @pixiuPL) will be abandoned effective immediately. Consequently, the source and binary packages for the above abandoned version will be removed to avoid any confusions. PhantomJS version 2.1.1 will remain the last known stable release until further notice.

To keep the source repository in a sane situation:

the master branch will be preserved under the new bleeding-edge branch.
after that, the master branch will be restored back to the approximate state of v2.1.1

That way, if anyone wants to improve PhantomJS for their own usages (internal fork, in-house patches), the master branch can still serve as a good baseline. It can still be built from source and it will still work on macOS, Linux, and Windows.

Once the project is archived, no new issue can be filed. However, feel free to use the mailing-list to post questions and discuss any relevant topics.

Thank you for your understanding!


<deleted-account> commented on 2022-12-15 20:39 (UTC)

your dependency openssl-1.0 is no longer there.

aminvakil commented on 2022-09-24 14:14 (UTC) (edited on 2022-09-24 14:16 (UTC) by aminvakil)

python2 has been removed from official dependencies. Not that something should be done by maintainer, although it's already orphaned now.

krystianch commented on 2020-07-28 22:42 (UTC)

This package can be built on armv7l too. I just built it on a Raspberry Pi 4 by applying this patch. Without the flag it would not compile because warnings are treated as errors.

diff --git a/PKGBUILD b/PKGBUILD
index 9bfded9..584c675 100644
@@ -14,7 +14,7 @@ pkgrel=16
 pkgdesc='Headless WebKit with JavaScript API'
 license=('BSD' 'LGPL' 'MIT')
-arch=('i686' 'x86_64')
 depends=('icu' 'libjpeg-turbo' 'libpng' 'fontconfig' 'gperf' 'ruby' 'python2' 'openssl-1.0' 'qt5-webkit')
@@ -47,8 +47,8 @@ build() {
   export CXXFLAGS+=' -I/usr/include/openssl-1.0'
   export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto'

-  CFLAGS+=' -Wno-expansion-to-defined'
-  CXXFLAGS+=' -Wno-expansion-to-defined'
+  CFLAGS+=' -Wno-expansion-to-defined -Wno-vla-larger-than'
+  CXXFLAGS+=' -Wno-expansion-to-defined -Wno-vla-larger-than'

   python2 --skip-git --skip-qtbase --skip-qtwebkit --confirm --release

cherti commented on 2020-07-05 16:26 (UTC) (edited on 2020-07-05 16:26 (UTC) by cherti)

2.1.1-15 misses a dependency on qt5-webkit, otherwise it won't build. Installing qt5-webkit manually fixes this, so updating the dependency array should suffice to resolve this.