[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: xgsch2pcb and gschem



On Mon, 2008-02-18 at 17:00 +0100, joel silvestre wrote:
> > Le lundi 18 février 2008 à 14:48 +0000, Peter Clifton a écrit :
> > That is somewhat strange. Does your termnal's startup script setup paths
> > to gEDA and its libraries?
> 
> Yes for the ~/local/bin but ~/local/lib/ appears in /etc/ld.so.conf.
> 
> > Normally, you can't just launch gschem directly from a menu if it isn't
> > installed on a system path. Even if you hard-code the path to gschem, it
> > will load libgeda.so frmo /usr/lib or /usr/local/lib, ignoring the
> > correct matching libgeda.so wherever you installed the program. The same
> > applies to gschem launched via xgsch2pcb of course.
> 
> You must be right, Gschem doesn't launch via gnome application launcher
> (Alt-F2 keys). 
> Do I have to re-install geda in /usr/local/ ?

If your library path is listed OK in /etc/ld.so.conf, then it ought to
be possble to make this work. Did you pass an explicit path to the gnome
application launcher?

Try re-running ldconfig (as root), to rebuild library links etc..

And check the output of:

"ldd ~/local/bin/gschem" (or wherever you are running gschem from), and
see which libgeda.so it picks up.

Having muliple gEDA installed in different locations can cause grief
like this. It is completely possible to install gEDA in your home-dir,
but the desktop integration doesn't work so well in general.

For best desktop integration, /usr/local or /usr (via distro packages)
is the easiest way to proceed.

Best wishes,

 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user