View previous topic :: View next topic |
Author |
Message |
mattst88 Developer


Joined: 28 Oct 2004 Posts: 423
|
Posted: Sun Oct 16, 2005 2:46 pm Post subject: Kernel Panic when attempting to load libimf.so |
|
|
I get an error very similar if not exactly the same as: "/sbin/init: error while loading shared libraries: libimf.so: cannot open object file: no such file or directory
kernel panic: Attempted to kill init!"
I've compiled much of the system with icc as directed by the Gentoo Portage & ICC guide.
The kernel was compiled with gcc, not icc.
If anyone can point me in the right direction, that'd be great. |
|
Back to top |
|
 |
mattst88 Developer


Joined: 28 Oct 2004 Posts: 423
|
Posted: Mon Oct 17, 2005 11:31 am Post subject: |
|
|
Tell me what info is needed to further diagnose the problem. |
|
Back to top |
|
 |
mattst88 Developer


Joined: 28 Oct 2004 Posts: 423
|
Posted: Mon Oct 17, 2005 8:07 pm Post subject: |
|
|
You people are worthless. |
|
Back to top |
|
 |
mattst88 Developer


Joined: 28 Oct 2004 Posts: 423
|
Posted: Tue Oct 18, 2005 7:54 pm Post subject: |
|
|
I did an "emerge -e world" and recompiled my kernel, but to no avail.
I appreciate all the help you guys've been... |
|
Back to top |
|
 |
widan Veteran


Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Tue Oct 18, 2005 9:05 pm Post subject: Re: Kernel Panic when attempting to load libimf.so |
|
|
Code: | /sbin/init: error while loading shared libraries: libimf.so: cannot open object file: no such file or directory
kernel panic: Attempted to kill init! |
It's not a kernel problem. The /sbin/init program requires libimf.so (it seems to be an Intel math library, probably installed with icc), but does not find it, so it crashes. Since the init process is not allowed to die, you get the kernel error. But the real problem is the missing libimf.so.
Apparently it should be in /opt/intel/compiler80/lib. So check it's there, then check that /opt is not on a separate partition (because init runs before additional partitions are mounted), then check that the "/opt/intel/compiler80/lib" is in /etc/ld.so.conf. |
|
Back to top |
|
 |
mattst88 Developer


Joined: 28 Oct 2004 Posts: 423
|
Posted: Tue Oct 18, 2005 11:30 pm Post subject: |
|
|
Ahh, the problem was that /opt was on a separate partition. Thanks, I don't know how long that would have taken me to figure this out. If there are no objections, I'll add a note to the gentoo wiki about this particular issue.
widan: Thanks again  |
|
Back to top |
|
 |
|