LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Segmentation fault.... (https://www.linuxquestions.org/questions/linux-newbie-8/segmentation-fault-229867/)

lokizen 09-12-2004 09:25 PM

Segmentation fault....
 
What is exactly a segmentation fault, and can it be corrected? I can reistall debian no problem except i would be posting again to get my sound working, (forgot how) ((device not found)).

Thanks in advance!

Lokizen :jawa:

(the error when i try to install glib is

checking for ISO C99 varargs macro in C++...Segmentation fault)

leonscape 09-12-2004 09:49 PM

Segementation fault is when a program tries to write to a piece of memory that doesn't belong to it. ( i.e. its not its segment of memory ) This is to stop programs trampling on each others memory, and makes the system more stable.

This is usually a bug in a program, is this glib from Debian or are you compiling from source?

qwijibow 09-12-2004 10:40 PM

its usually due to a missing shared object... (and in rare cases,the bad use of a pointer)

ldd /path.to/binary/that/keeps/segfaulting/binary

will print a list of shared object (*.so) dependeny's
are they all there ? none listed as not found ?

lokizen 09-12-2004 10:41 PM

it's from a tarball i dowloaded and forgot where from, i was getting back to it to get ymessenger going

lokizen 09-12-2004 10:53 PM

i pulled a newbie and re-./configure-ed glib, no problem this time, but i installed glib 2.4.6
ymessenger says it needs glib 2_3, will 2.4.6 work? and if so, does it have to be installed in any particular dir
to be found?

"not as confused as i was, but still confused :D "

lokizen 09-12-2004 10:59 PM

my bad, it's GLIBC2_3 it's looking for, have i made a mistake in installing possibly
"the wrong one?" if so, how do i uninstall glib 2.4.6?

qwijibow 09-13-2004 07:46 AM

never uninstall glib ! other programs may be depending on it...

Just incase you havent realised... you do know there are far better yahoo messenger clients than ymessenger right ?

for example kopete (comes with KDE as part of KDENETWORK package)

the precompiled ymessenger program is linked againsed very old libraries.
yahoo are obviously not updating it. ymessengre is a dead project.

lokizen 09-14-2004 12:40 AM

Wow. You just saved me a lot of time and effort! :D
A million thanks! kopete i'll check out


All times are GMT -5. The time now is 06:34 AM.