Public bug reported:

On xenial, with the latest version of libgv-python (2.38.0-12ubuntu2) on
x86_64,

when importing the gv module I get the following error:

```
❯ python
Python 2.7.11+ (default, Apr 17 2016, 14:00:29) 
[GCC 5.3.1 20160413] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gv
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "gv.py", line 28, in <module>
    _gv = swig_import_helper()
  File "gv.py", line 20, in swig_import_helper
    import _gv
ImportError: No module named _gv
>>> 
```

Upon investigation, there is a dangling symlink -- _gv.x86_64-linux-
gnu.so points to a non-existent library that does not contain the
architecture, whereas the actual existing file is tagged with the
architecture (x86_64-linus-gnu):

```
/usr/lib/python2.7/dist-packages
❯ ls -l *gv*so
lrwxrwxrwx 1 root root    17 Mar 14 05:29 _gv.x86_64-linux-gnu.so -> 
libgv_python27.so
-rw-r--r-- 1 root root 92624 Mar 14 05:29 libgv_python27.x86_64-linux-gnu.so
                                  
```

Currently creating the libgv_python27.so -> libgv_python27.x86_64-linux-
gnu.so symlink manually so as not to touch the files coming from the
package.

** Affects: graphviz (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1583897

Title:
  libgv-python: wrong symlink from _gv.x86_64-linux-gnu.so

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/graphviz/+bug/1583897/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to