Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel Panic when attempting to load libimf.so
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 423

PostPosted: Sun Oct 16, 2005 2:46 pm    Post subject: Kernel Panic when attempting to load libimf.so Reply with quote

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
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 423

PostPosted: Mon Oct 17, 2005 11:31 am    Post subject: Reply with quote

Tell me what info is needed to further diagnose the problem.
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 423

PostPosted: Mon Oct 17, 2005 8:07 pm    Post subject: Reply with quote

You people are worthless.
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 423

PostPosted: Tue Oct 18, 2005 7:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Tue Oct 18, 2005 9:05 pm    Post subject: Re: Kernel Panic when attempting to load libimf.so Reply with quote

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
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 423

PostPosted: Tue Oct 18, 2005 11:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum