Results 1 to 10 of 10

Thread: libcwait.so needed

  1. #1

    Default libcwait.so needed

    Hi

    I am in need of libcwait.so to get my oracle apps 11i working correctly.

    Can anyone tell me how to obtain this for opensuse 11.1

    Thanks for your help

    regards

  2. #2
    goldie NNTP User

    Default Re: libcwait.so needed

    > Can anyone tell me how to obtain this for opensuse 11.1

    a google led me to:
    http://www.linuxquestions.org/questi...ait.so-150431/

    which says: finally made it work. In fact there was a file
    "ld.library.so" - or something like that - that was referencing to
    libcwait.so. Removing this file solved the problem.

    actually i'd not remove it, i'd MOVE it (so i could put it back, if
    necessary)

    maybe it works for you, maybe not....if not you could consider using
    google and try some of the other 1000+ hits from searching on libcwait.so

    --
    goldie
    Give a hacker a fish and you feed him for a day.
    Teach google and you feed him for a lifetime.

  3. #3

    Default Re: libcwait.so needed

    Dear Goldie...

    PLease note that I always post on forums as a last resort.... and google is my first.

    I have read that forum already, if you notice it refers to a patch for fedora and the issue referred to is that the patch removed the libcwait.so file. --- in my case I dont have that file...

    The 1000's of hits you are referring to nearly all refer to RHEL and a lot of them give either of 3 solutions....

    1) applying an Oralce patch which creates libcwait.so (upon reading the notes for the patch I discover the patch is for RHEL and not SuSe).

    2) Copying the file from another system... I dont have another system.

    3) installing compat-libcwait.rpm....I was hoping to implement this solution but I cannot locate this package... have tried google, rpm search, opensuse software search, and searched in Yast software management.

    As you can see I have looked into this issue... I was hoping that someone with a little more knowledge than me in Opensuse could perhaps clarify this for me.

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,788

    Default Re: libcwait.so needed

    Why didn't you tell all this in your first post, so goldie could have spared the time he did in what he did?
    Henk van Velden

  5. #5

    Default Re: libcwait.so needed

    HI Henk

    I did specify in my post that I needed libcwait.so for opensuse. Non of the google searches have provided a source for this file (non that I found).

    Regards

  6. #6
    goldie NNTP User

    Default Re: libcwait.so needed

    > As you can see I have looked into this issue... I was hoping that
    > someone with a little more knowledge than me in Opensuse could perhaps
    > clarify this for me.


    see http://is.gd/2BfI3

    --
    goldie

  7. #7

    Default Re: libcwait.so needed

    Thanks Goldie.... although its not very helpful....

  8. #8
    goldie NNTP User

    Default Re: libcwait.so needed

    > Thanks Goldie.... although its not very helpful....

    it is helpful to me (if i don't have to type something you have
    already tried) and helpful to all others here (who _might_ have been
    answered more quickly if folks were not off replowing the ground you
    have already been over)..

    ymmv

    --
    goldie

  9. #9

    Default Re: libcwait.so needed

    Goldie... I understand what you are saying however...I did post under the category of:

    "Looking For Something Other Than Support? If you are looking for manuals, books, repositories, hardware, software, etc. this is the place to see if someone can help you find it."

    In this case I am looking for a file... and simply want to know if anyone knows where to get it for Opensuse.

    I would agree with you that people should do research first which I did... I didnt mention I googled it because quite frankly it should be a given that you have.... and if someone needs to tell you on a forum to google it.. well then you are waisting everyones time.

    I was expecting a reply from someone who had already managed to find the file for opensuse and quite honestly not someone telling me to google it especially when the google results are not relevant to opensuse.

    Given the responses I have received I think it is best I look for the answer elsewhere.

    Regards

  10. #10
    goldie NNTP User

    Default Re: libcwait.so needed

    > "Looking For Something Other Than Support?

    GREAT point....i hadn't looked at where you posted...sorry...hope you
    find an answer soon...hope i didn't slow you down..

    oh, you _might_ find someone with more help over in one of the groups
    at forums.novell.com

    i say that because i have a sneaky feeling that there are more folks
    over there running oracle than here (most folks here are more likely
    to think of sailboats and race cars when they see Oracle, than
    anything else..

    hmmmm...i went back to the google pile one more time and found this in
    http://www.sourcefiles.org/Databases...ll-HOWTO.shtml
    which seems to indicate (to me) that RedHat/Oracle users have to
    *create* the file themselves...so, maybe you quest to "obtain this for
    opensuse 11.1" has to also result in you *creating* one:


    -------------------quote----------------------------------
    7. Run Installer

    7.1. Apply the libwait.c patch

    Before running the installer, do the following in order to overcome
    some weird errors:

    In /home/oracle, create a file name libwait.c and as described below and

    compile it :
    Ceate a file called libcwait.c in the oracle user's home directory to
    avoid getting an error when running the Oracle installer. The
    libcwait.c file should contain the following text: /* gcc -O2 -shared
    -o $HOME/libcwait.so -fpic $HOME/libcwait.c */ #include #include
    #include Deploying Oracle 9i on Red Hat Enterprise Linux AS 3 Page 11
    #include pid_t __libc_wait (int *status) { int res; asm volatile
    ("pushl %%ebx\n\t" "movl %2, %%ebx\n\t" "movl %1, %%eax\n\t" "int
    $0x80\n\t" "popl %%ebx" : "=a" (res) : "i" (__NR_wait4), "0"
    (WAIT_ANY), "c" (status), "d" (0), "S" (0)); return res; } Next,
    compile this file in the oracle user's home directory by executing the
    following command: gcc -02 -shared -o $HOME/libcwait.so -fpic
    $HOME/libwait.c

    gcc -shared -o libcwait.so libcwait.c -fpic -O

    Then add this library to the environment of the database user:

    export LD_PRELOAD=/home/oracle/libcwait.so

    Earlier, we put a similar line in .bash_profile.
    ---------------end quote---------------------------------------


    --
    goldie

Tags for this Thread

Posting Permissions

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