X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Sun, 12 Jul 2015 06:45:36 +0200 (CEST) X-X-Sender: igor2 AT igor2priv To: "Evan Foss (evanfoss AT gmail DOT com) [via geda-user AT delorie DOT com]" X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" From: gedau AT igor2 DOT repo DOT hu Subject: [geda-user] gd vs. scconfig (was: Re: developer excitement? was Re: gEDA/gschem still alive?) In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 Precedence: bulk On Sun, 12 Jul 2015, Evan Foss (evanfoss AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > Apologies. The file is attached No problem, and thank you for testing! The relevant lines are near the end. After running gdlib-config --libs, we get: stdout: '-ljpeg -lfontconfig -lfreetype -lz -lm And then the test program compiles but doesn't link: ========= output dump start ============ /tmp/ccxK4ZrN.o: In function `main': scc_75198.c:(.text+0xf): undefined reference to `gdImageCreateTrueColor' The reason is clearly that gdlib-config --libs does not say -lgd should be used. We can fix it in several ways: 1. We assume on some systems this is the default behavior and -lgd needs to be added manually; Icam add an extra test in scconfig that tries this combination 2. We could assume your gdlib-config differs from mine; you could try to figure with what arguments your gdlib-config should be called with to yield -lgd. 3. Low probabilty, but it may be that your gd installation is broken and gdlib-config --libs should include -lgd. Please let me know in what direction you'd like to proceed. I also suggest to take this off the list - I am pretty sure noone else is interested in a gs vs. scconfig debug session. Regards, Igor2