FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

LinkBack Thread Tools
Old 11-17-2009, 06:50 PM
Brian McKee
Default (Dear Brian) iSeriesAccess

2009/11/17 khobbos khobbos <khobbos@live.com>:
> Dear Brian 10x a lot for your support and your time
Happy to help. but let's keep this conversation on the mailing list so
others can find answers too if they need them.

> first of all i followed the instruction you suggest
> and everything gone well till we reach to run the program ...
> here what i try to do

Thank you very much for giving us everything! It makes helping so much easier!

> sami@sami-desktop:~$ sudo ibm5250

Ok - first up - never run things as root if you don't have to -
especially programs that talk to foreign computers!
Drop the sudo. (it didn't cause your problem, but I wanted you to know)

> ibm5250: error while loading shared libraries: libstdc++.so.5: cannot open
> shared object file: No such file or directory

That's because you don't have libstdc++5 installed
See the end of this note for the fix.

> sami@sami-desktop:~$ yum install compat-libstdc++

Well - you had the right idea here, but went waaay of course.
Ubuntu uses 'apt' for package management.
'yum' is used by versions of Linux that use 'rpm' for package
management like Redhat and Mandrake.
Don't use it in Ubuntu.

You need to be careful when looking at information about Linux. There
are many different versions, and sometimes the differences will trip
you up until you are used to them.
It's kind of like using a set of instructions for Windows Vista on Windows 95.

> The program 'yum' is currently not installed. You can install it by typing:
> sudo apt-get install yum

That 'helpful' message sent you in the wrong direction.
We need to remove this again. It's not going to do anything but confuse you.
Again, see the end of the email for the fix.

[ removed yum installation results ]

> sami@sami-desktop:~$ su
> Password:

This time you should have used sudo :-) Not part of your problem, just
an observation.
Don't put a password on the root account and use su to change to root in Ubuntu.
One day when you have time please review

OK, so, to get you back on course is easy.

aptitude purge yum
aptitude install libstdc++5

Now try it again

Assuming it works, see my previous email with the info about making it
into a desktop icon etc.

Let us know how that works out for you,

ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Thread Tools

All times are GMT. The time now is 08:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org