[llvm-py] ImportError: No module named _core

71 views
Skip to first unread message

doug

unread,
May 18, 2010, 10:00:37 AM5/18/10
to llvm-py: Python Bindings for LLVM
Hi all,

I'm trying to install llvm-py on my Gentoo system (which only has
packages for llvm 2.6 and 2.7). For now, I've installed llvm 2.6, and
used llvm-py trunk with the python 2.6 patch included in issue 28.

No matter what I try (install in virtual env, install in system
packages, etc.) I can't get the llvm.core (and hence llvm._core)
module to load. I've tried putting the directory containing _core.so
into LD_LIBRARY_PATH, into PATH, I've checked it with ldd, and it
seems to correct:

ldd ../env/lib/python2.6/site-packages/llvm/_core.so
linux-gate.so.1 => (0xb7ee6000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7471000)
libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc+
+.so.6 (0xb738f000)
libdl.so.2 => /lib/libdl.so.2 (0xb738b000)
libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0
(0xb7247000)
libm.so.6 => /lib/libm.so.6 (0xb7220000)
libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/
libgcc_s.so.1 (0xb7215000)
libc.so.6 => /lib/libc.so.6 (0xb70d4000)
/lib/ld-linux.so.2 (0xb7ee7000)
libutil.so.1 => /lib/libutil.so.1 (0xb70d0000)

Is there anyone who might be able to help me figure this out?

Thanks,
Doug

Baptiste Lepilleur

unread,
May 24, 2010, 4:55:52 AM5/24/10
to llv...@googlegroups.com
Checks the mailing list archive. I think someone managed to resolve this around 13 january.

2010/5/18 doug <dou...@mayle.org>
Reply all
Reply to author
Forward
0 new messages