Error running setup

Forum post

Author
Message

jopython
Posts: 1
Posted on: 2012-12-30 15:46:28.000
$ newlisp ./setup-rockets.lisp

ERR: string expected in function file? : nil
called from user defined function module

$ newlisp -v
newLISP v.10.4.5 on Linux IPv4/6 UTF-8 libffi.

Running newlisp 10.4.5 on Ubuntu 12.10

Rocket Man
Posts: 383
Posted on: 2012-12-31 00:01:56.000
Hi jopython,

It looks like the newLISP interpreter is having a problem with one of the loadable modules. I had problems with this before, and I think the issue is with crypto.lsp. You'll find it in your newlisp directory (usually /usr/share/newlisp-10.3.4 or some such), under the subdirectory modules.

What you need to do is edit this file and find a section that looks like this:


(set 'files '(
"C:/Program Files/gnuwin32/bin/libeay32.dll"
"/usr/lib/libcrypto.so"
"/usr/lib/libcrypto.so.0.9.8"
"/usr/lib/libcrypto.so.0.9.7"
"/usr/lib/libcrypto.so.0.9.6"
"/usr/lib/libcrypto.so.4"
"/usr/lib/libcrypto.so.18.0" ; OpenBSD 4.6
"/usr/lib/libcrypto.dylib"
))


This is a list of all the places that newLISP looks for the file "libcrypto.so" or any of the listed variants. You may have to search for the path that libcrypto.so.whatever lives in and either add it to this list, or copy it to one of the directories in this list.

The same is true for the sqlite3 module, but generally this file is in the right place to begin with.

If this doesn't solve the problem, please let me know, and thanks for trying newLISP on Rockets!


Rocket Man
Posts: 383
Posted on: 2012-12-31 00:09:04.000
Oh, also, try running the script under sudo. That might be the issue, that you don't have permissions to load those modules.


Views: 2778