delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2014/04/25/05:35:45

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Message-ID: <20140425093528.24599.qmail@stuge.se>
Date: Fri, 25 Apr 2014 11:35:28 +0200
From: Peter Stuge <peter AT stuge DOT se>
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] Which Debina-Package do I have to install? make
geda-gaf git version 1.9.1-20140308-80-g62aede2 under Debian Wheezy
fails due to missing glib.
Mail-Followup-To: geda-help AT delorie DOT com
References: <535A1445 DOT 4060108 AT philippklostermann DOT de>
MIME-Version: 1.0
In-Reply-To: <535A1445.4060108@philippklostermann.de>
Reply-To: geda-help AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-help AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Philipp Klostermann wrote:
> libtool: link: gcc -Wall -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
> -I/usr/include/guile/2.0 -pthread -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/libpng12 -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -o .libs/gsymcheck
> gsymcheck-g_rc.o gsymcheck-g_register.o gsymcheck-globals.o
> gsymcheck-gsymcheck.o gsymcheck-i_vars.o gsymcheck-parsecmd.o
> gsymcheck-s_check.o gsymcheck-s_log.o gsymcheck-s_symstruct.o 
> -lguile-2.0 -lgc -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
> ../../libgeda/src/.libs/libgeda.so -lm -pthread
> ../../libgeda/src/.libs/libgeda.so: error: undefined reference to > 'g_file_get_parse_name'
> ../../libgeda/src/.libs/libgeda.so: error: undefined reference to > 'g_file_parse_name'
..

> I found out that the missing functions belong to glib,

More specifically they are provided by the gio-2.0 library, which
isn't being linked in.


> which I thought I had installed:

Even if you have gio-2.0 installed (I don't know the package name) it
isn't being linked in.


> Can someone comprehend this problem? Is this an known issue or am I
> doing something terribly wrong?

I don't know if it's a known issue but I don't think you're doing
anything wrong.

Here's a very crude hack to see if adding gio helps:

find -name Makefile | xargs sed -i 's,-lglib-2\.0,-lgio-2.0 -lgobject-2.0 -lglib-2.0,'


//Peter

- Raw text -


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