Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

error while loading shared libraries #10531

Closed
ariya opened this issue May 11, 2012 · 7 comments
Closed

error while loading shared libraries #10531

ariya opened this issue May 11, 2012 · 7 comments

Comments

@ariya
Copy link
Owner

ariya commented May 11, 2012

scottsw...@gmail.com commented:

Which version of PhantomJS are you using? Tip: run 'phantomjs --version'.
1.5.0

What steps will reproduce the problem?

  1. Download phantomjs-1.5.0-linux-x86-dynamic.tar.gz
  2. Untar
  3. link downloaded phantomjs binary to /usr/local/bin/phantomjs
  4. phantomjs --version

What is the expected output? What do you see instead?
expect to see the version 1.5.0, but get this instead
phantomjs: error while loading shared libraries: /root/installs/phantomjs/bin/../lib/libQtWebKit.so.4: ELF file OS ABI invalid

Which operating system are you using?
uname -a
Linux 2.6.9-023stab048.6-enterprise #1 SMP Mon Nov 17 19:09:18 MSK 2008 i686 i686 i386 GNU/Linux

file /sbin/init
/sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped

Did you use binary PhantomJS or did you compile it from source?
binary

Please provide any additional information below.
OS is running on a media temple VPS

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #531.
🌟   5 people had starred this issue at the time of migration.

@ariya
Copy link
Owner Author

ariya commented May 12, 2012

ariya.hi...@gmail.com commented:

The dynamic Linux package is not guaranteed to work everywhere. Please compile from source and see if it works.

@andygongea
Copy link

andy.gon...@gmail.com commented:

The problem is that I can't run SUDO command because of the lack of privileges on my hosting plan. Is there a workaround for that?

@rjschneid
Copy link

rjs...@gmail.com commented:

I am having this problem too. Same steps. Linux, Fedora 9, using x86 binary.

Compiling from source crashes with:

/usr/bin/ld: cannot find -lQtWebKit
collect2: ld returned 1 exit status
make[1]: *** [../bin/phantomjs] Error 1
make[1]: Leaving directory `/home/rschneid/phantomjs-1.5.0/src'
make: *** [sub-src-phantomjs-pro-make_default-ordered] Error 2

@ariya
Copy link
Owner Author

ariya commented Jul 11, 2012

viveknan...@gmail.com commented:

any solution to the above error,as i am also geting the same while compiling the source

@ariya
Copy link
Owner Author

ariya commented Jul 16, 2012

ariya.hi...@gmail.com commented:

andy.gongea Why do you need sudo?

@andygongea
Copy link

andy.gon...@gmail.com commented:

Initially I thought I needed. But after a lot of attempts I have failed to make it run on my hosting. Probably I will give it another spin when future releases appear.

Kudos for your effort and work.
Cheers!

@vitallium
Copy link
Collaborator

Not relevant anymore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants