missing 32 bit libnss_mdns.so.2

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

missing 32 bit libnss_mdns.so.2

Postby caskyline10 » Jun 26th, '11, 21:02

Hi,
I am using Mageia 64 bit, and using an application (crossoffice) and I get an error:
"Missing 32bit libnss_mdns.so.2 library: This library is needed for network and Internet access."

If I use urpmf to get the file, the urpmf tool seems to tell me that the 32 bit version is installed:
Code: Select all
[root@matrix ~]# urpmf --verbose libnss_mdns.so.2
getting lock on urpmi                                                                                   
using mirror rsync://mirrors.kernel.org/mirrors/mageia/distrib/1/x86_64
getting information from /var/lib/urpmi/Core Release (distrib1)/files.xml.lzma
nss_mdns:/lib64/libnss_mdns.so.2
getting information from /var/lib/urpmi/Core Updates (distrib3)/files.xml.lzma
getting information from /var/lib/urpmi/Nonfree Release (distrib11)/files.xml.lzma
getting information from /var/lib/urpmi/Nonfree Updates (distrib13)/files.xml.lzma
getting information from /var/lib/urpmi/Tainted Release (distrib21)/files.xml.lzma
getting information from /var/lib/urpmi/Tainted Updates (distrib23)/files.xml.lzma
getting information from /var/lib/urpmi/Core 32bit Release (distrib31)/files.xml.lzma
nss_mdns:/lib/libnss_mdns.so.2
getting information from /var/lib/urpmi/Core 32bit Updates (distrib33)/files.xml.lzma
unlocking urpmi database


But the 32 bit version of the file does not appear in the /lib directory
Code: Select all
[mike@matrix ~]$ ls -l /lib64/libnss_mdns.so.2
-rwxr-xr-x 1 root root 10400 Jan 15 07:49 /lib64/libnss_mdns.so.2*
[mike@matrix ~]$ ls -l /lib/libnss_mdns.so.2
ls: cannot access /lib/libnss_mdns.so.2: No such file or directory


Does anyone know if this file should be available in the repositories? I do have the 32 bit core release enabled.
Thanks
caskyline10
 
Posts: 17
Joined: Apr 7th, '11, 02:42

Re: missing 32 bit libnss_mdns.so.2

Postby djennings » Jun 26th, '11, 22:55

urpmf tells you what package a file is in. It does not tell you if that package is installed.

nss_mdns is in the 32 Bit Core Repository, but urpmi will not let you install it because there is a 64 bit package with the same name. It will not let you have both versions installed at the same time.
You could uninstall the 64 bit version and then install the 32 bit version with the command
Code: Select all
urpmi --wget ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/1/i586/media/core/release/nss_mdns-0.10-9.mga1.i586.rpm


That is assuming you do not have anything installed which needs the 64 bit version.
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: missing 32 bit libnss_mdns.so.2

Postby flink » Mar 3rd, '12, 19:27

djennings wrote:urpmf tells you what package a file is in. It does not tell you if that package is installed.

nss_mdns is in the 32 Bit Core Repository, but urpmi will not let you install it because there is a 64 bit package with the same name. It will not let you have both versions installed at the same time.
You could uninstall the 64 bit version and then install the 32 bit version with the command
Code: Select all
urpmi --wget ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/1/i586/media/core/release/nss_mdns-0.10-9.mga1.i586.rpm


That is assuming you do not have anything installed which needs the 64 bit version.



There is a real need for the 32 bit library. Here is the answer from the Codeweavers support:

Code: Select all
Typically, winecore is going to try find the 32bit library by walking $ldpath ; if the distro uses '../lib64', you may see 'lib32' or just plain 'lib' directories, and these will be in /usr or /opt/ depending on distro...

..it's entirely sane & legitimate to have both the 32 & 64 bit versions of the same library installed ; they can have the same namespace so long as they are nested in their respective directories. You -should- be able to do this -> http://www.codeweavers.com/support/wiki/diag/missinglibnss_mdns


There should be a possibility to have the 32 bit version under a lib32 directory of a Mageia x86_64.
flink
 
Posts: 207
Joined: Mar 3rd, '12, 19:23


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron