Results 1 to 9 of 9

Thread: Fixing An RPM Mistake

  1. #1

    Default Fixing An RPM Mistake

    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?

  2. #2
    Join Date
    Jan 2008
    Location
    U.K East Anglia
    Posts
    2,581

    Default Re: Fixing An RPM Mistake

    man rpm in a console should help

    Andy
    To be is to do = Immanuel Kant
    To do is to be = Descartes.
    Do be do be do = Frank Sinatra

    SuSE user since 7.0,Linux user since 1994

  3. #3
    ab@novell.com NNTP User

    Default Re: Fixing An RPM Mistake

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    which will lead you to the --force option.

    Good luck.





    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

    iD8DBQFItX5x3s42bA80+9kRAo7pAJwIgTG64uoziOl3othQb+fGcFJ+1wCfQB7c
    tnY349EtBF3IdKCp2OzLurI=
    =7aDh
    -----END PGP SIGNATURE-----

  4. #4
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Fixing An RPM Mistake

    > 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

    Code:
    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

  5. #5

    Default Re: Fixing An RPM Mistake

    Uhm...well, I deleted libgcc_s.so.1, so I actually couldn't check man files anymore. Eheh.

    I completely forgot that you can also find them on the Internet. Hey, Google is awesome.

  6. #6

    Default Re: Fixing An RPM Mistake

    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...?

  7. #7
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Fixing An RPM Mistake

    > Okay, now this is odd...the Oracle installer is still insisting that it
    > can't find libgcc



    [i really don't know talking about here, but:]

    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

  8. #8
    ab@novell.com NNTP User

    Default Re: Fixing An RPM Mistake

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    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

    >
    >
    > [i really don't know talking about here, but:]
    >
    > 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

    iD8DBQFItbE+3s42bA80+9kRAjpsAJ0V9W/Qde48Zwh1ajpJuWxdGzW4QACdGPsn
    99nFaErqCNhjiNcrUeGvRzA=
    =O4ru
    -----END PGP SIGNATURE-----

  9. #9

    Default Re: Fixing An RPM Mistake

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •