[cl-gd-devel] Trouble installing

Blaine Nelson jillandblaine at hotmail.com
Mon Jul 3 12:52:46 UTC 2006


Edi,

Thanks for the reply.  Problem solved!

The key was to run

    export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

before building libgd.so.

That said, I still don't understand what's going on.  /usr/local/lib is in 
/etc/ld.so.conf.  I thought that was supposed to suffice...

Oh well.  Doesn't matter.  I'm just so darned happy it's working.

Thanks again,
Blaine


----Original Message Follows----
From: Edi Weitz <edi at agharta.de>
To: "Blaine Nelson" <jillandblaine at hotmail.com>
CC: cl-gd-devel at common-lisp.net
Subject: Re: [cl-gd-devel] Trouble installing
Date: Sun, 02 Jul 2006 22:23:34 +0200

On Fri, 30 Jun 2006 15:36:58 -0400, "Blaine Nelson" 
<jillandblaine at hotmail.com> wrote:

 > Error opening shared object
 > "/home/blaino/systems/cl-gd-0.5.1/cl-gd-glue.so":
 >   /home/blaino/systems/cl-gd-0.5.1/cl-gd-glue.so: undefined symbol:
 >   gdImageCreateFromJpeg.  [Condition of type SIMPLE-ERROR]

gdImageCreateFromJpeg is defined in libgd.so so it seems that libgd.so
is not found.  Does it help if you do something like

   export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

before you start your Lisp compiler (assuming that on your system
libgd.so is in /usr/local/lib)?

Did you build libgd.so yourself?  If not, where did you get it from
and how did you install it?

Otherwise, it might also be helpful if you could give us information
about which Lisp you are using, which Linux distro, and so on.

Cheers,
Edi.





More information about the Cl-gd-devel mailing list