| Author |
Message |
jonna
Joined: 10 Aug 2007 Posts: 1
|
10 Aug 2007 8:28 cdsdoc |
|
|
|
|
Hi everyone,
I have installed cadence IC 610 in Redhat ES 5,
When i try to start cdsdoc, i get the following error :
"error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
although libpthread.so.0 is in /lib directory, (/lib is set into $path already)
Anyone can help me out this trouble ?
tHank you
Added after 13 minutes:
problem solved! for anyone who get this problem.
locate cdsdoc, then comment the line
export LD_ASSUME_KERNEL=2.2.5
Added after 33 minutes:
Hi, I still get problem with cdsdoc. When trying to read any document, i get the error
fail to start CDSDOC server obServer
in the console
xxx/bin/obServer: error while loading shared libraries: libnsl.so.1: cannot open share object ...
An error that's pretty similar to error above. But I could not edit obServer file, it's a binary file. Any suggestion ?
|
|
| Back to top |
|
 |
Hughes
Joined: 10 Jun 2003 Posts: 718 Helped: 87
|
10 Aug 2007 15:49 cdsdoc java |
|
|
|
|
You may try to edit the script file of "cdsdoc".
In script "cdsdoc", it set LD_ASSUME_KERNEL to some value according the os version it detects. May be it is set to a wrong value. The environment variable will be inherited by the child process "obServer".
|
|
| Back to top |
|
 |
najhannur
Joined: 09 May 2007 Posts: 5
|
12 Aug 2007 23:19 cdsdoc libpthread.so.0 |
|
|
|
|
Hi ,
You might need to find the library missing or install the patches for the RHEL5.
BTW it is good is you can check cadence lifecycle..I am not sure they support RHEL 5.
I had similar problem before with RHEL 5.
Good luck.
|
|
| Back to top |
|
 |
hpeda
Joined: 28 Nov 2007 Posts: 5
|
07 Dec 2007 14:02 cdsdoc |
|
|
|
|
hi guys
i have the same problem,have you solved?
|
|
| Back to top |
|
 |
roli
Joined: 29 Apr 2001 Posts: 846 Helped: 1 Location: 'SiliconWafer' Island
|
02 Aug 2008 8:18 libc6.1-1.so.2 ubuntu |
|
|
|
|
Sorry to bump this thread again.
I have the same problem, and it is NOT resolved with changing "LD_ASSUME_KERNEL" variable:
11:43am [centos-lap-roli]> setenv LD_ASSUME_KERNEL 2.4.1
11:43am [centos-lap-roli]> cdsdoc
/bin/sh: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
Has anybody solved ?
|
|
| Back to top |
|
 |
leohart
Joined: 10 Nov 2006 Posts: 234 Helped: 13
|
06 Aug 2008 2:57 libpthread.so.0 and cdsdoc and centos |
|
|
|
|
try ln -s /lib/*** cadence_install_path/tools/lib/***
*** is the lib missing
but remeber to do the backup first...
|
|
| Back to top |
|
 |
bharundi
Joined: 01 Jan 1970 Posts: 260 Helped: 5
|
12 Nov 2008 3:04 cdsdoc edaboard |
|
|
|
|
| leohart wrote: |
try ln -s /lib/*** cadence_install_path/tools/lib/***
*** is the lib missing
but remeber to do the backup first... |
I tried that, but still does not work. Did anyone figure this out?
Thx,
|
|
| Back to top |
|
 |
hspice
Joined: 10 Jul 2004 Posts: 8
|
03 Dec 2008 15:54 edaboard libstdc++-libc6.1-1.so.2 |
|
|
|
|
I got the same problem with you. After go through your discussion, I checked cdsdoc again and solve the problem, hope these steps can help you.
1. locate cdsdoc
2. Goto /CDS_ROOT/tools/bin/cdsdoc and edit cdsdoc
3. Search and find "LD_ASSUME_KERNEL=2.2.5" , it should be at some "if" structure. Looks like they use IF structure for some x86 and AMD adaptive
4. Change "2.2.5" to your KERNEL version
5. Run cdsdoc
6. Done
GOOD LUCK
|
|
| Back to top |
|
 |
rover8898
Joined: 25 Nov 2005 Posts: 8
|
03 Dec 2008 18:36 cdsdoc libstdc++-libc6.1-1.so.2 |
|
|
|
|
Hello,
Is there a particular command that tells you which is your kernel version?
Thanks
-Roger
Added after 2 minutes:
Ignore my previous question. I Just googled the answer.
-Roger
|
|
| Back to top |
|
 |
rover8898
Joined: 25 Nov 2005 Posts: 8
|
04 Dec 2008 16:33 cdsdoc starting viewer |
|
|
|
|
Hello all (again),
I changed the LD_ASSUME_KERNEL in the cdsdoc file to the the value of my kernel and it still it doesn't work. I still get the message that libnsl.so.1 cannot be opened when I double-click on a particular help topic. I've been on this bug for a week now and I think I have hit a brick wall. Hence I would appreciate if someone would answer the following questions:
1. Must the ISR patches (for IC610) be installed, for cdsdoc to function properlly?
2. Do other files besides cdsdoc need to be edited (to correct the kernel version)?
3. I am using RHEL 5.1. Must it be updated ? (if so, I do not know how.., got to do more reading:( )
4. Is it importamt that RHEL be running in client, client+workstation or client+workstation+virtualization mode? (I have installed RHEL 5 client. Since I am new to linux, I wanted to start with sometning that sounded simple)
Thank you
-Roger
|
|
| Back to top |
|
 |
k.i.d
Joined: 03 Jan 2009 Posts: 1
|
03 Jan 2009 14:24 cdsdoc install libthread.so.1 |
|
|
|
|
Try to comment this part of your cdsdoc file:
| Code: |
# Set variable for Java to run on RedHat Linux 7.1
#
#if [ $PLATFORM = "lnx86" ]; then
# if [ $ARCH = "x86_64" ]; then
# # AMD Opteron RHEE3.0
# LD_ASSUME_KERNEL=2.4.19
# export LD_ASSUME_KERNEL
# else
# #Standard x86 systems
# LD_ASSUME_KERNEL=2.2.5
# export LD_ASSUME_KERNEL
# fi
#fi |
gl&hf
|
|
| Back to top |
|
 |
aldo.mozzi
Joined: 04 Jan 2009 Posts: 1
|
15 Jan 2009 21:56 maplelmg libpthread.so.0 |
|
|
|
|
I tried to start cdsdoc on Fedora 8 and had the same issue: obServer was not starting. Using ldd I noticed that obServer was missing libjvm.so (java virtual machine). I added the directory <cds_install>/ic610/tools/jre1.50/lib/i386/client/ to the path for searching dynamic libraries in my /etc/ld.so.conf, then ran ldconfig.
After ldconfig, I tried to open a document in cdsdoc; it still complained about obServer, but if I manually ran obServer, it started complaining about the missing web browser.
I made a link named "netscape" to firefox, and then cdsdoc launched firefox, a blank page appeared with only one line saying "Starting..." but the document did not appear.
I suspect obServer should be started with some directory where the documents should be found.
I am still working on this... If I do further steps I'll let you know.
am
|
|
| Back to top |
|
 |
R00KIE
Joined: 19 Jan 2003 Posts: 139 Helped: 20 Location: Portugal
|
21 Mar 2009 0:12 export cdsdoc |
|
|
|
|
The link to firefox is needed
netscape -> firefox
Also you need to hunt down all the missing libraries it complains about and put then in any directory you like and add the path to that dir to LD_LIBRARY_PATH.
Problems about java are usually solved by renaming the jre folders that came with the program in question and making a link jre -> jre folder of the system java _and_ it needs to be sun's java not any of the alternatives.
In my experience the LD_ASSUME_KERNEL variable shouldn't even be set for things to work properly.
|
|
| Back to top |
|
 |
st01liyp
Joined: 07 Apr 2006 Posts: 10
|
18 Apr 2009 17:50 tscm libpthread.so.0 |
|
|
|
|
I have solved this problem, spend me a lot of time:
there are three reason we don't get cdsdoc working:
1: java want to set LD_ASSUME_KERNEL to current kernel version
2: obServer want LD_ASSUME_KERNEL set to null
3: https need libstdc++-libc6.1-1.so.2
since I am using ubuntu, so this solution is base on ubuntu.
1.edit $INST_DIR/mmsim610/tools/bin/cdsdoc and $INST_DIR/ic610/tools/bin/cdsdoc like this:
#/////////////////////////////////////
if [ $PLATFORM = "lnx86" ]; then
if [ $ARCH = "x86_64" ]; then
# AMD Opteron RHEE3.0
#LD_ASSUME_KERNEL=2.4.19
LD_ASSUME_KERNEL=2.6.27
export LD_ASSUME_KERNEL
else
#Standard x86 systems
LD_ASSUME_KERNEL=2.2.5
export LD_ASSUME_KERNEL
fi
fi
#////////////////////////////////////
2.edit $INST_DIR/mmsim610/tools/bin/obServer and $INST_DIR/mmsim610/tools/bin/obServer like this
if [ $ARCH = "x86_64" ]; then
# AMD Opteron RHEE3.0
# LD_ASSUME_KERNEL=2.4.19
LD_ASSUME_KERNEL=
export LD_ASSUME_KERNEL
3. download compat-libstdc++-296-2.96-135.i386.rpm
tar zxf compat*tgz
sudo apt-get install alien
cd usr/lib
sudo cp libstdc++-2-libc6.1-1-2.9.0.so /lib32/libstdc++-libc6.1-1.so.2
now cdsdoc works fine.
|
|
| Back to top |
|
 |
edzyj
Joined: 24 Jun 2006 Posts: 2
|
03 May 2009 11:33 libgcc_s.so.1 and cdsdoc |
|
|
|
|
st01liyp
thanks so much!
i run cadence ic610 on gentoo now!
|
|
| Back to top |
|
 |
skiptoo
Joined: 22 Mar 2009 Posts: 1
|
10 Jun 2009 18:11 cdsdoc ubuntu |
|
|
|
|
| st01liyp wrote: |
I have solved this problem, spend me a lot of time:
there are three reason we don't get cdsdoc working:
1: java want to set LD_ASSUME_KERNEL to current kernel version
2: obServer want LD_ASSUME_KERNEL set to null
3: https need libstdc++-libc6.1-1.so.2
since I am using ubuntu, so this solution is base on ubuntu.
1.edit $INST_DIR/mmsim610/tools/bin/cdsdoc and $INST_DIR/ic610/tools/bin/cdsdoc like this:
#/////////////////////////////////////
if [ $PLATFORM = "lnx86" ]; then
if [ $ARCH = "x86_64" ]; then
# AMD Opteron RHEE3.0
#LD_ASSUME_KERNEL=2.4.19
LD_ASSUME_KERNEL=2.6.27
export LD_ASSUME_KERNEL
else
#Standard x86 systems
LD_ASSUME_KERNEL=2.2.5
export LD_ASSUME_KERNEL
fi
fi
#////////////////////////////////////
2.edit $INST_DIR/mmsim610/tools/bin/obServer and $INST_DIR/mmsim610/tools/bin/obServer like this
if [ $ARCH = "x86_64" ]; then
# AMD Opteron RHEE3.0
# LD_ASSUME_KERNEL=2.4.19
LD_ASSUME_KERNEL=
export LD_ASSUME_KERNEL
3. download compat-libstdc++-296-2.96-135.i386.rpm
tar zxf compat*tgz
sudo apt-get install alien
cd usr/lib
sudo cp libstdc++-2-libc6.1-1-2.9.0.so /lib32/libstdc++-libc6.1-1.so.2
now cdsdoc works fine. |
I guess you must have a x86_64 arch
For user who uses a i386 arch,just edit the else block in both cdsdoc and obServer file like this
#/////////////////////////////////////
if [ $PLATFORM = "lnx86" ]; then
if [ $ARCH = "x86_64" ]; then
# AMD Opteron RHEE3.0
#LD_ASSUME_KERNEL=2.4.19
#LD_ASSUME_KERNEL=2.6.27
export LD_ASSUME_KERNEL
else
#Standard x86 systems
#LD_ASSUME_KERNEL=2.2.5
LD_ASSUME_KERNEL=2.6.27
export LD_ASSUME_KERNEL
fi
fi
#////////////////////////////////////
and then
sudo cp libstdc++-2-libc6.1-1-2.9.0.so /usr/lib/libstdc++-libc6.1-1.so.2
Thanks a lot "st01liyp", hope everyone good luck! My cdsdoc works just fine!
BTW:My OS is Ubuntu 8.10 with kernel 2.6.27-13
|
|
| Back to top |
|
 |
fanil
Joined: 11 Jun 2009 Posts: 1
|
11 Jun 2009 16:13 cdsdoc +libpthread |
|
|
|
|
| skiptoo wrote: |
| st01liyp wrote: |
I have solved this problem, spend me a lot of time:
there are three reason we don't get cdsdoc working:
1: java want to set LD_ASSUME_KERNEL to current kernel version
2: obServer want LD_ASSUME_KERNEL set to null
3: https need libstdc++-libc6.1-1.so.2
since I am using ubuntu, so this solution is base on ubuntu.
1.edit $INST_DIR/mmsim610/tools/bin/cdsdoc and $INST_DIR/ic610/tools/bin/cdsdoc like this:
#/////////////////////////////////////
if [ $PLATFORM = "lnx86" ]; then
if [ $ARCH = "x86_64" ]; then
# AMD Opteron RHEE3.0
#LD_ASSUME_KERNEL=2.4.19
LD_ASSUME_KERNEL=2.6.27
export LD_ASSUME_KERNEL
else
#Standard x86 systems
LD_ASSUME_KERNEL=2.2.5
export LD_ASSUME_KERNEL
fi
fi
#////////////////////////////////////
2.edit $INST_DIR/mmsim610/tools/bin/obServer and $INST_DIR/mmsim610/tools/bin/obServer like this
if [ $ARCH = "x86_64" ]; then
# AMD Opteron RHEE3.0
# LD_ASSUME_KERNEL=2.4.19
LD_ASSUME_KERNEL=
export LD_ASSUME_KERNEL
3. download compat-libstdc++-296-2.96-135.i386.rpm
tar zxf compat*tgz
sudo apt-get install alien
cd usr/lib
sudo cp libstdc++-2-libc6.1-1-2.9.0.so /lib32/libstdc++-libc6.1-1.so.2
now cdsdoc works fine. |
I guess you must have a x86_64 arch
For user who uses a i386 arch,just edit the else block in both cdsdoc and obServer file like this
#/////////////////////////////////////
if [ $PLATFORM = "lnx86" ]; then
if [ $ARCH = "x86_64" ]; then
# AMD Opteron RHEE3.0
#LD_ASSUME_KERNEL=2.4.19
#LD_ASSUME_KERNEL=2.6.27
export LD_ASSUME_KERNEL
else
#Standard x86 systems
#LD_ASSUME_KERNEL=2.2.5
LD_ASSUME_KERNEL=2.6.27
export LD_ASSUME_KERNEL
fi
fi
#////////////////////////////////////
and then
sudo cp libstdc++-2-libc6.1-1-2.9.0.so /usr/lib/libstdc++-libc6.1-1.so.2
Thanks a lot "st01liyp", hope everyone good luck! My cdsdoc works just fine!
BTW:My OS is Ubuntu 8.10 with kernel 2.6.27-13 |
that' cool ,you guys save my FF and IC610 ~
|
|
| Back to top |
|
 |
steve_guo
Joined: 29 Sep 2004 Posts: 24 Helped: 2
|
16 Jun 2009 10:18 opteron environment variable arch |
|
|
|
|
Just open a firefox/mozilla window
then,you can use cdsdoc.
looks stupid but useful,~~
|
|
| Back to top |
|
 |
Google AdSense

|
16 Jun 2009 10:18 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
R00KIE
Joined: 19 Jan 2003 Posts: 139 Helped: 20 Location: Portugal
|
22 Jun 2009 12:13 centos x86_64 ld_assume_kernel |
|
|
|
|
I am now installing ic5 and other tools on centos 4.7 and I have stumbled upon this problem too.
So far all I needed to do was install any package for missing libraries.
I've found that at least under centos 4.7 I have no need to comment or change any LD_ASSUME_KERNEL lines (so far at least). To solve this last issue of cdsdoc do the following:
- create a link to firefox ln -s /usr/bin/netscape /usr/bin/firefox
- go to cdsdir/tools/lib and then do
mv libgcc_s.so.1 libgcc_s.so.1_
ln -s /lib/libgcc_s.so.1 libgcc_s.so.1
(for centos it is like this, for other distros libgcc_s.so.1 may be in /usr/lib I think, create the link accordingly)
and thats all, you should have cdsdoc working well.
|
|
| Back to top |
|
 |
roli
Joined: 29 Apr 2001 Posts: 846 Helped: 1 Location: 'SiliconWafer' Island
|
29 Sep 2009 12:19 Re: Failed to start cdsdoc, please help !!! |
|
|
|
|
Thanks Rookie,
Done exactly what you've advised, and resolved the libgcc error !
but now I get a new error:
===================
12:56pm [centos]> cdsdoc
[1] 11090
12:56pm [centos]> CDSDoc, version 2.1
Copyright © 2000-2003, Cadence Design Systems, Inc.
Starting browser ...
*** NSPlugin Viewer *** WARNING: unhandled variable 17 in NPN_GetValue()
./https: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
*** NSPlugin Viewer *** WARNING: unhandled variable 17 in NPN_GetValue()
*** NSPlugin Viewer *** WARNING: unhandled variable 17 in NPN_GetValue()
*** NSPlugin Viewer *** WARNING: unhandled variable 17 in NPN_GetValue()
*** NSPlugin Viewer *** WARNING: unhandled variable 17 in NPN_GetValue()
Internal error: invalid timerId
obServer: Exiting: exit status: 0
========================
|
|
| Back to top |
|
 |
R00KIE
Joined: 19 Jan 2003 Posts: 139 Helped: 20 Location: Portugal
|
29 Sep 2009 22:10 Failed to start cdsdoc, please help !!! |
|
|
|
|
Try to install compat-libstdc++-296
In the system I'm using (centos 4) that file is a link to libstdc++-2-libc6.1-1-2.9.0.so which is provided by compat-libstdc++-296
|
|
| Back to top |
|
 |