On 04/08/2012 11:30 PM, Mikhail Spivakov wrote:
> I've now managed to resolve this. Was due to multiple libgvc versions
> present in the system.
> My solution, which unfortunately isn't elegant, was to hardcode the
> library name into draw/__init__.py instead of using
> ctypes.util.find_library.
> The problem with find_library is that it doesn't consult
> LD_LIBRARY_PATH, making the search algorithm rather inflexible.
> 
> libgv = ctypes.CDLL("libgvc.so.6.0.0")
> #    libname = ctypes.util.find_library("gvc")
> #    if libname is None:
> #        raise OSError()
> #    libgv = ctypes.CDLL(libname)
> 
> Best,
> Mikhail

There should be a way to fix this in a more robust fashion... Could you
perhaps open a ticket, so that I don't forget?

Cheers,
Tiago

-- 
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to