problem with DNS in wine - need help

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
mishab
Level 1
Level 1
Posts: 5
Joined: Fri Nov 04, 2011 2:53 pm

problem with DNS in wine - need help

Post by mishab »

Hi I am new to wine and looking for help.

I run wine 1.3.28 over Ubuntu 11.10 (32 bit).

I installed Firfox 7.01 - no problem during the instalation process, and the application loads fine.
But it seems that DNS does not function as I can't access any site by name only by IP.

The linux version of Firefox (one that runs from ubuntu) works fine.

help aappreciated.
M
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: problem with DNS in wine - need help

Post by vitamin »

mishab wrote:But it seems that DNS does not function as I can't access any site by name only by IP.
Probably missing some libraries:
http://wiki.winehq.org/FAQ#head-702afb4 ... ef7cb47f6a
mishab
Level 1
Level 1
Posts: 5
Joined: Fri Nov 04, 2011 2:53 pm

Re: problem with DNS in wine - need help

Post by mishab »

vitamin wrote:
mishab wrote:But it seems that DNS does not function as I can't access any site by name only by IP.
Probably missing some libraries:
http://wiki.winehq.org/FAQ#head-702afb4 ... ef7cb47f6a
Thanks for your reply,

but the link you pointed me to is for amd64 systems my HW is actual 64 bit but the kernel version as I can tell is 32 bit:
misha@MOBC-Home:~$ uname -a
Linux MOBC-Home 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 i686 i386 GNU/Linux

yet I tried the package install anyway, but it cant be located, this is the log of the operation:
misha@MOBC-Home:~$ sudo apt-get install lib32nss-mdns
[sudo] password for misha:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package lib32nss-mdns is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'lib32nss-mdns' has no installation candidate

maybe I am missing some source definition?

thanks
Misha
mishab
Level 1
Level 1
Posts: 5
Joined: Fri Nov 04, 2011 2:53 pm

Re: problem with DNS in wine - need help

Post by mishab »

mishab wrote:
vitamin wrote:
mishab wrote:But it seems that DNS does not function as I can't access any site by name only by IP.
Probably missing some libraries:
http://wiki.winehq.org/FAQ#head-702afb4 ... ef7cb47f6a
Thanks for your reply,

but the link you pointed me to is for amd64 systems my HW is actual 64 bit but the kernel version as I can tell is 32 bit:
misha@MOBC-Home:~$ uname -a
Linux MOBC-Home 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 i686 i386 GNU/Linux

yet I tried the package install anyway, but it cant be located, this is the log of the operation:
misha@MOBC-Home:~$ sudo apt-get install lib32nss-mdns
[sudo] password for misha:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package lib32nss-mdns is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'lib32nss-mdns' has no installation candidate

maybe I am missing some source definition?

thanks
Misha
I investigated it farther, the reason I can't find or install lib32nss-mdns is because it of the wrong architecture, e.g. it is for amd64 kernel while mine is not.

any other idea would be appreciated.

should I file a bug on this?

thanks
Misha
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

problem with DNS in wine - need help

Post by jjmckenzie »

On Fri, Nov 18, 2011 at 12:59 PM, mishab <[email protected]> wrote:
mishab wrote:

I investigated it farther, the reason I can't find or install lib32nss-mdns is because it of the wrong architecture, e.g.
it is for amd64 kernel while mine is not.

any other idea would be appreciated.

should I file a bug on this?
If you do, it will have to be against your Linux distribution. Or you
could try building the 64 bit version of Wine. Realize that it does
have some shortcomings.

James
mishab
Level 1
Level 1
Posts: 5
Joined: Fri Nov 04, 2011 2:53 pm

Re: problem with DNS in wine - need help

Post by mishab »

jjmckenzie wrote:On Fri, Nov 18, 2011 at 12:59 PM, mishab <[email protected]> wrote:
If you do, it will have to be against your Linux distribution. Or you
could try building the 64 bit version of Wine. Realize that it does
have some shortcomings.

James
Hi James,

the actual problem is that my Linux distribution is 32 bit while the lib32nss-mdns is only for 64 bit kernel architectures. in the 32 bit kernel it is only called as libnss-mdns.
So I can open it against my Linux distribution as it seems that nothing is wrong with it, it is wine that is suspected that needs explicitly lib32nss-mdns even if run from 32 bit kernel.

I do suspect that this is a problem in Wine, but I will try to change my kernel to 64 bit and after that to try and run the 32 bit wine over it (the 64 bit kernel version should have the lib32nss-mdns for the sake of 32 bit applications like wine).

Any other suggestions are welcome.

thanks
Misha
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

problem with DNS in wine - need help

Post by jjmckenzie »

On Sat, Nov 19, 2011 at 8:23 AM, mishab <[email protected]> wrote:
jjmckenzie wrote:
On Fri, Nov 18, 2011 at 12:59 PM, mishab <[email protected]> wrote:
If you do, it will have to be against your Linux distribution.  Or you
could try building the 64 bit version of Wine.  Realize that it does
have some shortcomings.

James
Hi James,

the actual problem is that my Linux distribution is 32 bit while the lib32nss-mdns is only for 64 bit kernel architectures. in the 32 bit kernel it is only called as
libnss-mdns.
So I can open it against my Linux distribution as it seems that nothing is wrong with it, it is wine that is suspected that needs explicitly lib32nss-mdns even if
run from 32 bit kernel.
I don't know why the 32 bit version of Wine, running on a 32 bit
system would be looking for the 32 bit version of libnss-mdns. Maybe
one of the other folks here can state why It is possible, however,
that the 32 bit version of Wine for Gentoo was built on a 64 bit
system and that is what is causing the error.

James
mishab
Level 1
Level 1
Posts: 5
Joined: Fri Nov 04, 2011 2:53 pm

finaly working!

Post by mishab »

After reinstalling and updating I can state that:
wine 1.3.28 works well on 32 bit Uuntu 11.10.

issue can be closed
Locked