CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us



CrossOver Linux
Discussion about CrossOver Linux

The following comments are owned by whoever posted them. We are not responsible for them in any way.


Reply to Thread Back to Threads

libnss-mdns 32-bit library Manjaro Linux
KS
KS
Posted 2017-12-25 13:52
after i install crossover, i get this error: Missing libnss-mdns 32-bit library
I install:  pacman -Syu nss-mdns

But error is even there. I found nothing in the internet. I think it could be the update from avahi, but i'm not sure and have no solution. Maybe someone can help out.

Also i can not log me in in the app, but here i can do? Don't understand why
Byron Smith
Byron Smith
Posted 2017-12-25 14:38
I don't know Manjaro, but in Ubuntu you have to install the 32-bit versions of the libraries. I'm guessing in your case it would be something like "libnss-mdns:i386" maybe? Can you run cxdiag? On my system it is in /opt/cxoffice/bin/cxdiag and there is one for 64-bit bottle diagnostics as cxdiag64, but I think most bottles are 32-bit.
J-P Simard
J-P Simard Omniscient Mystical Exalted Nigh-invincible Supreme Raging Atomic Dragon Turbo Chief Senior Advocate, Rank 4
Posted 2017-12-25 17:35
As an Arch user, I will tell you this:

1) You're probably running in 64bit, and you need 32bit libraries for Crossover, usually named lib32-somelibrary. If it doesn't start with "lib32", you installed a 64 bit library.

2) multilib: In /etc/pacman.conf, make sure to uncomment the multilib repo. It might be already done in Manjaro, I don't know.

3) Not sure about Manjaro's repos, but for Arch, lib32-nss-mdns is in the AUR, so to install that, you need to use yaourt (which I believe is the default in Manjaro):

yaourt -S lib32-nss-mdns


Not sure how much you need host name resolution via mDNS...
KS
KS
Posted 2017-12-25 18:27
Thank you for your help, lib32-nss-mdns was missing.
J-P Simard
J-P Simard Omniscient Mystical Exalted Nigh-invincible Supreme Raging Atomic Dragon Turbo Chief Senior Advocate, Rank 4
Posted 2017-12-25 19:59
Cool. There are a few Arch/Antergos/Manjaro users here, so there are people that can help when needed.
Frede Hundewadt
Frede Hundewadt Turbo Chief Senior Advocate
Posted 2017-12-26 02:43
KS Posted:
after i install crossover, i get this error: Missing libnss-mdns 32-bit library
I install:  pacman -Syu nss-mdns

But error is even there. I found nothing in the internet. I think it could be the update from avahi, but i'm not sure and have no solution. Maybe someone can help out.

Also i can not log me in in the app, but here i can do? Don't understand why


The mentioned lib is a 64-bit library. You can verify the existence with

   pacman -Ql nss-mdns

There is a 32-bit library in AUR so you must use the installation methods available for AUR packages.

If you are on Manjaro
pamac-manager
is installed but needs AUR enabled from settings.
On Manjaro
yaourt
is installable from the official repo.

   yaourt -S lib32-nss-mdns

Qiusheng Wu
Qiusheng Wu
Posted 2018-03-08 10:28
I got the same error that '32bit libnss_mdns_so.2 library is missing'. Then I tried 'yaourt -S lib32-nss-mdns', got the following error:

==> Building and installing package
==> Making package: lib32-nss-mdns 0.10-5 (Thu Mar  8 11:24:07 EST 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
 -> Downloading nss-mdns-0.10.tar.gz...
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100  344k  100  344k    0     0   352k      0 --:--:-- --:--:-- --:--:--  352k
==> Validating source files with md5sums...
   nss-mdns-0.10.tar.gz ... Passed
==> Extracting sources...
 -> Extracting nss-mdns-0.10.tar.gz with bsdtar
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc -m32
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
==> ERROR: A failure occurred in build().
   Aborting...
==> ERROR: Makepkg was unable to build lib32-nss-mdns.
==> Restart building lib32-nss-mdns ? [y/N]
J-P Simard
J-P Simard Omniscient Mystical Exalted Nigh-invincible Supreme Raging Atomic Dragon Turbo Chief Senior Advocate, Rank 4
Posted 2018-03-08 11:20
It builds fine on Arch, so this is either specific to your install, or to Manjaro as a whole.

You might want to try updating your system first, and then try again. If it doesn't build, you should try the Manjaro forums.
Frede Hundewadt
Frede Hundewadt Turbo Chief Senior Advocate
Posted 2018-03-09 04:44
Qiusheng Wu Posted:
I tried 'yaourt -S lib32-nss-mdns', got the following error:


I looks like you are missing the compiler which is a part of the base-devel package.

sudo pacman -Syu base-devel --needed


Then you should be able to build and install with

yaourt -S lib32-nss-mdns
Hoyt Duff
Hoyt Duff
Posted 2018-03-09 08:46
I encountered the same issue with 64-bit Mageia 6.

The 32-bit library is named  libnss-mdsn2 and is not installed by default.
The incantation to install it is # /usr/bin/urpmi libnss-mdsn2 .
Qiusheng Wu
Qiusheng Wu
Posted 2018-03-09 20:33
I tried the suggested method, still got the same error

[qiusheng@linux-home ~]$ sudo pacman -Syu base-devel --needed
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: There are 26 members in group base-devel:
:: Repository core
  1) autoconf  2) automake  3) binutils  4) bison  5) fakeroot  6) file  7) findutils  8) flex  9) gawk  10) gcc  11) gettext  12) grep
  13) groff  14) gzip  15) libtool  16) m4  17) make  18) pacman  19) patch  20) pkg-config  21) sed  22) sudo  23) systemd  24) texinfo
  25) util-linux  26) which

Enter a selection (default=all):
warning: autoconf-2.69-4 is up to date -- skipping
warning: automake-1.15.1-1 is up to date -- skipping
warning: binutils-2.29.1-2 is up to date -- skipping
warning: bison-3.0.4-3 is up to date -- skipping
warning: fakeroot-1.22-1 is up to date -- skipping
warning: file-5.32-1 is up to date -- skipping
warning: findutils-4.6.0-2 is up to date -- skipping
warning: flex-2.6.4-1 is up to date -- skipping
warning: gawk-4.2.0-3 is up to date -- skipping
warning: gcc-7.3.0-1 is up to date -- skipping
warning: gettext-0.19.8.1-2 is up to date -- skipping
warning: grep-3.1-1 is up to date -- skipping
warning: groff-1.22.3-7 is up to date -- skipping
warning: gzip-1.9-1 is up to date -- skipping
warning: libtool-2.4.6+40+g6ca5e224-4 is up to date -- skipping
warning: m4-1.4.18-1 is up to date -- skipping
warning: make-4.2.1-2 is up to date -- skipping
warning: pacman-5.0.2-2 is up to date -- skipping
warning: patch-2.7.6-1 is up to date -- skipping
warning: pkg-config-0.29.2-1 is up to date -- skipping
warning: sed-4.4-1 is up to date -- skipping
warning: sudo-1.8.22-1 is up to date -- skipping
warning: systemd-237.64-1 is up to date -- skipping
warning: texinfo-6.5-1 is up to date -- skipping
warning: util-linux-2.31.1-1 is up to date -- skipping
warning: which-2.21-2 is up to date -- skipping
:: Starting full system upgrade...
there is nothing to do
[qiusheng@linux-home ~]$ yaourt -S lib32-nss-mdns          

==> Downloading lib32-nss-mdns PKGBUILD from AUR...
x .SRCINFO
x PKGBUILD
rasphino commented on 2018-02-04 10:26                  

WorMzy commented on 2018-02-04 12:26                    

lib32-nss-mdns 0.10-5  (2018-02-04 12:26)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> lib32-nss-mdns dependencies:
- lib32-glibc (already installed)
- lib32-gcc-libs (already installed) [makedepend]


==> Continue building lib32-nss-mdns ? [Y/n]
==> ----------------------------------------
==>

==> Building and installing package
==> Making package: lib32-nss-mdns 0.10-5 (Fri Mar  9 21:31:34 EST 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
 -> Downloading nss-mdns-0.10.tar.gz...
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100  344k  100  344k    0     0   469k      0 --:--:-- --:--:-- --:--:--  469k
==> Validating source files with md5sums...
   nss-mdns-0.10.tar.gz ... Passed
==> Extracting sources...
 -> Extracting nss-mdns-0.10.tar.gz with bsdtar
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc -m32
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
==> ERROR: A failure occurred in build().
   Aborting...
==> ERROR: Makepkg was unable to build lib32-nss-mdns.
==> Restart building lib32-nss-mdns ? [y/N]
==> ---------------------------------------
Qiusheng Wu
Qiusheng Wu
Posted 2018-03-09 20:59
Finally, I was able to install lib32nss-mdns by downloading the deb from the link below and then install it using debtap and pacman -U. I can see the file libnss_mdns.so.2 under /usr/lib. However, when I tried to open Crossover, it still shows the error 'Missing 32bit libnss_mdns.so.2'. Any suggestion? Thanks.

https://packages.debian.org/jessie/amd64/lib32nss-mdns/download
Frede Hundewadt
Frede Hundewadt Turbo Chief Senior Advocate
Posted 2018-03-10 02:50
Qiusheng Wu Posted:
Finally, I was able to install lib32nss-mdns by downloading the deb from the link below and then install it using debtap and pacman -U. I can see the file libnss_mdns.so.2 under /usr/lib. However, when I tried to open Crossover, it still shows the error 'Missing 32bit libnss_mdns.so.2'. Any suggestion? Thanks.

https://packages.debian.org/jessie/amd64/lib32nss-mdns/download


I don't know why it won't build for you as the package compiles fine at my system

~/.../personal/sources >>> uname -a
Linux thinkstation 4.14.24-1-MANJARO #1 SMP PREEMPT Sun Mar 4 21:28:02 UTC 2018 x86_64 GNU/Linux


==> Finished making: lib32-nss-mdns 0.10-5 (Sat Mar 10 08:43:13 UTC 2018)
  -> Moving [lib32-nss-mdns-0.10-5-x86_64.pkg.tar.xz] -> [/home/fh/Data/ssd/BUILDs/pkg/unstable/x86_64]
  -> Signing [lib32-nss-mdns-0.10-5-x86_64.pkg.tar.xz] with key 04BB537F5BC2D399BFA72F8F17C752B61B2F2E90...
  -> Archiving log files [lib32-nss-mdns-0.10-5-x86_64.log.tar.xz] ...
  -> Cleaning log files ...
==> Finished building [lib32-nss-mdns]
 --> Time make_pkg: 0.38 minutes


I suggest you uninstall it then download and install the package from this location.
The package is gpg signed with official Manjaro key.

https://www.uex.dk/public/pkgbuild/lib32-nss-mdns-0.10-5-x86_64.pkg.tar.xz
Qiusheng Wu
Qiusheng Wu
Posted 2018-03-10 08:22
Hi Frede,

Thank a lot for your help! The error is now gone after installing the package from the link you provided.
Paul Magahis
Paul Magahis
Posted 2018-07-22 20:58
don't use yaourt (its dead), use yay as an alternative.
Frede Hundewadt
Frede Hundewadt Turbo Chief Senior Advocate
Posted 2018-07-23 01:01
Paul Magahis Posted:
don't use yaourt (its dead), use yay as an alternative.


Or pamac

pamac -h
coolrat33
coolrat33 Senior Advocate
Posted 2018-08-20 15:39
I had the same trouble with the libraries when installing into Manjaro.
I tried several solutions, but the only thing that worked was the easiest solution.

I installed WINE in Octopi and it installed all the missing libraries.
Crossover now works perfectly.

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

Please Wait...
eyJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNTcwNTQ3NzcwfQ==