From josrr at ymail.com Tue Aug 30 12:55:34 2016 From: josrr at ymail.com (=?UTF-8?Q?Jos=C3=A9_Ronquillo?=) Date: Tue, 30 Aug 2016 12:55:34 +0000 (UTC) Subject: Fw: does not work out of the box in debian In-Reply-To: <2142084373.1335752.1471889283450.JavaMail.yahoo@mail.yahoo.com> References: <2142084373.1335752.1471889283450.JavaMail.yahoo.ref@mail.yahoo.com> <2142084373.1335752.1471889283450.JavaMail.yahoo@mail.yahoo.com> Message-ID: <1665652844.2374562.1472561734046@mail.yahoo.com> 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: /lib/i386-linux-gnu/libncurses.so.5 /lib/i386-linux-gnu/libncurses.so.5.9 /lib/x86_64-linux-gnu/libncurses.so.5 /lib/x86_64-linux-gnu/libncurses.so.5.9 /usr/lib/x86_64-linux-gnu/libncurses.so 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:INPUT(libncurses.so.5 -ltinfo) Any ideas of what to do?? I tried something like this: (defun collect-paths (file) ? (with-open-file (s file) ??? (loop for line = (read-line s nil nil) ?????? while line ?????? if (not (equal (elt line 0) #\#)) ?????? collect line))) (defvar *ncurses-search-paths* ? #+(and linux (or X86_64 X86-64)) (collect-paths #P"/etc/ld.so.conf.d/x86_64-linux-gnu.conf") ? #+(and linux (not X86_64) (not X86-64)) (collect-paths #P"/etc/ld.so.conf.d/i386-linux-gnu.conf") ? #+(and (not win32) (not linux)) '("/usr/local/lib64/" "/usr/local/lib/" "/lib64/" "/lib/" "/usr/lib64/" "/usr/lib/") ? #+win32 '("/users/jacob/src/pdc31dll/")) Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: