Environment
- RTC Server version: 2.0.0.1
- OS: Ubuntu 9.04, 64bit. Server edition
- HW: VMWare guest, 64bit, 1GB RAM
Problem
Installation of Rational Team Concert is in general as easy as unzipping the downloaded archive. I did this recently on Ubuntu 9.04 64bit, server edition. Later I have encountered errors when generating any report (for example Floating License Report). I got this message:
CREATE_EXTENSION_FAIL ( 1 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: CREATE_EXTENSION_FAIL
at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1121)
....
The post at
jazz.net forums suggested, that there are missing libraries required by file
*/jazz/server/jre/bin/libfontmanager.so You can find out which
libraries are missing by running
ldd jazz/server/jre/bin/libfontmanager.so
My output was:
linux-vdso.so.1 => (0x00007fff5efad000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fc04eed9000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fc04ecbd000)
libwrappers.so => not found
libawt.so => not found
libstdc++.so.5 => not found
libm.so.6 => /lib/libm.so.6 (0x00007fc04ea36000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fc04e72f000)
libc.so.6 => /lib/libc.so.6 (0x00007fc04e3bd000)
/lib64/ld-linux-x86-64.so.2 (0x00007fc04f26f000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fc04e1a0000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fc04df9d000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fc04dd98000)
Solution
The system library that was missing in my system (using default installation of Ubuntu 9.04 64bit, Server edition) was libstdc++.so.5. This library is included in the package libstdc++5. It can be installed by running:
apt-get install libstdc++5
The RTC server has to be restarted afterwards.
jazz/server/server.shutdown jazz/server/server.startup
I've also had Ubuntu 9.04, but by default only libstdc++6 is available which does not solve the problem. I needed to add
deb http://archive.canonical.com/ubuntu hardy partner
deb http://us.archive.ubuntu.com/ubuntu hardy universe
to /etc/apt/sources.list
and then as this article says
$ apt-get update
$ apt-get install libstdc++5
worked fine.
I even have both libstdc++6 (installed first) and libstdc++5 (installed later) co-existing in the system.