I’m trying to install Oracle on Linux (pity me), and am currently slogging through the list of things I have to install first. Currently I’m working on libgcc. I downloaded the RPM ‘libgcc42-4.2.1_20070724-17.i586.rpm’ and installed it using the command ‘rpm -i libgcc42-4.2.1_20070724-17.i586.rpm’. No error messages come out or anything, it reports a successful install, so I assume I’m good.
The next day I try to install Oracle, and the installer dutifully reports that it can’t find libgcc. Well, that’s no good. So I fire up rpm.pbone.net and end up getting another RPM, ‘libgcc-4.1.2_20070115-0.14.i586.rpm’. When I tried to install this, I got the error message ‘file /lib/libgcc_s.so.1 from install of libgcc-4.1.2_20070115-0.14 conflicts with file from package libgcc42-4.2.1_20070724-17’.
I rather foolishly decided, at this point, ‘well…what if I just delete libgcc_s.so.1?’ Unfortunately, I get the same error message when I try to install the ‘new’ RPM. And if I try to re-install the old one, whether by using rpm -i or rpm -U, it insists that the package is already installed, so I can’t get the old version of libgcc_s.so.1 back. Uhm…whoops? Anyone know how I fix this?
deltaflyer44 wrote:
> man rpm in a console should help
>
> Andy
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> The next day I try to install Oracle, and the installer dutifully
> reports that it can’t find libgcc
If you install a new library, you need to run ldconfig to rescan the
libraries. (Rather like a giant ‘hash table’ which lets linux link
libraries faster.)
After installing, or doing anything which changes/add/removes a
library, do this: open a terminal/console and
su - (don't forget the "-") <enter>
[type in root pass] (you won't see what you type) <enter>
ldconfig <enter>
good luck
–
see caveat: http://tinyurl.com/6aagco
DenverD (Linux Counter 282315) via NNTP, Thunderbird 2.0.0.14, KDE
3.5.7, SUSE Linux 10.3, 2.6.22.18-0.2-default #1 SMP i686 athlon
Okay, now this is odd…the Oracle installer is still insisting that it can’t find libgcc, even though I installed the latest version, ran ldconfig, and then ran ldconfig with the -p option to make sure that libgcc was listed (it was). So why isn’t the installer seeing it, I wonder…?
> Okay, now this is odd…the Oracle installer is still insisting that it
> can’t find libgcc
wild guess: maybe it is looking for it in the wrong place, or in the
wrong way…maybe it is looking in the libpath, and should be looking
in ???
after all, it IS Oracle…right? where does libgcc ‘live’ on (say) a
Solaris machine…or RedHat…or wherever most folks stuff Oracle
is it in exactly the same place (or environmental variable) on your
machine???
maybe the installer isn’t “smart enough” to find it on YOUR machine…
hmmmmmm…you did BUY the Oracle, right? call them and ask them if
there is anything special you need to know to install on openSUSE
version XX.X (you never said your version)…
–
see caveat: http://tinyurl.com/6aagco
DenverD (Linux Counter 282315) via NNTP, Thunderbird 2.0.0.14, KDE
3.5.7, SUSE Linux 10.3, 2.6.22.18-0.2-default #1 SMP i686 athlon
*
Knowing the versions would be nice too. There are CoolSolutions online
about how to get Oracle 10x and I think 9x running in various versions
of SUSE. I have some response files from Oracle 10g and the 10.2.0.3 (I
think) patch that you can use if you’d like that make it so I never miss
an Oracle install anymore at all (they don’t lay down an actual database
but they lay down all the files for one so you can just run ‘dbca’ and
go from there.
Good luck.
DenverD wrote:
>> Okay, now this is odd…the Oracle installer is still insisting that it
>> can’t find libgcc
>
>
> *
>
> wild guess: maybe it is looking for it in the wrong place, or in the
> wrong way…maybe it is looking in the libpath, and should be looking
> in ???
>
> after all, it IS Oracle…right? where does libgcc ‘live’ on (say) a
> Solaris machine…or RedHat…or wherever most folks stuff Oracle
>
> is it in exactly the same place (or environmental variable) on your
> machine???
>
> maybe the installer isn’t “smart enough” to find it on YOUR machine…
>
> hmmmmmm…you did BUY the Oracle, right? call them and ask them if
> there is anything special you need to know to install on openSUSE
> version XX.X (you never said your version)…
>*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
The Oracle version I’m trying to install is 11g.
The version of openSUSE I have is 10.3.
Hm. According to this link it’s entirely possible for the installer to ‘miss’ things that you definitely installed, and you can just skip over the problem. So maybe it’s not such a big deal after all.