delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/02/19/15:55:37

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <1487537662.3000.30.camel@linetec>
Subject: Re: [geda-user] Recent gschem-PCB import problem?
From: "Richard Rasker (rasker AT linetec DOT nl) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Date: Sun, 19 Feb 2017 21:54:22 +0100
In-Reply-To: <alpine.DEB.2.20.1702192052140.9318@nimbus>
References: <1487162236 DOT 3011 DOT 9 DOT camel AT linetec>
<alpine DOT DEB DOT 2 DOT 00 DOT 1702151631080 DOT 7286 AT igor2priv>
<1487176819 DOT 3011 DOT 27 DOT camel AT linetec>
<CAJXU7q-HcAcwnXxMvop6foh-ZDkeZSUtGNeT7hEEn4b04gEReQ AT mail DOT gmail DOT com>
<alpine DOT DEB DOT 2 DOT 11 DOT 1702152257280 DOT 1532 AT nimbus>
<CAHdUXzLP-2-0jbMskxNs+TU59REMdHU-Uwv2PH_q969c_uTgzA AT mail DOT gmail DOT com>
<CAHdUXzL90qYtBnh3c0sXOeDNoqV=mfS7ucqu5zfQrGm61G6qcQ AT mail DOT gmail DOT com>
<1487527066 DOT 3000 DOT 8 DOT camel AT linetec> <1487527653 DOT 3000 DOT 10 DOT camel AT linetec>
<alpine DOT DEB DOT 2 DOT 20 DOT 1702192052140 DOT 9318 AT nimbus>
Organization: Linetec
X-Mailer: Evolution 3.10.4-0ubuntu2
Mime-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019