LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-04-2007, 03:25 AM   #1
keith11
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Rep: Reputation: 15
Can someone please analyze the problem here?


I am trying to install Cadence IC-5.0 lnx-86 ( a semi-conductor chip design software) on my laptop which has Mandriva Powerpack 2007 running on it. I have had this same version of Cadence working on Mandrake 9.2, but I had other issues with Madrake 9.2 so I decided to switch to a newer version, Mandriva Powerpack 2007. I assumed if Cadence worked on Mandrake 9.2, it should work on Mandriva Powerpack too, but apparently that doesn't seem true. I start the installation by running "./SETUP.SH" but as you will see in the following code that I am pasting here it fails to run "softload" (the program it is supposed to load after SETUP) after ./SETUP.SH.

Specify path of install directory \c
[OR type [RETURN] to exit]: \c
/cadence

Directory /cadence does not exist. Create? [y/n]: \c
y


Creating directory /cadence
\c

Setting up softload for lnx86 in /cadence
\c

The following tar errors were detected:
\c
/bin/tar: Removing leading `/' from member names

Could not set up SoftLoad in /cadence\c


You must have write permissions to install directory \c
and all its subdirectories
and atleast 10 MB available disk \c
space in install directory.
\c


So I went to the directory /cadence/install/bin.lnx.86/ and ran ./softload from there (the softload can also be ran from /cadence/install/bin.lnx.86 instead of the main softload which the installation would have run after SETUP.SH). When I run softload and reach to the point of specifying where the cdrom's are mounted, the installation runs a little further and then stops giving an error code as follows and THIS IS THE PLACE WHERE I NEED HELP ANALYSING THE PROBLEM ABOUT GLIBC_2.0 AND lib.so.6:

Type the CD-ROM mount point: [ /cdrom ] /mnt/cdrom

/cadence/install/bin.lnx86/io_fltr: relocation error: /cadence/install/bin.lnx86/io_fltr: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
dd: I/O error
./softload: line 1412:
Could not extract information from FS.0 of CD#1.
Could not get platform or release information: command not found


Following is the result of "rpm -l -q gcc" as the su:

[root@localhost codecs]# rpm -l -q gcc
/usr/bin/c89
/usr/bin/c99
/usr/bin/cc
/usr/bin/gcc-4.1.1
/usr/bin/gcc4.1-version
/usr/bin/gcov
/usr/bin/i586-mandriva-linux-gnu-gcc
/usr/bin/protoize
/usr/bin/unprotoize
/usr/lib/gcc/i586-mandriva-linux-gnu
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/SYSCALLS.c.X
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/collect2
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/crtbegin.o
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/crtbeginS.o
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/crtbeginT.o
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/crtend.o
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/crtendS.o
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/crtfastmath.o
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/README
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/emmintrin.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/float.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/iso646.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/limits.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/mm3dnow.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/mm_malloc.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/mmintrin.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/pmmintrin.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/stdarg.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/stdbool.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/stddef.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/syslimits.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/unwind.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/varargs.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/include/xmmintrin.h
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/libgcc.a
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/libgcc_eh.a
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/libgcov.a
/usr/lib/libgcc_s.so
/usr/share/doc/gcc-4.1.1
/usr/share/doc/gcc-4.1.1/ChangeLog
/usr/share/doc/gcc-4.1.1/ChangeLog-1997
/usr/share/doc/gcc-4.1.1/ChangeLog-1998
/usr/share/doc/gcc-4.1.1/ChangeLog-1999
/usr/share/doc/gcc-4.1.1/ChangeLog-2000
/usr/share/doc/gcc-4.1.1/ChangeLog-2001
/usr/share/doc/gcc-4.1.1/ChangeLog-2002
/usr/share/doc/gcc-4.1.1/ChangeLog-2003
/usr/share/doc/gcc-4.1.1/ChangeLog-2004
/usr/share/doc/gcc-4.1.1/ChangeLog-2005
/usr/share/doc/gcc-4.1.1/ChangeLog.lib
/usr/share/doc/gcc-4.1.1/ChangeLog.tree-ssa
/usr/share/doc/gcc-4.1.1/FSFChangeLog
/usr/share/doc/gcc-4.1.1/FSFChangeLog.10
/usr/share/doc/gcc-4.1.1/FSFChangeLog.11
/usr/share/doc/gcc-4.1.1/README.Portability
/usr/share/man/man1/gcc.1.bz2
/usr/share/man/man1/gcov.1.bz2


I am a newbie of Linux and I just have an instruction set from which I install Cadence. Could someone please guide me as to what I can do to install Cadence IC-5.0 on Mandriva Powerpack 2007 or do I have to again go back to Mandrake 9.2? Are there any libraries or some packages I can install so that Cadence can be installed? Just out of curiosity, can Cadence work on Windows XP pro SP2? Thanks.

Last edited by keith11; 01-04-2007 at 03:41 AM.
 
Old 01-04-2007, 11:12 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
See if "export LD_ASSUME_KERNEL=2.4.1" before you run the installer helps. If that doesn't work you could try to set up a Glibc 2.3-ish compatible env from reading How to Run Binary-Only Application Packages on Various Versions of Linux.
 
Old 01-04-2007, 10:36 PM   #3
keith11
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by unSpawn
See if "export LD_ASSUME_KERNEL=2.4.1" before you run the installer helps. If that doesn't work you could try to set up a Glibc 2.3-ish compatible env from reading How to Run Binary-Only Application Packages on Various Versions of Linux.
I am posting the results of export LD_ASSUME-KERNEL=2.4.1:

root@localhost install]# export LD_ASSUME_KERNEL=2.4.1
[root@localhost install]# cd bin.lnx86/
[root@localhost bin.lnx86]# ls
ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
[root@localhost bin.lnx86]# ./softload
/bin/sh: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
[root@localhost bin.lnx86]# ldd /bin/bash
/bin/sh: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
[root@localhost bin.lnx86]# exit


So, after setting the environment, I guess it didn't accept normal commands like "ls" and an execution like "./softload".

Then I tried reading and understanding the article for installing binary files with a different version. In that article the author recommends to find out the libraries the program may require by typing "ldd (program name)". I tried doing that assuming if softload is the program I have to run by typing ./softload then it will be the program I should check for dependencies by typing "ldd softload". But the output of "ldd softload" was something like the following:

[root@localhost bin.lnx86]# ldd softload
not a dynamic executable
[root@localhost bin.lnx86]# ldd ./softload
not a dynamic executable
[root@localhost bin.lnx86]# cd..
[root@localhost install]# ldd bin.lnx86/softload
not a dynamic executable
[root@localhost install]# cd /mnt/cdrom
[root@localhost cdrom]# ls
Crack/ IMAGES.DIR/ INSTALL.HTML* README* SETUP.SH* SOFTLOAD.TAR*
[root@localhost cdrom]# ldd SETUP.SH
not a dynamic executable


I tried typing softload, ./softload, etc. but the result is the same saying "not a dynamic executable". So, I am not able to find out the libraries this program requires. I know though that this installation ran fine on Mandrake 9.2. I am still reading and researching more on this but your guidance is very much required if you can figure out the problem and suggest some solution. Thanks for your help.
 
Old 01-05-2007, 12:04 AM   #4
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Rep: Reputation: 31
libdl and librt issues try to solve like this:

ln -s /usr/lib/librt.so /usr/lib/librt.so.1
ln -s /usr/lib/libdl.so /usr/lib/libdl.so.2
 
Old 01-05-2007, 01:04 AM   #5
keith11
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Original Poster
Rep: Reputation: 15
To Kotnik:

I tried as you suggested, but I am still facing the same errors about librt and libdl.

In addition to this, I tried installing glibc-2.3.2-14mdk.i586.rpm I got the follwing error:
"unable to access hdlist file of "update_source", medium ignored". I am lost. Need some guidance.

Last edited by keith11; 01-05-2007 at 01:37 AM.
 
Old 01-05-2007, 12:02 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Not a "solution" but ever thought of running QEMU and an image of say Mandrake 9.2?
QEMU is fast and easy to set up and you know your app works under Mandrake 9.2.
 
Old 01-05-2007, 06:43 PM   #7
keith11
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Hi UnSpawn, I did look for QEMU and even downloaded it, but to be honest, I am not very adept with debugging problems in linux and I am not sure how to deal with the image of Mandrake 9.2 and all. I want to keep QEMU as the last option.

I tried installing "glibc-2.3.2-14mdk.i586.rpm" through "urpmi glibc-2.3.2-14mdk.i586.rpm", but after I press "enter" after typing the urpmi command, there is just nothing after that. Nothing follows that command. This is the case also when I click on the rpm file through Konqueror and then install it. I am keeping away from re-installing Mandrake 9.2 and going for QEMU becuase this program (Cadence IC-5.0) is something I need for my thesis completion for my Graduate degree and with Mandrake 9.2 I can't connect to wireless (I tried configuring the wireless for 10 days once and succeeded only once and then failed again) and I don't know anything about QEMU. Thanks.

Update: I tried the following and it also has the results of it:

[root@localhost Download]# rpm -i glibc-2.3.2-14mdk.i586.rpm
error: Failed dependencies:
glibc < 6:2.3.3-2mdk conflicts with sash-3.7-5mdk.i586

What should I do now?

Last edited by keith11; 01-05-2007 at 07:25 PM.
 
Old 01-05-2007, 08:12 PM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I did look for QEMU and even downloaded it, but to be honest, I am not very adept with debugging problems in linux and I am not sure how to deal with the image of Mandrake 9.2 and all.

Compare QEMU as app with Vmware, it's a (nearly: just needs one kernel module) selfcontained application and environment to run a "guest" O.S. in that does not affect your "host" O.S. For this purpose it's easier and safer to run compared to setting up a chroot and easier to configure and run compared to Xen or UML. The suggestion of running QEMU was just that: to bypass troubleshooting. You would run QEMU, make virtual disk and install an O.S. on that disk, then install your app.


I want to keep QEMU as the last option.
If you're still not convinced, OK. Your call.


I tried installing "glibc-2.3.2-14mdk.i586.rpm" through "urpmi glibc-2.3.2-14mdk.i586.rpm" (..) Update: I tried the following (..) What should I do now?
NO, NO, NO! That's NOT what the doc says! The "rpm2cpio" parts mean you *unpack* the packages manually, bypassing your package management tools, so you don't fsck up your system! Please *read* carefully before you do such things (and do make backups).
 
Old 01-06-2007, 02:27 AM   #9
keith11
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Original Poster
Rep: Reputation: 15
I guess I am not doing things right and I must tell you I don't know what Vmware is too. I have just heard about it. I am assuming you meant documentation when you said "that's not what the doc says". I don't even know what you meant by "rpm2cpio". I am assuming you meant unpacking through a tar command when you said I should unpack it manually. I don't blame you if you give up on me now because I know you have tried to help me in the best possible manner. I will do more research to try and understand your suggestions better. Thanks.
 
Old 01-06-2007, 05:30 AM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I must tell you I don't know what Vmware is
And Wikipedia / searchengines didn't show no info? Weird...


I am assuming you meant documentation when you said "that's not what the doc says".
If you mean by "documentation" the "How to Run Binary-Only Application Packages on Various Versions of Linux" link I pointed to earlier then you're right. In any other case you made up the instructions to degrade your current Glibc yourself, which means you're SOL (not irrepairably, but still SOL).


Code:
[root@localhost cdrom]# ls
Crack/ IMAGES.DIR/ INSTALL.HTML* README* SETUP.SH* SOFTLOAD.TAR*
Now it appears you're trying to run Linux warez. Linuxquestions.org doesn't like to be affiliated with the warez scene or aide people in running warezed software, nor are LQ members allowed to ask for anything related to warez. Please read the LQ Rules.


GNU/Linux and warez should not mix.
 
Old 01-06-2007, 06:13 AM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Edit: Thread reopened after clearing up a misunderstanding.

Last edited by reddazz; 01-08-2007 at 10:13 PM.
 
Old 01-08-2007, 03:13 AM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
And I apologise for jumping to conclusions: errare humanum est, even mods are human ;-p
 
Old 01-08-2007, 01:41 PM   #13
keith11
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks for understanding.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help analyse syslog entry carboncopy Linux - Security 3 12-20-2005 02:25 AM
help analyse grub types.h ewt3y Programming 1 08-14-2005 04:43 PM
logfile analyse saavik Linux - Networking 4 03-30-2005 05:14 AM
Can anyone analyse this message? Fraxis Linux - Software 6 01-02-2002 06:36 PM
want help to analyse networking in kernel cybercop12us Programming 1 10-24-2001 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration