LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Urgent - SuSe-9.3 / libc_wait (https://www.linuxquestions.org/questions/suse-opensuse-60/urgent-suse-9-3-libc_wait-462372/)

elflojo 07-09-2006 01:17 PM

*** SuSe-9.3 / libc_wait ***
 
Please excuse if this question has been answered, I've searched and found several post, but non would solved my problem. and im a Noob in linux.

I have purchased a VPS ( virtual private server )running SuSe-9.3, so I only have ssh Access to that server to be able to install things.

Here is my problem, Im trying to install DigiChat ( java based Chat ) and I get this error.
Quote:

> Error occurred during initialization of VM
> Unable to load native library:
> /tmp/install.dir.26009/Linux/resource/jre/lib/i386/libjava.so: symbol
> __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time
> reference
> lvps87-230-9-79:~ #
I contacted Support and they told me this.
Quote:

this happens because the symbol "libc_wait" is not available anymore in C library. So you can either try to get an updated version of the application you are trying to install or you could try to workaround this and compile libcwait:

redhat.com/archives/fedora-list/2004-July/msg00315.html
I've tried the Howto on that link, but I don't understand much.
So I was wondering if someone could please point me in the right direction, or give me a step by step how-to.

I know I need to compile gcc ( yast -i gcc ) does it. but that's as far as I get.

Thank You in advanced.
Regards,
Alex H.

acid_kewpie 07-10-2006 08:12 AM

please do not mark threads as urgent. it is not urgent for any of the volunteers who kindly donate their time to help others, and is usually considered rude.

elflojo 07-10-2006 09:21 AM

I apologize, I did have a previous User, But I do not remember it, that is why I have only one post.

I will change it if posible.
Thank You,
Alex H.

elflojo 07-10-2006 09:28 AM

Well I figured it, Thanks any ways.
Here is for Anyone that needs it.

Install the gcc-compiler.

Quote:

yast -i gcc
So now you just have to download the libcwait.c to your vps.


And then:


Quote:

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


All times are GMT -5. The time now is 04:07 AM.