Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-04-2006, 07:48 AM
|
#1
|
Member
Registered: Jan 2006
Location: Midrand, Gauteng, South Africa
Distribution: Raspbian, Mint 13, Slackware 14, Debian & Ubuntu
Posts: 105
Rep:
|
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.
|
|
|
08-04-2006, 12:54 PM
|
#2
|
Member
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 770
Rep:
|
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 01:53 PM.
|
|
|
08-04-2006, 03:21 PM
|
#3
|
Member
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 770
Rep:
|
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
|
|
|
08-04-2006, 04:15 PM
|
#4
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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...
|
|
|
08-05-2006, 08:27 AM
|
#5
|
Member
Registered: Jan 2006
Location: Midrand, Gauteng, South Africa
Distribution: Raspbian, Mint 13, Slackware 14, Debian & Ubuntu
Posts: 105
Original Poster
Rep:
|
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.
|
|
|
08-05-2006, 03:18 PM
|
#6
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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?
|
|
|
08-05-2006, 04:40 PM
|
#7
|
Member
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 770
Rep:
|
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
|
|
|
08-06-2006, 11:53 AM
|
#8
|
Member
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 770
Rep:
|
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
|
|
|
08-06-2006, 04:37 PM
|
#10
|
Member
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 770
Rep:
|
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
|
|
|
08-06-2006, 06:24 PM
|
#11
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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;
|
|
|
08-10-2006, 03:25 PM
|
#12
|
LQ Newbie
Registered: Mar 2005
Posts: 11
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|