From edi at agharta.de Sun Jul 2 20:23:34 2006 From: edi at agharta.de (Edi Weitz) Date: Sun, 02 Jul 2006 22:23:34 +0200 Subject: [cl-gd-devel] Trouble installing In-Reply-To: (Blaine Nelson's message of "Fri, 30 Jun 2006 15:36:58 -0400") References: Message-ID: On Fri, 30 Jun 2006 15:36:58 -0400, "Blaine Nelson" 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. From jillandblaine at hotmail.com Mon Jul 3 12:52:46 2006 From: jillandblaine at hotmail.com (Blaine Nelson) Date: Mon, 03 Jul 2006 08:52:46 -0400 Subject: [cl-gd-devel] Trouble installing In-Reply-To: Message-ID: 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 To: "Blaine Nelson" 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" 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.