Unable to run clisp on Solarsis 10 with opencsw Solarsis Package
I have tried to run the Clisp which is already available in opt/csw/bin path
I didn't manage to get it working. Expected result: To see a prompt, obviously. Actual results (terminal output): when I tried to run clisp using ./clisp inside the path opt/csw/bin, I get the below error. # ./clisp ld.so.1: lisp.run: fatal: libavcall.so.0: open failed: No such file or directory Killed I tried to list available library for the package clisp, I get the following but no libavcall.so.0 file is present. # ldd clisp libc.so.1 => /lib/libc.so.1 libm.so.2 => /lib/libm.so.2 What I tried to fix the issue: Updated the package, still throws the same error after running ./clisp command. Added /opt/csw/bin to the path variable, still the error persists. My Observations: I tried to run ldd clisp command on the root path, I get # ldd clisp ldd: clisp: cannot open file: No such file or directory When I tried to run the same command after entering into the path opt/csw/bin, I get # ldd clisp libc.so.1 => /lib/libc.so.1 libm.so.2 => /lib/libm.so.2 I tried to follow the instructions given in the below link: https://www.opencsw.org/package/clisp/ Did I miss anything to install clisp so I am getting this error? I am new to clisp. Any help to resolve the issue is appreciable. Thanks in advance |
Looks like a version issue.
You might try this hack : Code:
ln -s /opt/csw/lib/libavcall.so.1 /opt/csw/lib/libavcall.so.0 |
Thanks for looking into the problem. I couldn't find either of the files libavcall.so.1 and libcallback.so.1 in /opt/csw/lib path.
To understand the issue in depth. I used truss command in /opt/csw/bin and got the below logs: # truss -f -t stat,open ./clisp 10700: stat64("/opt/csw/bin/clisp", 0x08047A30) = 0 10700: open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT 10700: stat64("/opt/csw/lib/libc.so.1", 0x080472E0) Err#2 ENOENT 10700: stat64("/lib/libc.so.1", 0x080472E0) = 0 10700: open("/lib/libc.so.1", O_RDONLY) = 3 10700: stat64("/opt/csw/lib/clisp-2.47/base/lisp.run", 0x08047970) = 0 10700: open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT 10700: stat64("/opt/csw/lib/libreadline.so.5", 0x08047220) = 0 10700: open("/opt/csw/lib/libreadline.so.5", O_RDONLY) = 3 10700: stat64("/opt/csw/lib/libncurses.so.5", 0x08047220) = 0 10700: open("/opt/csw/lib/libncurses.so.5", O_RDONLY) = 3 10700: stat64("/opt/csw/lib/libm.so.1", 0x08047220) Err#2 ENOENT 10700: stat64("/lib/libm.so.1", 0x08047220) = 0 10700: open("/lib/libm.so.1", O_RDONLY) = 3 10700: stat64("/opt/csw/lib/libnsl.so.1", 0x08047220) Err#2 ENOENT 10700: stat64("/lib/libnsl.so.1", 0x08047220) = 0 10700: open("/lib/libnsl.so.1", O_RDONLY) = 3 10700: stat64("/opt/csw/lib/libsocket.so.1", 0x08047220) Err#2 ENOENT 10700: stat64("/lib/libsocket.so.1", 0x08047220) = 0 10700: open("/lib/libsocket.so.1", O_RDONLY) = 3 10700: stat64("/opt/csw/lib/libintl.so.3", 0x08047220) = 0 10700: open("/opt/csw/lib/libintl.so.3", O_RDONLY) = 3 10700: stat64("/opt/csw/lib/libiconv.so.2", 0x08047220) = 0 10700: open("/opt/csw/lib/libiconv.so.2", O_RDONLY) = 3 10700: stat64("/opt/csw/lib/libc.so.1", 0x08047220) Err#2 ENOENT 10700: stat64("/lib/libc.so.1", 0x08047220) = 0 10700: open("/lib/libc.so.1", O_RDONLY) = 3 10700: stat64("/opt/csw/lib/libdl.so.1", 0x08047220) Err#2 ENOENT 10700: stat64("/lib/libdl.so.1", 0x08047220) = 0 10700: open("/lib/libdl.so.1", O_RDONLY) = 3 10700: stat64("/opt/csw/lib/libavcall.so.0", 0x08047220) Err#2 ENOENT 10700: stat64("/lib/libavcall.so.0", 0x08047220) Err#2 ENOENT 10700: stat64("/usr/lib/libavcall.so.0", 0x08047220) Err#2 ENOENT ld.so.1: lisp.run: fatal: libavcall.so.0: open failed: No such file or directory I see that Clisp is expecting libavcall.so.0 in the three paths as mentioned in above logs but what I found is libavl.so.1 file, instead of libavcall.so.0 file in all the three mentioned paths. I wonder why libavcall.so.0 file is not present though I updated the package. |
You need to install the CSWlibavcall1 and CSWlibcallback1 packages.
|
Thank you so much for the help. Issue resolved.
I have installed libavcall1 file but the file gave me version 1.0.0 where clisp is expecting 0 version. So I linked the files: ln -s /opt/csw/lib/libavcall.so.1.0.0 /opt/csw/lib/libavcall.so.0 ln -s /opt/csw/lib/libcallback.so.1.0.0 /opt/csw/lib/libcallback.so.0 This has resolved my issue. Thanks again. |
All times are GMT -5. The time now is 06:09 PM. |