flupke / pypotrace

Python bindings for potrace library
Other
166 stars 43 forks source link

ImportError: libagg.so.2: cannot open shared object file: No such file or directory #38

Closed ousinkou closed 3 years ago

ousinkou commented 3 years ago

I meet this problem when I run the example. I check the libagg library in my system but only libagg.a exists. The method I install libagg-dev is same as what's described in README. I doubt libagg-dev become static library instead of dynamic library in ubuntu18.04. Any one help?

flupke commented 3 years ago

The .so library should be in the non -dev package.

ousinkou commented 3 years ago

@flupke But apt-get can't find libagg, only libagg-dev

flupke commented 3 years ago

Looks like it's named libagg2: https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=libagg&searchon=names

ousinkou commented 3 years ago

@flupke Thanks, but ubuntu18.04 can't find libagg2, that link says it's only supported by Ubuntu20.04.

flupke commented 3 years ago

Sorry then I don't know