[pypy-dev] Problems in connecting C++ and python with cppyy

Xia Xin xiaxinx at gmail.com
Mon May 27 09:45:04 CEST 2013


Hi, Armin

Thanks for your reminding. My pypy is now in 2.0.0 beta2 version. I'll
recompile it.

I'm using Linux Mint 14, which is based on the Ubuntu 12.10. On this
distro, Only /etc/ld.so.conf can be used.
I tested many times.

$ cat /etc/ld.so.conf
include /etc/ld.so.conf.d/*.conf
/home/GeV/work/hello/v1/src

$ sudo ldconfig

>>>> ctypes.CDLL('libMyClassDict.so')
<CDLL 'libMyClassDict.so', handle <_ffi.CDLL object at
0x00007fcefaaf3c20> at 7fcefaeac2f8>

I do not know why. Maybe Mint has disabled the LD_LIBRARY_PATH for
some reasons or a bug...

Thanks for your help.


Best regards,
Xia Xin

2013/5/27 Armin Rigo <arigo at tunes.org>:
> Hi Xia,
>
> First note that cppyy is included in the standard PyPy 2.0.x releases,
> so you don't need to translate on the 'reflex-support' branch any
> more.  This branch is now giving you an older version actually.
>
> On Mon, May 27, 2013 at 8:20 AM, Xia Xin <xiaxinx at gmail.com> wrote:
>> The linux distro I am using is Ubuntu. In the distro, the default
>> library search path is not controlled by LD_LIBRARY_PATH, but
>> /etc/ld.so.conf file! Mad.
>
> Are you sure?  That's strange.  Normally that's controlled by both.
> For me on Ubuntu 12.04 the LD_LIBRARY_PATH variable is correctly
> handled (see http://bpaste.net/show/102180/ ).
>
>
> A bientôt,
>
> Armin.


More information about the pypy-dev mailing list