LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2009, 01:59 PM   #1
fth
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
Installing apps on Ubuntu 9.04 and want to avoid breaking package management


I recently installed Ubuntu 9.04 and wiped out Windows XP on my laptop and am off to a good start so far. I want to install a couple of apps but installation fails because they can't find libc.so.6, libstdc++, /bin/sh, glibc, librt.so.1.

What's the best way to make these available without creating dependency problems or downleveling my system?

fth@spooky:/tmp$ sudo apt-get install libc.so.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libc.so.6
fth@spooky:/tmp$ sudo apt-cache search libc.so.6
fth@spooky:/tmp$

That's what I get when I look for these on my system.

Thanks-
 
Old 09-17-2009, 02:02 PM   #2
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
If you can't handle dependency problems manually, the best way is to use Synaptic Package Manager. Just search for the apps you wanna install

Last edited by j_jerry; 09-17-2009 at 02:03 PM.
 
Old 09-17-2009, 02:09 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
What are you trying to install, and how ?
 
Old 09-17-2009, 02:39 PM   #4
fth
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Trying to install Oracle Calendar client, IBM Tivoli TSM client, and IBM Storage mgr

I'm trying to install clients that I need to access in a corporate environment that I had on Windows but want to ditch Windows for good. All of the clients in the title have Linux versions and come as either RPM's or tar files with install scripts. I've successfully installed some other RPMs with yum. I think the RPMs in the IBM clients (using Java) were built assuming installation on Redhat or SUSE systems.

Ubuntu 9.04 came with libstdc++6 but I was able to install Thunderbird that required libstdc++5 by just using apt-get to get libstdc++5.

Any assistance you can offer will be appreciated.

Thanks-
 
Old 09-17-2009, 02:45 PM   #5
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
Can you name the packages you need to install ?
 
Old 09-17-2009, 02:45 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Did you tried the suggestion from j_jerry ?
Try
Code:
sudo apt-get install libc6
 
Old 09-18-2009, 05:33 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
" sudo apt-get install libc6 " probably makes no difference.

libc = 'libc6' is always installed , else no OS.
"libc" is your system.

But if the applications are "10" years old, the libc6,
+ the included librt.so.1
can just be incompatible with those applications.

To run them, use e.g. CentOS 4.7, which has a libc
with a compatibility, which goes longer back.

You still miss out to tell the versions of the app's in question.
.....

Last edited by knudfl; 09-18-2009 at 11:08 AM.
 
Old 09-18-2009, 02:06 PM   #8
fth
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
Did you tried the suggestion from j_jerry ?
Try
Code:
sudo apt-get install libc6
Yes, here's what I get:

fth@spooky:~/data4$ sudo apt-get install libc6
[sudo] password for fth:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
fth@spooky:~/data4$

Are these symbolic links a problem?

fth@spooky:~/data4$ ls /lib/libc*|more
lrwxrwxrwx 1 root root 14 2009-09-15 08:18 /lib/libcidn.so.1 -> libcidn-2.9.so
lrwxrwxrwx 1 root root 15 2009-09-15 08:18 /lib/libcrypt.so.1 -> libcrypt-2.9.so
lrwxrwxrwx 1 root root 11 2009-09-15 08:18 /lib/libc.so.6 -> libc-2.9.so*
lrwxrwxrwx 1 root root 14 2009-09-09 12:16 /lib/libcap.so.2 -> libcap.so.2.11
lrwxrwxrwx 1 root root 17 2009-09-09 12:16 /lib/libcom_err.so.2 -> libcom_err.so.2.1
-rw-r--r-- 1 root root 1381092 2009-09-09 10:42 /lib/libcrypto.so.0.9.8
-rwxr-xr-x 1 root root 1331404 2009-08-31 14:46 /lib/libc-2.9.so*
-rw-r--r-- 1 root root 185816 2009-08-31 14:46 /lib/libcidn-2.9.so
-rw-r--r-- 1 root root 38296 2009-08-31 14:46 /lib/libcrypt-2.9.so
-rw-r--r-- 1 root root 9576 2009-02-12 10:37 /lib/libcom_err.so.2.1
-rw-r--r-- 1 root root 13792 2008-11-04 21:10 /lib/libcap.so.2.11

And is a symbolic link what I need to get past the /bin/sh dependency below?

fth@spooky:/tmp/Linux10p50_single/Linux$ sudo yum install SMruntime-LINUX-10.50.A5.01-1.i586.rpm
Setting up Install Process
Parsing package install arguments
Examining SMruntime-LINUX-10.50.A5.01-1.i586.rpm: SMruntime-10.50.A5.01-1.i586
Marking SMruntime-LINUX-10.50.A5.01-1.i586.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package SMruntime.i586 0:10.50.A5.01-1 set to be updated
--> Processing Dependency: /bin/sh for package: SMruntime
--> Processing Dependency: /bin/sh for package: SMruntime
--> Finished Dependency Resolution
SMruntime-10.50.A5.01-1.i586 from SMruntime-LINUX-10.50.A5.01-1.i586.rpm has depsolving problems
--> Missing Dependency: /bin/sh is needed by package SMruntime-10.50.A5.01-1.i586 (SMruntime-LINUX-10.50.A5.01-1.i586.rpm)
Error: Missing Dependency: /bin/sh is needed by package SMruntime-10.50.A5.01-1.i586 (SMruntime-LINUX-10.50.A5.01-1.i586.rpm)
fth@spooky:/tmp/Linux10p50_single/Linux$

fth@spooky:/tmp$ ls /bin/sh
lrwxrwxrwx 1 root root 4 2009-09-09 12:15 /bin/sh -> dash*
fth@spooky:/tmp$
 
Old 09-18-2009, 02:09 PM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
I would suggest to talk to the developers of the progs at your company.
 
Old 09-18-2009, 02:15 PM   #10
fth
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
" sudo apt-get install libc6 " probably makes no difference.

libc = 'libc6' is always installed , else no OS.
"libc" is your system.

But if the applications are "10" years old, the libc6,
+ the included librt.so.1
can just be incompatible with those applications.

To run them, use e.g. CentOS 4.7, which has a libc
with a compatibility, which goes longer back.

You still miss out to tell the versions of the app's in question.
.....
2 of the 3 apps are from IBM and are at least their 2008/2009 versions. The third one is from Oracle and a bit older. There is install information at https://help.ubuntu.com/community/Oracle9i and it is for Ubuntu 5.10.
 
  


Reply

Tags
apt-get


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
LXer: Ubuntu Package Management from Command line using apt LXer Syndicated Linux News 0 03-23-2009 07:40 AM
LXer: Three scripts for package management on Debian and Ubuntu systems LXer Syndicated Linux News 1 10-29-2008 08:59 PM
LXer: Debian/Ubuntu Package management Using dpkg LXer Syndicated Linux News 0 04-19-2007 09:47 PM
What packages should a person NOT install to avoid breaking their installation? beeblequix Linux - Newbie 3 11-08-2005 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:09 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