X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com Message-ID: <535D7255.8080609@mochima.com> Date: Sun, 27 Apr 2014 17:10:45 -0400 From: Carlos Moreno User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 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. References: <535A1445 DOT 4060108 AT philippklostermann DOT de> <20140425093528 DOT 24599 DOT qmail AT stuge DOT se> <4ec21d206984a3bc291bb9baefc33eb8 AT net2air DOT co> <20140425094534 DOT 25362 DOT qmail AT stuge DOT se> <423b9c44d06df6dd5da8d70cf885a813 AT net2air DOT co> <535CEB5C DOT 8050304 AT philippklostermann DOT de> <535D66DD DOT 1080009 AT mochima DOT com> <20140427205353 DOT 20200 DOT qmail AT stuge DOT se> In-Reply-To: <20140427205353.20200.qmail@stuge.se> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Added-Header: Note-from-DJ: This may be spam Reply-To: geda-help AT delorie DOT com On 14-04-27 04:53 PM, Peter Stuge wrote: > >> (2) I was going insane with the error "library xxx not found" > The problem is that symbols can not be found, not the library. > The symbols can't be found because the library isn't being linked. Hold on --- I'm not sure I follow. When you compile, if some modules / src files invoke a certain function from a library, then one must link the library that contains that function (I guess by "the symbols" you're referring to the functions and global variables that are part of the library, right?) So, you need to run at some point: gcc [switches] -o outputfile -lxxx (assuming that library xxx contains the requested functions/symbols). If you don't link xxx, you get compiler (linker) errors referring to "undefined symbol" or "undefined external symbol" If library xxx can't be found, then you in principle get "could not find library xxx" .... So, am I understanding correctly, that when attempting to compile, you get "undefined symbol" for some symbols from glibc?? To me, that spells "defective Makefile" --- how is that possible? Did you run ./configure and made sure that it ran entirely without reporting any errors? Again, I would double check the symlinks --- in my case, there was a *mysteriously missing* symlink related to the libs, and I was getting that weird error message (I think it was "lib not found" .... but I wonder now, it may have been missing/undefined symbols). Depending on how the linker checks whether a library is present, the wrong error message could show up. Like I said, there was absolutely no valid reason or explanation for the missing symlinks --- yet they were missing! I wonder if a similar thing is happening here. Carlos --