LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 10-17-2017, 01:22 PM   #1
Research_Assistant
LQ Newbie
 
Registered: Oct 2017
Posts: 6

Rep: Reputation: Disabled
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
 
Old 10-17-2017, 05:04 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,716

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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
ln -s /opt/csw/lib/libcallback.so.1 /opt/csw/lib/libcallback.so.0
 
1 members found this post helpful.
Old 10-18-2017, 11:47 AM   #3
Research_Assistant
LQ Newbie
 
Registered: Oct 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-18-2017, 06:43 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,716

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
You need to install the CSWlibavcall1 and CSWlibcallback1 packages.
 
1 members found this post helpful.
Old 10-19-2017, 10:47 AM   #5
Research_Assistant
LQ Newbie
 
Registered: Oct 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SL14.0_x64:Installing Stumpwm: where is clisp-2.49/full/lisp.run ? harryhaller Slackware 11 02-17-2014 03:23 AM
[SOLVED] E: Unable to locate package nova-comm E: Unable to locate package python-psycopq2 mint12 Linux - Virtualization and Cloud 2 01-05-2012 01:07 PM
gnu clisp foreign function interface with LINUX package wje_lq Programming 4 03-25-2011 07:12 AM
NEW: Binary packages at opencsw.org instead of blastwave kebabbert Solaris / OpenSolaris 0 01-24-2009 03:19 PM
Volume control is unable to run correctly. Unable to open audio device '/dev/mixer'. sevenreams Slackware 1 05-16-2003 08:29 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration