X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=sCjvC+aiGNoVCI/lJukG9+qxkImM0xEk6WDRJeNfubw=; b=As7wZr+WIhasvE6cSry1s52wcO7IybI/raZjTmmQ/oBxFr12BbgpZWvObhiCF/E9L9 Sz4INsdi0w58tefDfJuzbU4q3nKVjvqWBk6RBrKnYWUKU5sQSkOTP4p/KvFc0mNmCJ3e tbl+wKmWyksDfzGaH3zAU/DAkExbTAhrug9Rar8a/fP1bDogadlQbUQtA5YTBNj61fgL tCQeJ71K5AR/15QPy+BlJ8qPI0jcsK1dSUr72l7zak4AUhuufcPfqZorhU/q4nz82p6N dCh4iutlcBYE0Cm9IOaftgYLDF1m+GDGX+02JfsD43D/xaFo3UgQbB/kt9xfGDngWQ04 oC+g== MIME-Version: 1.0 X-Received: by 10.152.7.206 with SMTP id l14mr26463902laa.3.1436677306528; Sat, 11 Jul 2015 22:01:46 -0700 (PDT) In-Reply-To: References: Date: Sun, 12 Jul 2015 05:01:46 +0000 Message-ID: Subject: Re: [geda-user] gd vs. scconfig (was: Re: developer excitement? was Re: gEDA/gschem still alive?) From: "Evan Foss (evanfoss AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Content-Type: text/plain; charset=UTF-8 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, Jul 12, 2015 at 4:45 AM, wrote: > > > 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. The precular thing is that regular PCB uses gd and I have it running on this same box. Yes gdlib-config does confirm that -lgd is missing. Man that is weird. $ gdlib-config --libs -ljpeg -lfontconfig -lfreetype -lz -lm > I also suggest to take this off the list - I am pretty sure noone else is > interested in a gs vs. scconfig debug session. Yes lets move this off list. > Regards, > > Igor2 > Thanks, Evan -- Home http://evanfoss.googlepages.com/ Work http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/