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

Issue with SQLite when compiling with CentOS #10311

Closed
davidrapin opened this issue Dec 20, 2011 · 3 comments
Closed

Issue with SQLite when compiling with CentOS #10311

davidrapin opened this issue Dec 20, 2011 · 3 comments
Milestone

Comments

@davidrapin
Copy link
Contributor

[email protected] commented:

Which version of PhantomJS are you using?
1.3

What steps will reproduce the problem?

  1. yum install qt47 qt47-devel qt47-webkit qt47-webkit-devel sqlite-devel sqlite
  2. git clone git://github.com/ariya/phantomjs.git && cd phantomjs
  3. git checkout 1.3
  4. qmake-qt47 && make

Expected output: a successful compiled binary.

What I get instead (see attached file for full trace):
/usr/lib64/qt47/libQtWebKit.so: undefined reference to sqlite3_prepare16_v2' /usr/lib64/qt47/libQtWebKit.so: undefined reference tosqlite3_column_value'
collect2: ld returned 1 exit status
make[1]: *** [../bin/phantomjs] Error 1
make[1]: Leaving directory `/home/drapin/phantomjs/phantomjs/src'
make: *** [sub-src-phantomjs-pro-make_default-ordered] Error 2

Which operating system are you using?
CentOS release 5.5 (Final)
Linux version 2.6.18-194.3.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Thu May 13 13:08:30 EDT 2010

Did you use binary PhantomJS or did you compile it from source?
Trying to compile from sources.

Please provide any additional information below.
Installed libraries:
qt47-devel.x86_64 1:4.7.2-1_18.el5
qt47.x86_64 1:4.7.2-1_18.el5
qt47-webkit-devel.x86_64 1:4.7.2-1_18.el5
qt47-webkit.x86_64 1:4.7.2-1_18.el5
sqlite-devel.x86_64 3.3.6-5
sqlite.x86_64 3.3.6-5

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

@leandono
Copy link

[email protected] commented:

Same problem, same operating system (CentOS release 5.5 (Final)), however, in CentOS release 5.4 (Final) the compilation works perfect. Tested with PhantomJS 1.3 & 1.4.

@davidrapin
Copy link
Contributor Author

[email protected] commented:

The new build script provided in version 1.4 fixes this issue. Thanks !

@ariya
Copy link
Owner

ariya commented Jan 12, 2012

[email protected] commented:

 

 
Metadata Updates

  • Label(s) added:
    • Component-BuildSystem
  • Milestone updated: Release1.4 (was: ---)
  • Status updated: Fixed

@ariya ariya closed this as completed Jan 12, 2012
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

3 participants