tychota / pyv8

Automatically exported from code.google.com/p/pyv8
0 stars 0 forks source link

import PyV8 throws ImportError #54

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? What do you see instead?

>>> import PyV8
Tracebakc (most recent call last):
  File "<stdin>", line 1, in <module>
  File "PyV8.py", line 12, in <module>
    import _PyV8
ImportError: /usr/lib/python2.6/site-packages/_PyV8.so: undefined symbol: 
_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i

What version of the product are you using? On what operating system?

CentOS 5.5
Python 2.6.5
Boost 1.43
V8 r5103
PyV8 r271

Original issue reported on code.google.com by PremyslK...@gmail.com on 20 Jul 2010 at 4:04

GoogleCodeExporter commented 8 years ago
did you build google-v8 as static library? 

Follow the document to download and build v8 engine as static library

http://code.google.com/apis/v8/build.html

Original comment by flier...@gmail.com on 21 Jul 2010 at 2:08

GoogleCodeExporter commented 8 years ago
I used:
scons library=static

Original comment by PremyslK...@gmail.com on 21 Jul 2010 at 7:27

GoogleCodeExporter commented 8 years ago
What ever it was, it is now OK with newer version of V8.

Original comment by PremyslK...@gmail.com on 22 Jul 2010 at 3:31

GoogleCodeExporter commented 8 years ago
Thanks anyway :)

Original comment by flier...@gmail.com on 2 Aug 2010 at 8:59