rlcjj / pyev

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

Problem loading libev.so in setup.py #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When /usr/lib/local is not in LD_LIBRARY_PATH, ctypes.CDLL fails to load
'libev.so.3'.

I ended up punting and used --prefix=/usr for libev configure. I didn't
pursue alternatives such as setting LD_LIBRARY_PATH or explicitly trying
the location '/usr/local/lib/libev.so.3' for the CDLL (e.g. as a
hack/workaround in setup.py) -- I'm not sure if either approach would work.

It might be helpful to add something to the README as a heads up for users.

Original issue reported on code.google.com by g%rre.tt@gtempaccount.com on 13 Feb 2009 at 3:34

GoogleCodeExporter commented 8 years ago
First, let me apologize for taking so much time to answer.

/usr/local/lib not being in LD_LIBRARY_PATH is the issue here, I use to run 
pyev with
libev in /usr/local and never had this kind of problem (maybe running ldconfig 
after
installing libev might help).

In any case the last release embed libev, so this particular issue should be 
fixed :).

Original comment by lekma...@gmail.com on 12 Mar 2009 at 1:37