<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div class="qtdSeparateBR"><br><br></div><div style="display: block;" id="yui_3_16_0_ym19_1_1472521869658_9549" class="yahoo_quoted"><div id="yui_3_16_0_ym19_1_1472521869658_9548" style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"><div id="yui_3_16_0_ym19_1_1472521869658_9547" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"><div id="yui_3_16_0_ym19_1_1472521869658_9659" class="y_msg_container"><div id="yiv5479734979"><div id="yui_3_16_0_ym19_1_1472521869658_9683"><div id="yui_3_16_0_ym19_1_1472521869658_9682" style="color:#000;background-color:#fff;font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3273">Hello, i was trying to load cl-ncurses with sbcl in a debian box without success. The problem seems to be that uffi can't find libncurses.so. In my box this library file is located in this places:</div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3399"><br></div><div dir="ltr" id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3398">/lib/i386-linux-gnu/libncurses.so.5<br id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3410">/lib/i386-linux-gnu/libncurses.so.5.9<br id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3411">/lib/x86_64-linux-gnu/libncurses.so.5<br id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3412">/lib/x86_64-linux-gnu/libncurses.so.5.9<br id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3413">/usr/lib/x86_64-linux-gnu/libncurses.so<br id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3414"></div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3421" dir="ltr"><br></div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3442" dir="ltr">But, package.lisp does not search in any of those paths. Also it only seems to load .so files. But in my case the file /usr/lib/x86_64-linux-gnu/libncurses.so is only an ASCII file which content is one line:</div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3541" dir="ltr">INPUT(libncurses.so.5 -ltinfo)</div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3579" dir="ltr"><br></div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3581" dir="ltr">Any ideas of what to do? I tried something like this:</div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3589" dir="ltr"><br></div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3644" dir="ltr">(defun collect-paths (file)<br id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3613"> (with-open-file (s file)<br id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3614"> (loop for line = (read-line s nil nil)<br id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3615"> while line<br id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3616"> if (not (equal (elt line 0) #\#))<br id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3617"> collect line)))</div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3618" dir="ltr"><br></div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3621" dir="ltr">(defvar *ncurses-search-paths*<br id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3630"> #+(and linux (or X86_64 X86-64)) (collect-paths #P"/etc/ld.so.conf.d/x86_64-linux-gnu.conf")<br id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3631"> #+(and linux (not X86_64) (not X86-64)) (collect-paths #P"/etc/ld.so.conf.d/i386-linux-gnu.conf")<br id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3632"> #+(and (not win32) (not linux)) '("/usr/local/lib64/" "/usr/local/lib/" "/lib64/" "/lib/" "/usr/lib64/" "/usr/lib/")<br id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3633"> #+win32 '("/users/jacob/src/pdc31dll/"))</div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_4042" dir="ltr"><br></div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_4043" dir="ltr">Thanks in advance.<br></div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3650" dir="ltr"><br></div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3900" dir="ltr"><br></div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3647" dir="ltr"><br></div><div id="yiv5479734979yui_3_16_0_ym19_1_1471885907464_3648" dir="ltr"><br></div></div></div></div><br><br></div> </div> </div> </div></div></body></html>