It's all about the answers!

Ask a question

SCM RTC Tools do not run on Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-127-generic x86_64)

Donald Flinchum (11215) | asked Dec 30 '18, 1:02 p.m.
I have an  Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-127-generic x86_64) Linux system on a VMWare blade server. When I try to execute the LSCM/SCM commands, I get an error:
The program 'scm' is currently not installed. To run 'scm' please ask your administrator to install the package 'scm'
I have the SCMTOOLS installed from the 6.0.1 server. The JBE tools work fine, as I have buildengines running. I installed the Ubuntu tools for SCM - (154.74 MB),  from this site:

how do I get the SCM tools to work?

One answer

permanent link
Kevin Ramer (4.5k8185200) | answered Jan 02 '19, 2:02 p.m.
edited Jan 02 '19, 2:07 p.m.
Well, on unix platforms, the shell searches directories in one's PATH.  If the PATH variable doesn't contain the directory with the scm executable, then the message would be accurate.  

To figure out if PATH needs to be augmented: 

1) Locate the scm executable.   Where that is depends greatly on where one has unzipped the package downloaded. 

2) from a shell type:  echo $PATH  if none of the directories in PATH reference the path found in #1, augment the PATH

export PATH=/the/path/to/scm:$PATH

run the scm executable with an absolute ( /some/path/scm ) or relative path ( some/path/scm ) which assumes that the current directory when spilling that relative path contains the folder.

Also, it looks like there are different exe names there; lscm and jscm.    dpkg -l would show what *is* installed ( if my Ubuntu memory serves )

Kevin Ramer commented Jan 02 '19, 2:39 p.m. | edited Jan 02 '19, 2:40 p.m.

Well, I threw up an Ubuntu 16 VM and have installed the 6.0.2 version of the scmtools

uname -a:

Linux rundlet1 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

lscm / jscm fail w a message about some file not being found ( oh, but it's there ), but may be wrong arch:

root@rundlet1:/tmp# file  /usr/lib/scmtools/eclipse/scm
/usr/lib/scmtools/eclipse/scm: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/, for GNU/Linux 2.2.5, not stripped

I did the --add-architecture suggestion from  The apt install ia32-libs mutters that the package is not available.

Kevin Ramer commented Jan 02 '19, 3:03 p.m. | edited Jan 02 '19, 3:40 p.m.
apt install lib32stdc++6

seems to have done the trick.   I also installed lib32z1 from the suggestions from the attempt to install ia32-libs.
The apparent minimum:

    3  dpkg --add-architecture i386
    4  apt-get update
    5  apt install lib32stdc++6
[ me going to the location I put the scmTools zip ]

    9  unzip
   10  apt install unzip
   11  unzip
   12  dpkg -i scmtools_6.0.2-1_i386.deb
lscm/jscm now work.  [ done on a Ubuntu 16 VM that is about 15 minutes old ]

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.