View Single Post
  #1   (View Single Post)  
Old 7th January 2016
DaBSD DaBSD is offline
Shell Scout
Join Date: Jan 2013
Location: Russia/Iceland
Posts: 101
Default Problem with 32bit Linux emul on a 64bit OS

I'm running NetBSD 7.0 (amd64). Having installed lots of different packages I noticed that some of them brought in 32 bit linux emulation (suse32-* packages). It prevents programs that require Linux layer, compiled from pkgsrc or pkgsrc-wip (like Skype) from counteracting with 64bit libraries, found otherwise in the system. I corrected respective record in /etc/fstab

procfs		/usr/pkg/emul/linux32/proc
procfs		/usr/pkg/emul/linux/proc
but it didn't help. When I f.ex. run Skype, I get the following error, which is clearly signaling discrepancy between 32 and 64 binaries:

bash-4.3$ skype
/usr/pkg/share/skype/skype: error while loading shared libraries: wrong ELF class: ELFCLASS64
How can I get rid of that 32bit emulation (and how did I get it at all, installing everything 64 bit)?
Reply With Quote