LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-24-2008, 05:22 AM   #1
thirtyfootscrew
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Rep: Reputation: 0
Installing / Upgrading GCC on SUSE Enterprise 9


Hi,

I've tried searching but can't find any really simple noob-level answer to my question. I intend to learn Linux properly but have a very specific and urgent requirement to install an app on SUSE Linux Enterprise Server 9.

My problem is that I need GCC C++ runtime version 3.4.3 (or later I guess) but the standard install comes with an earlier version. The app's documentation specifically mentions the file "libstdc++.so.6" which should be in either: "/usr/lib" or "/lib".

I tried downloading an RPM of the latest version of GCC but it didn't work and complained about dependencies - from what I can tell the best method is to compile the GCC files from source but that sounds complicated.

If anyone can help outline a complete "noob's guide" to installing or upgrading the GCC libraries on top of a clean install of SLES 9 (perhaps it's the same regardless of the distro) then I'd be very grateful. Please bear in mind that it does need to be pretty basic, at this stage it'd be fair to assume I know nothing.

Thanks in advance.
 
Old 01-24-2008, 07:15 AM   #2
greeneagle
Member
 
Registered: Dec 2004
Location: Dublin Ireland via Cobh, Limerick.
Distribution: RedHat, Suse, Ubuntu.
Posts: 33

Rep: Reputation: 16
Question

Maybe SLES 9 is ... old?

So if you really need a later version of gcc you should seriously thing about upgrading from SLES 9. If some library or app you wish to use specified a later gcc then it is likely to also require later versions of a few more things (which are more complex) ... and that's when you discover they need this and that and t-other versions which need this and this and that and the other other and that other thing there and .... >

Tell in more detail your "specific and urgent requirement" ... what app?

If you only needed a later version of gcc then download from source, configure, make and make install would probably work for you with a minimum of difficulty because of needing other software.

BUT I suspect because you need a later gcc you're looking at something which needs that (and is likely to need other later things which gets you into the package dependancy nightmare).

On the other hand, to answer the asked question:

If you wish to make things easy try to use the Suse GUI tools for upgrading software, don't try downloading & installing rpms directly. You're looking probably for Yast2 tool (yet another sys-admin tool). And Yast2 invokes YUM for package management and rpm installs.

BUT if SLES 9 is old and you want later versions of any packages this won't work. Newer packages will only become available for a few years for any linux flavour version.

After SuSE stopped making updates for SuSE 9.1 home then apt4rpm provided a good and easy way for getting updated packages for a while ... BUT ... it's quite old now.

http://apt4rpm.sourceforge.net/
 
Old 01-24-2008, 11:40 AM   #3
thirtyfootscrew
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Many thanks for the quick reply, the application in question is Oracle Business Intelligence Enterprise Edition (OBIEE for short, formerly Siebel Analytics). My hand is forced when it comes the Linux platform/version as SLES 9 is the standard in the company I work for (and standards aren't broken lightly). I tried the installer on SLES 10 and although the pre-requisites are in place it will not allow me to install the app, even if I could hack my way around this I wouldn't want to do it because Oracle would not provide any support if things went wrong (software companies are like insurance companies in this case, if you differ from the policy you're screwed!). I'll try your suggestions and keep playing with RPMs, if I do find a solution I'll post it back here for posterity.

Thanks again.
 
Old 01-24-2008, 10:46 PM   #4
greeneagle
Member
 
Registered: Dec 2004
Location: Dublin Ireland via Cobh, Limerick.
Distribution: RedHat, Suse, Ubuntu.
Posts: 33

Rep: Reputation: 16
Hurmm. SLES9 is standard for your company but is it supported by OBIEE on that platform I wonder? ... maybe find the equivalent for your OBIEE version:
http://otndnld.oracle.co.jp/document...ric/e10417.pdf
That lists a bunch of unices inlcuding Suse 9.1 (but doesn't mention SLES9)
 
Old 01-25-2008, 03:21 AM   #5
thirtyfootscrew
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by greeneagle View Post
That lists a bunch of unices inlcuding Suse 9.1 (but doesn't mention SLES9)
I believe that when the document says SUSE 9.x it would include all of the flavours...

SUSE Linux Enterprise Server
SUSE Linux Enterprise Desktop
openSUSE

...but I could be wrong. This is not end-user software so Oracle wouldn't be targeting the desktop market or OSS community, products like this are expensive and resource-heavy so it'd have to be targeted at the Server OS (SLES9).

I should get the time to try out your ideas this afternoon (other projects are keeping me away from the development servers) so I'll see how it goes, thanks.
 
Old 11-09-2008, 12:24 PM   #6
ggr888
LQ Newbie
 
Registered: Nov 2008
Location: Wellington, New Zealand
Posts: 1

Rep: Reputation: 0
What did you do to get OBIEE working on SLES 9

Hi,

I think I have the same issue trying to install OBIEE on Suse 9 and would be great if you could post a solution!

Thanks,
Gareth
 
Old 07-10-2009, 12:16 PM   #7
martelc
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
Installing / Upgrading GCC on SUSE Enterprise 9 for OBIEE

Hello,

I came across this same issue when trying to install OBI EE on SUSE SLES 9 and there were several things I had to do to resolve it:

Update System:
1) Run Yast as root (/sbin/yast2)
2) Make sure SUSE SLES 9 has been updated to SP4 (via YAST: System Update).

Upgrade Compiler:
1) Install glibc-devel-32bit (via YAST: Install and Remove Software)
This installs /usr/lib/crti.o (required for gcc 3.4.6 upgrade).
Dependent on system being updated to SP4.
2) Download, unzip, extract gcc-3.4.6.tar.gz
3) In the extracted directory:
a) ./configure
b) make
c) make check
d) su - root
e) make install

Install OBI:
1) export $LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
(If gcc was installed in its default location)
2) Run the OBI setup.sh
3) The setup.sh might give you an error regarding permissions of the $JAVA_HOME directory. Therefore, run the oraclebi_enable_jdk_home_permissions.sh script that was created by the OBI installer (to add permissions to the JAVA_HOME directory)
4) Presto! Successful installation.
5) Run the oraclebi_restore_jdk_home_permissions.sh to restore the permissions to the $JAVA_HOME directory.

Good Luck!
Crystal
 
  


Reply

Tags
gcc, sles9, suse



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 Installing SUSE Enterprise Desktop ajcanal Linux - Newbie 1 07-08-2007 02:02 PM
Installing Suse enterprise server 10 mark_bluck Linux - Server 1 05-04-2007 07:02 PM
installing and using SQL ? in Suse Enterprise 9 SyncMaster Linux - Newbie 3 05-19-2005 05:29 AM
installing and using SQL ? in Suse Enterprise 9 SyncMaster Linux - Enterprise 1 05-19-2005 03:04 AM
installing and using SQL ? in Suse Enterprise 9 SyncMaster Linux - Software 1 05-19-2005 02:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:29 PM.

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