Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #72450
| X-Received | by 10.236.117.11 with SMTP id i11mr14106231yhh.0.1401752398275; Mon, 02 Jun 2014 16:39:58 -0700 (PDT) |
|---|---|
| X-Received | by 10.140.27.244 with SMTP id 107mr58608qgx.18.1401752398256; Mon, 02 Jun 2014 16:39:58 -0700 (PDT) |
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!j5no674541qaq.1!news-out.google.com!s2ni2489qap.0!nntp.google.com!j5no674535qaq.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Mon, 2 Jun 2014 16:39:58 -0700 (PDT) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=109.246.134.182; posting-account=rTPbDwoAAAAt-dPOsH16A2IGhBJ7xRhR |
| NNTP-Posting-Host | 109.246.134.182 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <171690a2-8ecd-4fac-aa9e-1cf00fa8a1d5@googlegroups.com> (permalink) |
| Subject | Issues with tkinter |
| From | BNelson <bigredshed@bnelson.co.uk> |
| Injection-Date | Mon, 02 Jun 2014 23:39:58 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Received-Bytes | 3491 |
| X-Received-Body-CRC | 712794405 |
| Xref | csiph.com comp.lang.python:72450 |
Show key headers only | View raw
Am having difficulty with importing tkinter following cross-compiling Python from source. My build environment: GCC 4.7 uClibc 0.9.33 buildroot Python 3.4 Tcl/Tk 8.6 target platform=ARM The symptoms are as follows: >>> import _tkinter ... # trying /usr/lib/python3.4/lib-dynload/_tkinter.cpython-34m.so python: symbol 'FcPatternAddMatrix': can't resolve symbol python: symbol 'FcFontRenderPrepare': can't resolve symbol python: symbol 'FcFontSort': can't resolve symbol python: symbol 'FcPatternDestroy': can't resolve symbol python: symbol 'FcPatternGetString': can't resolve symbol python: symbol 'FcPatternAddInteger': can't resolve symbol python: symbol 'FcCharSetDestroy': can't resolve symbol python: symbol 'FcPatternAddString': can't resolve symbol python: symbol 'FcPatternGetDouble': can't resolve symbol python: symbol 'FcPatternGetCharSet': can't resolve symbol python: symbol 'FcCharSetCopy': can't resolve symbol python: symbol 'FcPatternGetInteger': can't resolve symbol python: symbol 'FcConfigSubstitute': can't resolve symbol python: symbol 'FcPatternAddBool': can't resolve symbol python: symbol 'FcCharSetHasChar': can't resolve symbol python: symbol 'FcFontSetDestroy': can't resolve symbol python: symbol 'FcPatternCreate': can't resolve symbol python: symbol 'FcPatternAddDouble': can't resolve symbol python: symbol 'FcUtf8ToUcs4': can't resolve symbol Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<frozen importlib._bootstrap>", line 2214, in _find_and_load File "<frozen importlib._bootstrap>", line 2203, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible File "<frozen importlib._bootstrap>", line 539, in _check_name_wrapper File "<frozen importlib._bootstrap>", line 1692, in load_module File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed ImportError: unknown dlopen() error It appears to be an issue with FontConfig. If I recompile Tk with --disable-xft, tkinter works correctly but with the legacy method of font selection and rendering. When compiled with --enable-xft (default), Tk demo programs work correctly, but I cannot import tkinter. I believe that there is a link issue with _tkinter.cpython-34m.so, but have not identified anything despite intense research. Any suggestions? Many thanks.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Issues with tkinter BNelson <bigredshed@bnelson.co.uk> - 2014-06-02 16:39 -0700
csiph-web