Page 1 of 1

load artful msql module failed

Posted: Thu Apr 24, 2014 4:08 pm
by csfreebird
Always get following error on Ubuntu with 10.6.0

Code: Select all

root@gitlab:/opt# newlisp
newLISP v.10.6.0 64-bit on Linux IPv4/6 UTF-8 libffi, options: newlisp -h

> (load "/opt/mysql.lsp")

ERR: string expected in function import : libmysqlclient

Re: load artful msql module failed

Posted: Thu Apr 24, 2014 4:14 pm
by csfreebird
Fixed it. Add my real path in mysql.lsp file:

Code: Select all

;;; Find the libmysqlclient library on this system                                                                                               
(setf is-64-bit nil)
(let ((paths '("/usr/lib/libmysqlclient.so"
               "/usr/lib/x86_64-linux-gnu/libmysqlclient.so" ;;here
               "/usr/lib64/mysql/libmysqlclient.so"
               "/usr/local/mysql/lib/libmysqlclient.dylib"
               "/opt/local/lib/libmysqlclient.dylib"
               "/sw/lib/libmysqlclient.dylib")))