Using the WINE Program with Sun's Solaris system

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
mike3
Level 2
Level 2
Posts: 21
Joined: Tue Jan 06, 2009 5:00 am

Using the WINE Program with Sun's Solaris system

Post by mike3 »

Hi.

I was trying to use the WINE program on Sun's Solaris 10 UNIX operating system, x86-64 version. It seems I can't run many applications as they often give this error:

"err:module:load_builtin_dll failed to load .so lib for builtin L"ws2_32.dll": ld.so.1: wine: fatal: libnsl.so.1: open failed: No such file or directory
err:module:import_dll Loading library ws2_32.dll (which is needed by L"c:\\windows\\system32\\wsock32.dll") failed (error c000007a)."

But the "missing" file "libnsl.so.1" exists on the system. Why is it not working? Is it impossible to make it work? I heard once that this was because it is a 64-bit system. So does that mean, then, that there is no way this can be resolved, short of dumping the O/S and switching to something else?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Using the WINE Program with Sun's Solaris system

Post by vitamin »

mike3 wrote:But the "missing" file "libnsl.so.1" exists on the system.
But is it 32-bit or 64-bit library? Wine is 32-bit and requires 32-bit libraries.
mike3
Level 2
Level 2
Posts: 21
Joined: Tue Jan 06, 2009 5:00 am

Re: Using the WINE Program with Sun's Solaris system

Post by mike3 »

vitamin wrote:
mike3 wrote:But the "missing" file "libnsl.so.1" exists on the system.
But is it 32-bit or 64-bit library? Wine is 32-bit and requires 32-bit libraries.
Looks like it's 32-bit:

--
# file /lib/libnsl.so.1
/lib/libnsl.so.1: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped, no debugging information available
--
mike3
Level 2
Level 2
Posts: 21
Joined: Tue Jan 06, 2009 5:00 am

Post by mike3 »

So what would you think the problem is, then?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Using the WINE Program with Sun's Solaris system

Post by austin987 »

On Wed, Jan 7, 2009 at 3:14 PM, mike3 <[email protected]> wrote:
So what would you think the problem is, then?





Did you compile it yourself? Did you get compiler errors?

--
-Austin
mike3
Level 2
Level 2
Posts: 21
Joined: Tue Jan 06, 2009 5:00 am

Re: Using the WINE Program with Sun's Solaris system

Post by mike3 »

austin987 wrote:On Wed, Jan 7, 2009 at 3:14 PM, mike3 <[email protected]> wrote:
So what would you think the problem is, then?





Did you compile it yourself? Did you get compiler errors?

--
-Austin
No, I did not compile the package myself. I downloaded the binary linked to from this website (winehq.org, in the download section) and installed it.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Using the WINE Program with Sun's Solaris system

Post by austin987 »

On Wed, Jan 7, 2009 at 4:27 PM, mike3 <[email protected]> wrote:
austin987 wrote:
On Wed, Jan 7, 2009 at 3:14 PM, mike3 <[email protected]> wrote:
So what would you think the problem is, then?






Did you compile it yourself? Did you get compiler errors?

--
-Austin
No I did not compile the package myself, I downloaded the binary linked to from this website (winehq.org at the download section) and installed it.





I'd suggest e-mailing the maintainer and asking him. It may be a
64-bit issue, or it could be a wine bug.

--
-Austin
mike3
Level 2
Level 2
Posts: 21
Joined: Tue Jan 06, 2009 5:00 am

Post by mike3 »

Well, I did, and now I got it to work. Turns out an OS update was needed. Thank you for all the help.
Pavel_leon
Newbie
Newbie
Posts: 1
Joined: Mon Jan 19, 2009 8:50 am

The same on OpenSolaris

Post by Pavel_leon »

Hi

I've got the same problem, but on OpenSolaris 2008.11.

Yesterday I've enabled "Password Safe" application over wine in Solaris 10 u6 (x86-64) on my home PC and had no problems. Today tried to repeat the procedure on my work notebook on OpenSolaris and it dind't worked :? .

This is the output:
| > uname -a
| SunOS solplr 5.11 snv_101b i86pc i386 i86pc
|
| > LD_LIBRARY_PATH=/lib
| > export LD_LIBRARY_PATH
|
| > /opt/gnu/wine/bin/wine pwsafe.exe
| err:module:load_builtin_dll failed to load .so lib for builtin L"WS2_32.dll": ld.so.1: wine: fatal: libnsl.so.1: open failed: No such file or directory
| err:module:import_dll Loading library WS2_32.dll (which is needed by L"Z:\\z00\\app\\pwsafe\\pwsafe.exe") failed (error c000007a).
| err:module:LdrInitializeThunk Main exe initialization for L"Z:\\z00\\app\\pwsafe\\pwsafe.exe" failed, status c0000135
|
| > ls -l /lib/libnsl.so.1
| -rwxr-xr-x 1 root bin 868592 Nov 13 01:26 /lib/libnsl.so.1
| > file /lib/libnsl.so.1
| /lib/libnsl.so.1: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped, no debugging information available
|

Installed WINE from sunfreepacks.com, the binary packages for Solaris 10 and Open Solaris are actually different.

I cant't upgrade, 2008.11 (101b) is the last version of OpenSolaris. There are newer versions of SXDE (Solaris Express Developer Edition), but I belive it is not the upgrade path.

What should I do?

regards
Pavel
Locked