I installed debian package, and now test works, thank you!<br><br>Andrew<br><br><div><span class="gmail_quote">On 3/13/07, <b class="gmail_sendername">Andrei Stebakov</b> <<a href="mailto:lispercat@gmail.com">lispercat@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I missed the cl-gd-glue.so. Now in order to compile it I had to install the libiconv. So I rebuilt the libgd with it and I put 
cl-gd-glue.so in both /usr/lib and /usr/local/lib. The problem is still the same, when I (asdf:oos 'asdf:compile-op :cl-gd) it gives me 2 errors:
<br><br>Undefined foreign symbol: "gdImageCreate"<br>   [Condition of type KERNEL:SIMPLE-PROGRAM-ERROR]<br><br>Restarts:<br> 0: [CONTINUE] Return NIL from load of #P"/home/andrews/systems/cl-gd-0.5.2/gd-uffi.x86f

".<br> 1: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {58391B6D}> on #<ASDF:CL-SOURCE-FILE "gd-uffi" {59420ECD}>.<br> 2: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {58391B6D}> on #<ASDF:CL-SOURCE-FILE "gd-uffi" {59420ECD}> as having been successful.
<br> 3: [ABORT] Return to SLIME's top level.<br> 4: [ABORT] Return to Top-Level.<br><br>Backtrace:<br>  0: (KERNEL:UNDEFINED-FOREIGN-SYMBOL-ERROR-HANDLER "<error finding name>"<br>                                                    #.(SYSTEM:INT-SAP #x3FFFBB3C)
<br>                                                    #<Alien (*<br>                                                             #) at #x3FFFB7B4><br>                                                    (16))<br>  1: (KERNEL::INTERNAL-ERROR #.(SYSTEM:INT-SAP #x3FFFB7B4) #<unused-arg>)
<br>  2: ("call_into_lisp+#x8C [#x805560C] /usr/bin/cmucl")<br>  3: ("funcall2+#x2C [#x80553EE] /usr/bin/cmucl")<br>  4: ("interrupt_internal_error+#xC3 [#x80506F1] /usr/bin/cmucl")<br>  5: ("sigtrap_handler+#x187 [#x8055260] /usr/bin/cmucl")
<br>  6: ("Foreign function call land")<br>  7: ("os_link_one_symbol+#xC3 [#x8056603] /usr/bin/cmucl")<br>  8: (LISP::ADD-FOREIGN-LINKAGE "gdImageCreate"<br>                                :CODE #("resolve_linkage_tramp" 1 NIL
<br>                                        "undefined_tramp" 1 ...)<br>                                #<HASH-TABLE<br>                                  :TEST EQUAL :WEAK-P NIL :COUNT 555<br>                                  {28073825}>
<br>                                ...)<br>  9: (LISP::FOREIGN-SYMBOL-ADDRESS-AUX "gdImageCreate" :CODE)<br> 10: (LISP::FOP-FOREIGN-FIXUP)<br> 11: (LISP::LOAD-GROUP<br>      #<Stream for file "/home/andrews/systems/cl-
gd-0.5.2/gd-uffi.x86f">)<br> 12: (LISP::FASLOAD<br>      #<Stream for file "/home/andrews/systems/cl-gd-0.5.2/gd-uffi.x86f">)<br> 13: (LISP::INTERNAL-LOAD<br>      #P"/home/andrews/systems/cl-
gd-0.5.2/gd-uffi.x86f"<br>      #P"/home/andrews/systems/cl-gd-0.5.2/gd-uffi.x86f"<br>      :ERROR :BINARY)<br> 14: (LISP::INTERNAL-LOAD<br>      #P"/home/andrews/systems/cl-gd-0.5.2/gd-uffi.x86f"
<br>      #P"/home/andrews/systems/cl-gd-0.5.2/gd-uffi.x86f"<br>      :ERROR NIL)<br> 15: (LOAD #P"/home/andrews/systems/cl-gd-0.5.2/gd-uffi.x86f"<br>           :VERBOSE NIL<br>           :PRINT ...)<br>

 16: ((METHOD ASDF:PERFORM NIL (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE))<br>      (#() . #(#)) #<unused-arg> #<ASDF:LOAD-OP NIL {58391B6D}><br>      #<ASDF:CL-SOURCE-FILE "gd-uffi" {59420ECD}>)<br> 17: ("LAMBDA (G1558 G1559 G1560)" #<#1=unused-arg> #<#1#>
<br>      #<ASDF:LOAD-OP NIL {58391B6D}><br>      #<ASDF:CL-SOURCE-FILE "gd-uffi" {59420ECD}>)<br> 18: ((FLET #:G0 ASDF:OPERATE))<br> 19: (ASDF:OPERATE ASDF:COMPILE-OP :CL-GD)<br> 20: (ASDF:OPERATE 2 ASDF:COMPILE-OP :CL-GD)[:EXTERNAL]
<br> 21: ("DEFSLIMEFUN INTERACTIVE-EVAL")<br> 22: (SWANK::CALL-WITH-BUFFER-SYNTAX<br>      #<Closure Over Function "DEFSLIMEFUN INTERACTIVE-EVAL" {59401131}>)<br> 23: ("DEFUN EVAL-FOR-EMACS")
<br> 24: ("DEFINTERFACE CALL-WITH-DEBUGGER-HOOK"<br>      #<Function SWANK:SWANK-DEBUGGER-HOOK {58E6FA31}><br>      #<Closure Over Function "DEFUN EVAL-FOR-EMACS" {59401019}>)<br> 25: ("DEFUN HANDLE-REQUEST")
<br> 26: ("DEFINTERFACE CALL-WITH-DEBUGGER-HOOK"<br>      #<Function SWANK:SWANK-DEBUGGER-HOOK {58E6FA31}><br>      #<Function "DEFUN HANDLE-REQUEST" {58F41831}>)<br> 27: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {587F6715}>
<br>                                     #<Closure Over Function "DEFUN CALL-WITH-CONNECTION"<br>                                       {59386AE9}>)<br> 28: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {587F6715}>
<br>                                  #<Function "DEFUN HANDLE-REQUEST"<br>                                    {58F41831}>)<br> 29: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {587F6715}>)<br> 30: (SWANK::PROCESS-AVAILABLE-INPUT #<Stream for descriptor 9>
<br>                                     #<Closure Over Function "DEFUN INSTALL-SIGIO-HANDLER"<br>                                       {59386A99}>)<br> 31: ((FLET SWANK::HANDLER SWANK::INSTALL-SIGIO-HANDLER))
<br> 32: (SWANK-BACKEND::SIGIO-HANDLER #<#1=unused-arg> #<#1#> #<#1#>)<br> 33: ("call_into_lisp+#x8C [#x805560C] /usr/bin/cmucl")<br> 34: ("funcall3+#x32 [#x8055422] /usr/bin/cmucl")
<br>
 35: ("interrupt_handle_now+#x105 [#x8050940] /usr/bin/cmucl")<br> 36: ("NIL+#x8050E07 [#x8050E07] /usr/bin/cmucl")<br> 37: ("Foreign function call land")<br> 38: (SYSTEM:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL)
<br> 39: (LISP::DO-INPUT #<Stream for Standard Input>)<br> 40: (LISP::INPUT-CHARACTER #<Stream for Standard Input> NIL (LISP::*EOF*))<br> 41: (LISP::SYNONYM-IN #<Synonym Stream to SYSTEM:*STDIN*><br>                       NIL
<br>                       (LISP::*EOF*))<br> 42: (LISP::TWO-WAY-IN<br>      #<Two-Way Stream, Input = #<Synonym Stream to SYSTEM:*STDIN*>, Output = #<Synonym Stream to SYSTEM:*STDOUT*>><br>      NIL<br>

      (LISP::*EOF*))<br> 43: (READ-CHAR<br>      #<Two-Way Stream, Input = #<Synonym Stream to SYSTEM:*STDIN*>, Output = #<Synonym Stream to SYSTEM:*STDOUT*>><br><br>And<br><br>Undefined foreign symbol: "gdFontSmall"
<br>   [Condition of type KERNEL:SIMPLE-PROGRAM-ERROR]<br><br>Restarts:<br> 0: [CONTINUE] Return NIL from load of #P"/home/andrews/systems/cl-gd-0.5.2/strings.x86f".<br> 1: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {58391BCD}> on #<ASDF:CL-SOURCE-FILE "strings" {5839197D}>.
<br> 2: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {58391BCD}> on #<ASDF:CL-SOURCE-FILE "strings" {5839197D}> as having been successful.<br> 3: [ABORT] Return to SLIME's top level.<br> 4: [ABORT] Return to Top-Level.
<br><br>Backtrace:<br>  0: (KERNEL:UNDEFINED-FOREIGN-SYMBOL-ERROR-HANDLER "<error finding name>"<br>                                                    #.(SYSTEM:INT-SAP #x3FFFBB3C)<br>                                                    #<Alien (*
<br>                                                             #) at #x3FFFB7B4><br>                                                    (16))<br>  1: (KERNEL::INTERNAL-ERROR #.(SYSTEM:INT-SAP #x3FFFB7B4) #<unused-arg>)
<br>  2: ("call_into_lisp+#x8C [#x805560C] /usr/bin/cmucl")<br>  3: ("funcall2+#x2C [#x80553EE] /usr/bin/cmucl")<br>  4: ("interrupt_internal_error+#xC3 [#x80506F1] /usr/bin/cmucl")<br>  5: ("sigtrap_handler+#x187 [#x8055260] /usr/bin/cmucl")
<br>  6: ("Foreign function call land")<br>  7: ("os_link_one_symbol+#xC3 [#x8056603] /usr/bin/cmucl")<br>  8: (LISP::ADD-FOREIGN-LINKAGE "gdFontSmall"<br>                                :DATA #("resolve_linkage_tramp" 1 NIL
<br>                                        "undefined_tramp" 1 ...)<br>                                #<HASH-TABLE<br>                                  :TEST EQUAL :WEAK-P NIL :COUNT 555<br>                                  {28073825}>
<br>                                ...)<br>  9: (LISP::FOREIGN-SYMBOL-ADDRESS-AUX "gdFontSmall" :DATA)<br> 10: (LISP::FOP-FOREIGN-DATA-FIXUP)<br> 11: (LISP::LOAD-GROUP<br>      #<Stream for file "/home/andrews/systems/cl-
gd-0.5.2/strings.x86f">)<br> 12: (LISP::FASLOAD<br>      #<Stream for file "/home/andrews/systems/cl-gd-0.5.2/strings.x86f">)<br> 13: (LISP::INTERNAL-LOAD<br>      #P"/home/andrews/systems/cl-
gd-0.5.2/strings.x86f"<br>      #P"/home/andrews/systems/cl-gd-0.5.2/strings.x86f"<br>      :ERROR :BINARY)<br><br>I am using debian linux (sarge), cmucl 19d.<br><br>Thank you,<br>Andrew<div><span class="e" id="q_1114c2b0ee1518c5_1">
<br><br><div><span class="gmail_quote">
On 3/13/07, <b class="gmail_sendername">Edi Weitz</b> <<a href="mailto:edi@agharta.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">edi@agharta.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

On Mon, 12 Mar 2007 22:40:54 -0500, "Andrei Stebakov" <<a href="mailto:lispercat@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lispercat@gmail.com</a>> wrote:<br><br>> I've installed the libgd on my linux box (it's in
<br>> /usr/local/lib/libgd.so).  I've installed the bindings and now when
<br>> I compile it it complained about not being able to find<br>> gdImageCreate and gdSmallFont.<br>><br>> [snip]<br>><br>> I checked the libgd.so, looks like the gdImageCreate and the rest of<br>> the functions are there. What could be causing the problem?
<br><br>CL-GD loads libgd.so indirectly through cl-gd-glue.so, so the OS has<br>to be able to find it.  How did you compile cl-gd-glue.so?  Did you<br>get any error messages?  Does the OS look into /usr/local/lib?  Does<br>

it work if you put the library into /usr/lib?  Which Lisp are you<br>using?<br>_______________________________________________<br>cl-gd-devel site list<br><a href="mailto:cl-gd-devel@common-lisp.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
cl-gd-devel@common-lisp.net
</a><br><a href="http://common-lisp.net/mailman/listinfo/cl-gd-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://common-lisp.net/mailman/listinfo/cl-gd-devel</a><br></blockquote></div><br>

</span></div></blockquote></div><br>