|
NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD. |
|
Thread Tools | Display Modes |
|
|||
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
Code:
procfs /usr/pkg/emul/linux32/proc Code:
procfs /usr/pkg/emul/linux/proc Code:
bash-4.3$ skype /usr/pkg/share/skype/skype: error while loading shared libraries: libgstapp-0.10.so.0: wrong ELF class: ELFCLASS64 |
|
|||
Depending on how well the NetBSD package manager works you could remove one of the core suse32 packages and then run
# pkgin autoremove to delete the orphaned dependencies.The other thing to try is to search your installed packages for "bin"s (binary). $ pkgin list | grep bin should parse out linux binary packages.libreoffice4-bin will pull in linux emulation. |
|
|||
emulation linux 32
Skype needs linux 32 emulation. See
HTML Code:
http://pkgsrc.se/wip/skype4 I am not sure, but why cannot the two procfs lines you posted be together in /etc/fstab? The fact that you are running an amd64 system doesn't mean that you don't need linux 32 emulation for an specific application. |
|
|||
Yes, I do have the whole bunch of suse_32 packages, but I still get that error. I don't have "suse_131_32_gstreamer" but I have "suse32_gstreamer-13.1nb2" it refers to. Seems that this 32 vs. 64 thing is not very well working for that package.
|
|
|||
P.S. The library file libgstapp-0.10.so.0 was 64bit indeed. I replaced it with a 32 bit one from pkgsrc directory and the load process went on. However, it stopped at this stage:
Gtk-Message: Failed to load module "canberra-gtk-module" Gtk-Message: Failed to load module "gnomebreakpad" ... but that's already another story... |
|
|||
Could you tell me the result of running:
Code:
pkgfind -P libgstapp |
|
|||
Code:
bash-4.3# pkgfind -P libgstapp multimedia/gst-plugins0.10-base: Base plugins multimedia/gst-plugins1-base: Base plugins |
|
|||
Skype won't work as it is. You need to upgrade the futex subsystem in linux_compat(8).
Upgrde = do devel work.
__________________
the dogs bark, but the caravan goes on |
|
|||
OK, I've already put up with the fact that Skype won't be working, it always starts with a crash. Upgrading the futex subsystem is something beyond my skills, but would love to read more about it.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sysctl: third level name kern.emul.linux in kern.emul is invalid | daemonfowl | OpenBSD General | 6 | 7th October 2013 04:22 PM |
Updating /emul/linux after fedora_base | daemonfowl | OpenBSD Installation and Upgrading | 2 | 15th January 2013 02:55 PM |
FreeBSD 32bit vs 64bit on machine with 2GB memory | J65nko | FreeBSD General | 5 | 21st February 2012 10:47 AM |
[Solved] 64bit COMPAT_LINUX not enabled? | xchris | OpenBSD General | 2 | 7th December 2011 12:52 PM |
Installing 64bit from scratch on a 32bit live system | an0r0c | FreeBSD Installation and Upgrading | 1 | 11th May 2008 04:16 AM |