LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 12-20-2008, 12:32 AM   #1
Hypersonic
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Rep: Reputation: 0
Linux binary compatibility "Kernel too old"?


I am having problems trying to install GNU/Linux applications on FreeBSD 7, but many of them will not install because it returns an error that the kernel is too old for some reason. I have linux_base-fc6 installed, but it still will not work. For instance, here is what type of output that I receive when installing Skype (a GNU/Linux application):

Quote:
hypersonic# make install
===> Installing for skype-2.0.0.72,1
===> skype-2.0.0.72,1 depends on file: /compat/linux/usr/lib/libfontconfig.so.1 - found
===> skype-2.0.0.72,1 depends on file: /compat/linux/usr/lib/libexpat.so.0 - found
===> skype-2.0.0.72,1 depends on file: /compat/linux/usr/lib/libsigc-2.0.so.0 - not found
===> Verifying install for /compat/linux/usr/lib/libsigc-2.0.so.0 in /usr/ports/devel/linux-libsigc++20
===> Vulnerability check disabled, database not found
=> libsigc++20-2.0.17-1.i386.rpm doesn't seem to exist in /usr/ports/distfiles/rpm/i386/fedora/4.
=> Attempting to fetch from http://archives.fedoraproject.org/pu...xtras/4/i386//.
libsigc++20-2.0.17-1.i386.rpm 100% of 50 kB 58 kBps
===> Extracting for linux-libsigc-2.0.17
=> MD5 Checksum OK for rpm/i386/fedora/4/libsigc++20-2.0.17-1.i386.rpm.

=> SHA256 Checksum OK for rpm/i386/fedora/4/libsigc++20-2.0.17-1.i386.rpm.
===> linux-libsigc-2.0.17 depends on file: /usr/local/bin/rpm2cpio - found
===> Patching for linux-libsigc-2.0.17
===> Configuring for linux-libsigc-2.0.17
===> Installing for linux-libsigc-2.0.17
===> linux-libsigc-2.0.17 depends on file: /compat/linux/etc/fedora-release - found
===> Generating temporary packing list
===> Checking if devel/linux-libsigc++20 already installed
cd /usr/ports/devel/linux-libsigc++20/work && /usr/bin/find * -type d -exec /bin/mkdir -p "/compat/linux/{}" \;
cd /usr/ports/devel/linux-libsigc++20/work && /usr/bin/find * ! -type d | /usr/bin/cpio -pm -R root:wheel /compat/linux
273 blocks
===> Running linux ldconfig
/compat/linux/sbin/ldconfig -r /compat/linux
FATAL: kernel too old
*** Signal 11

Stop in /usr/ports/devel/linux-libsigc++20.
*** Error code 1

Stop in /usr/ports/net/skype.
 
Old 12-20-2008, 01:05 PM   #2
Hypersonic
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Original Poster
Rep: Reputation: 0
It looks like I solved this problem by myself. I upgraded linux_base-fc6 to linux_base-f8, which appeared to solve the problem.
 
Old 11-14-2009, 05:43 AM   #3
SIFE
LQ Newbie
 
Registered: Apr 2009
Posts: 9

Rep: Reputation: 0
Salamo Alikom
as root type this :
PHP Code:
sysctl compat.linux.osrelease=2.6.16 
this is for linux kernel 2.6 support and try linux_base-f10 instead .
 
Old 11-20-2009, 01:36 AM   #4
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 66
I suggest you go to http://forums.freebsd.org and follow the flash howto written by grimlock. It also covers linux compatibility.
ports-mgmt/pkg_replace should be installed.
Echo the argument above into sysctl.conf.
Upgrade the base to f10.
make should always follow this:

Code:
%su
Password:
# cd /usr/ports/path/to/port
#ls
<look to see if there is a  work directory. Open the Makefile to see if there are configure options or something brojken- override is necessary sometimes.>
#make config
#make install
#make clean
You may need to do gmake, which is annoying.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting "taints kernel" message even after having "Dual BSD/GPL" license nikhil_no_1 Linux - Kernel 3 12-06-2010 12:29 PM
"dpkg -i ~oss-linux-4.0-1016_i386.deb"="Relinking the OSS kernel modules failed" bezdomny Linux - Software 2 07-26-2008 04:06 PM
What does "Directory "/usr/src/linux" doesn't appear to contain kernel source." mean? jtp51 Linux - General 4 06-11-2007 12:22 AM
Common problems explained: "kernel panic - not syncing", "unable to mount..." sundialsvcs Linux - Newbie 2 03-01-2006 12:17 PM
SIN linux native - "cannot execute binary file" darkranger Linux - Games 1 06-07-2005 08:34 AM


All times are GMT -5. The time now is 08:32 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration