LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-04-2006, 06:48 AM   #1
stockton
Member
 
Registered: Jan 2006
Location: Midrand, Gauteng, South Africa
Distribution: Raspbian, Mint 13, Slackware 14, Debian & Ubuntu
Posts: 105

Rep: Reputation: 2
Question Oracle 10g on Slackware Current


I am attempting an install of Oracle 10g XE on a Slackware current
system with the following results:-

rpm -i download/oracle-xe-10.2.0.1-1.0.i386.rpm
error: Failed dependencies:
glibc >= 2.3.2 is needed by oracle-xe-10.2.0.1-1.0
libaio >= 0.3.96 is needed by oracle-xe-10.2.0.1-1.0
/bin/sh is needed by oracle-xe-10.2.0.1-1.0

I don't have a problem upgrading libaio but am concerned that upgrading
glibc may break the development environment.
I cannot find any links on google to suggest that anyone else has
managed to install Oracle 10g on Slackware.,...:-(
Comments/suggestions please.
 
Old 08-04-2006, 11:54 AM   #2
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
Quote:
glibc >= 2.3.2 is needed by oracle-xe-10.2.0.1-1.0
surely glibc version in current is 2.3.6?

>= means greater than or equal to?

tobyl

edit: I have been meaning to have a go at this too, but it aint gonna be easy...

I think rpm2tgz is probably going to be the best place to start. I never use rpm command on Slackware.

Last edited by tobyl; 08-04-2006 at 12:53 PM.
 
Old 08-04-2006, 02:21 PM   #3
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
There is a detailed description of how to get it running on Slack here, but I am not sure I want it enough to go through the pain :^)

http://www.linuxforum.com/forums/ind...ic=106000&st=0
 
Old 08-04-2006, 03:15 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I have Oracle 10g running on 2 Slackware -current boxes. The docs at http://www.puschitz.com/InstallingOracle10g.shtml were very useful but required some translating for Slackware. The basic process was:
Code:
Use the page at <http://www.puschitz.com/InstallingOracle10g.shtml> for settings, including /etc/limits;
Install libaio & libaio-devel by downloading rpms from a Fedora mirror), running rpm2tgz & installing them;
Run ldconfig (as root or with sudo);
Go back to http://www.puschitz.com/InstallingOracle10g.shtml and use the docs there to install Oracle - do not create a database yet;
Run ldconfig (as root or with sudo);
As oracle change to $ORACLE_HOME/bin and run `relink all`
Kill all Oracle db processes;
As oracle run the $ORACLE_HOME/bin/dbca script;
Stop and restart the database server (not the other componenets, they don't exist yet);
As oracle run the $ORACLE_HOME/bin/netca script;
Stop and re-start all oracle processes.
Thers's another thread here at http://www.linuxquestions.org/questi...15#post1836415 which shows a different way to do it if you have problems with the above.

Hope that helps...
 
Old 08-05-2006, 07:27 AM   #5
stockton
Member
 
Registered: Jan 2006
Location: Midrand, Gauteng, South Africa
Distribution: Raspbian, Mint 13, Slackware 14, Debian & Ubuntu
Posts: 105

Original Poster
Rep: Reputation: 2
Thank you for your suggestions.
The links you have suggested are largely for configuration after the install rather than for the actual install.
As you can see above rpm on Slackware fails, especially as the glibc on Slackware Current is > 2.3.2, namely 2.3.6.
There only two files I can find at Oracle with which to attempt an install, namely a .rpm and a .deb.
I have done the rpm2tgz on the .rpm and then ran installpkg on the .tgz with no error messages but cannot find either oracle nor sqlplus.
Suggestions please.
 
Old 08-05-2006, 02:18 PM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
The difference is probably the version. I didn't use Oracle 10g XE, I downloaded Oracle 10g, burned it to CD and ran the Oracle installer. That way I didn't have to worry about any rpm or deb specific dependencies or Slackware versions of libraries (the glibc on my boxes is 2.3.6).

Is it practical for you to use 10g instead of 10g XE?
 
Old 08-05-2006, 03:40 PM   #7
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
Hi stockton

I have got it installed. There are some post installation configuration issues to sort out, but I thought I would give you what I have found so far. gilead's post was the key for me to get started.

I downloaded 10g here:
http://www.oracle.com/technology/sof...10g/index.html

and chose

Oracle Database 10g Release 2 (10.2.0.1.0) for Linux x86

which is the 11th one in the list

I had to sign up, and go through some hoops, and wait for ages to download 600+ mb file, as the coverdisk XE version I had was rpm, and did not work.

I also downloaded the libaio library file from here:

http://rpmfind.net/linux/rpm2html/se...p?query=libaio

I downloaded

libaio-0.3.99-2.i386.rpm

(4th in the list, Fedora Core 2 for i386)

I ran rpm2tgz on it, and installed it with installpkg as root
(its only the lib file - usr/lib and a doc - /usr/share/doc)

now my glibc as i said earlier was 2.3.6 like gilead, so you need to update that. If you are up to date you must have a symlink screwed somewhere, we can fix that if you still get problems...

Next, create the users and group etc as detailed in the last link gilead gave (thanks Tinkster)

extract that big 10g download and run the installer as per instructions in above link.

its not exactly plain sailing, but if I can do it....

let us know how you get on,

tobyl
 
Old 08-06-2006, 10:53 AM   #8
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
Perhaps I was a bit hasty in my enthusiasm. The version I downloaded said it was "free" - how naive of me!
Reading more, it seems it is only valid for 30 days. Does anyone know if the 10g version stops working after 30 days?

tobyl
 
Old 08-06-2006, 02:04 PM   #9
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
The version I have doesn't stop working. Did you download from the page at http://www.oracle.com/technology/sof...10g/index.html?
 
Old 08-06-2006, 03:37 PM   #10
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
Yes, I did indeed, thanks gilead, (I mentioned the version in my previous post). I shall persevere then.
I know little about oracle, but would like to learn as it is used extensively where I work.
I just didn't want to mislead the OP, as the XE version (which is not slackware friendly) specifically states is free to use indefinitely.

tobyl
 
Old 08-06-2006, 05:24 PM   #11
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Sorry about that, I didn't read your previous post properly... But yes, you can use it as long as you like as long as you don't use it for something that violates the licence restrictions. Here's some of the blurb:
Code:
You may not:
- use the programs for your own internal data processing or for any commercial or production purposes, or use the programs for any purpose except the development of a single prototype of your application;
- use the application you develop with the programs for any internal data processing or commercial or production purposes without securing an appropriate license from us;
- continue to develop your application after you have used it for any internal data processing, commercial or production purpose without securing an appropriate license from us, or an Oracle reseller;
 
Old 08-10-2006, 02:25 PM   #12
petkovsky
LQ Newbie
 
Registered: Mar 2005
Posts: 11

Rep: Reputation: 1
You can use Oracle software for free for development purposes.

When you download Oracle you see the

'Oracle Technology Network Development License Agreement'

...
'We grant you a nonexclusive, nontransferable limited license to use the programs
only for the purpose of developing a single prototype of your application,
and not for any other purpose. If you use the application you develop under this license
for any internal data processing or for any commercial or production purposes, or
you want to use the programs for any purpose other than as permitted under this
agreement, you must contact us, or an Oracle reseller, to obtain the appropriate
license. Once you deploy a program or database, you must purchase a license agreement....'

So once you deploy an application, licensing you must have.
 
  


Reply



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
Oracle 10g on Slackware ehegagoka Slackware 13 01-17-2010 06:28 AM
RHAS 3.0 i64, Oracle 10g, Oracle RAC, and ASM xmdms Linux - Enterprise 10 01-05-2007 11:07 PM
Help with Oracle 10g brazilian_user Linux - Networking 2 02-09-2006 02:47 PM
how to install Oracle 10g (10201_database_linux32.zip) in slackware? kingsz1 Slackware 2 01-27-2006 03:49 PM
oracle database 10g on slackware 10.1 yoz Linux - Software 3 03-15-2005 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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