It's all about the answers!

Ask a question

scm command line


Michael Man (51106) | asked Feb 09 '09, 2:21 p.m.
Hi,
I'm configuring scm login on the linux box.
1. The box has scmtools installed and users ssh to the box to do scm
2. scm is added to the path, the .bash_profile looks like
# .bash_profile

# Get the aliases and functions
if ; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:/opt/IBM/TeamConcert/scmtools/eclipse:/opt/IBM/TeamConcert/
jdk/jre/bin

export PATH

Problem:
each time a user tries to run 'scm login -r https://localhost:9443/jazz/ -u USERNAME -P PASSWORD -n jazz', the following error occurs:

libjsig.so: cannot open shared object file: No such file or directory
Scm:
JVM terminated. Exit code=-1
-Xmx512m
-Xshareclasses
-Xquickstart
-Dosgi.requiredJavaVersion=1.5
-Djava.class.path=/opt/IBM/TeamConcert/scmtools/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /opt/IBM/TeamConcert/scmtools/eclipse/scm
-name Scm
--launcher.library /opt/IBM/TeamConcert/scmtools/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.3.R33x_v20080118/eclipse_1023.so
-startup /opt/IBM/TeamConcert/scmtools/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-data @noDefault login
-vm /opt/IBM/TeamConcert/jdk/jre/bin/j9vm/libjvm.so
-vmargs
-Xmx512m
-Xshareclasses
-Xquickstart
-Dosgi.requiredJavaVersion=1.5
-Djava.class.path=/opt/IBM/TeamConcert/scmtools/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar

HOWEVER, When the user at this time run vi /opt/IBM/TeamConcert/scmtools/eclipse/scm.ini, do nothing in the vi and exit, the above command runs perfectly well!

Anyone know why?
PS: if the user don't rely on the path and run the scm under /opt/IBM/TeamConcert/rcmtools/eclipse, the problem is gone.

2 answers



permanent link
Michael Man (51106) | answered Feb 09 '09, 2:59 p.m.
I digged into the problem and found out the problem is not with vi!
It seems that scm.ini file must be in the current directory the user is using, but that directory is in the path, how come it's not added?

permanent link
Evan Hughes (2.4k1318) | answered Feb 10 '09, 11:39 a.m.
JAZZ DEVELOPER
libjsig.so: cannot open shared object file: No such file or directory


It sounds like the libjsig.so library can't be loaded, which is a path issue on that machine. Try searching for LD_LIBRARY_PATH on your favourite search engine.

e

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.