Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

scm command line

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.

0 votes



2 answers

Permanent link
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?

0 votes


Permanent link
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Feb 09 '09, 2:21 p.m.

Question was seen: 5,931 times

Last updated: Feb 09 '09, 2:21 p.m.

Confirmation Cancel Confirm