Mail Archives: geda-user/2017/02/19/15:55:37
Hello Roland,
Roland Lutz schreef op zo 19-02-2017 om 21:05 [+0100]:
> On Sun, 19 Feb 2017, Richard Rasker (rasker AT linetec DOT nl) [via
> geda-user AT delorie DOT com] wrote:
> > Traceback (most recent call last):
> > File "/usr/bin/gnetlist2", line 46, in <module>
> > import xorn.guile
> > ImportError: /usr/lib/python2.7/dist-packages/xorn/guilemodule.so:
> > undefined symbol: scm_is_exact_integer
>
> This symbol should have been found in libguile-2.0.so.*. Either the
> library hasn't been loaded correctly, or you have an incompatible version
> of Guile.
>
> Which version(s) of Guile do you have installed?
>
> $ dpkg -l | grep guile
$ dpkg -l | grep guile
ii guile-2.0 2.0.9+1-1ubuntu1 amd64 GNU extension language and Scheme interpreter
ii guile-2.0-dev 2.0.9+1-1ubuntu1 amd64 Development files for Guile 2.0
ii guile-2.0-libs 2.0.9+1-1ubuntu1 amd64 Core Guile libraries
So apparently, I have guile version 2.0.9.
> Does guilemodule.so correctly reference the Guile shared library?
>
> $ ldd /usr/lib/python2.7/dist-packages/xorn/guilemodule.so | grep guile
$ ldd /usr/lib/python2.7/dist-packages/xorn/guilemodule.so | grep guile
libguile-2.0.so.22 => /usr/lib/libguile-2.0.so.22 (0x00007f57aaba8000)
OK, so it's found in /usr/lib
> Does your version of Guile export the symbol scm_is_exact_integer?
>
> $ nm -D /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22 | grep scm_is_exact_integer
$ nm -D /usr/lib/libguile-2.0.so.22 | grep scm_is_exact_integer
[no grep match]
So no, that symbol isn't exported. I tried uninstalling and then
reinstalling guile, but to no avail.
BTW: I have the latest geda-gaf source pull from git, and it compiles
without error. But at this point, I suspect that uninstalling the
geda-gaf package and installing the git build instead won't solve this
problem with guile.
My problem is that I actually rely rather heavily on the import function
in PCB, so I'm very eager to get it back working...
Thanks again already,
Best regards,
Richard Rasker
- Raw text -