Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #6213 > unrolled thread

Re: Link errors embedding Python 3.2

Started byChris Angelico <rosuav@gmail.com>
First post2011-05-25 18:53 +1000
Last post2011-05-25 18:53 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Link errors embedding Python 3.2 Chris Angelico <rosuav@gmail.com> - 2011-05-25 18:53 +1000

#6213 — Re: Link errors embedding Python 3.2

FromChris Angelico <rosuav@gmail.com>
Date2011-05-25 18:53 +1000
SubjectRe: Link errors embedding Python 3.2
Message-ID<mailman.2061.1306313604.9059.python-list@python.org>
Followup. I'm now using Python 3.3 straight from Mercurial, and am
seeing the same issues. I've managed to get the compilation step to
succeed by naming the library for full inclusion and adding -lutil
-ldl (sounding rather Donizetti there), and my program runs. However,
it's unable to import all its modules. I can happily import re,
string, and sys, but importing math or time results in an ImportError
citing "undefined symbol: PyExc_ValueError". I think there's still
something I'm mucking up in the link process.

The exception is ImportError, with text:
'/usr/local/lib/python3.3/lib-dynload/time.cpython-33m.so: undefined
symbol: PyExc_ValueError'

Any ideas?

Chris Angelico

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web