Anyone installed Zorro in Linux w/ Wine?

Posted By: Joaquin

Anyone installed Zorro in Linux w/ Wine? - 02/15/17 17:13

I'm trying to install Zorro in Linux (Ubuntu 16.04) with Wine 2.1, but I'm having problems with it.
Has anyone got it working?

This is the error I get:
Code:
# WINEPREFIX="$HOME/prefix32" wine Zorro.exe
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:process:SetProcessDEPPolicy (1): stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
err:module:load_builtin_dll failed to load .so lib for builtin L"WLDAP32.dll": libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
err:module:import_dll Loading library WLDAP32.dll (which is needed by L"C:\users\root\Zorro\Zorro.exe") failed (error c000007a).
err:module:LdrInitializeThunk Main exe initialization for L"C:\users\root\Zorro\Zorro.exe" failed, status c0000135


Pretty ugly error...

I have previously exported environment variable WINEARCH="win32" ...

And I can run other applications, like SED.exe (the Zorro Editor). But not Zorro Trader.

Any ideas?

I'm trying to run Zorro Trader within a Docker container with Wine... If I finally get it working (which I think I will), I will give you the details if anyone's interested in running this Zorro Trader in a Linux box
Posted By: SchokoKeks

Re: Anyone installed Zorro in Linux w/ Wine? - 02/16/17 15:45

The issue seems to be that the dynamic library "libldap_r-2.4.so.2" could not be found.

Did you check if openldap is installed and if the file is present on your system?
http://packages.ubuntu.com/search?keywords=libldap-2.4
Posted By: Joaquin

Re: Anyone installed Zorro in Linux w/ Wine? - 02/16/17 15:54

Thanks for your answer, I finally got it working. Yes, it was because I did not have libldap installed in its 32 bits version.
I have uploaded a docker image to docker hub.
You can try it out in your linux box with this command (after having installed docker-engine):

Code:
docker run --rm -ti -e DISPLAY 
-v /tmp/.X11-unix:/tmp/.X11-unix:ro 
-u root yokinfx/zorro 
/bin/bash -c "WINEARCH=win32 WINEPREFIX='/root/prefix32' wine 
'C:usersrootZorroZorro.exe'"



I'm pretty sure this image could have been smaller in size (As of today it is a 3.16 GB image). I will work on that in following days.

EDIT: I've just noted that backward slashes are not copied in this editor. After the "wine" command, the path for Zorro.exe should be splitedd with double backward slashes
Posted By: fran

Re: Anyone installed Zorro in Linux w/ Wine? - 11/05/17 15:01

Check this post:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=468980#Post468980
Posted By: DizDaz

Re: Anyone installed Zorro in Linux w/ Wine? - 12/11/17 19:03

I would be interested.

Just wondering why would Zorro need LDAP? If it really is mandatory you probably are out of luck until one of the many Linux LDAP libraries gets wrapped up as a Wine library.

Your best bet looks like to configure Zorro not to need LDAP, if that is possible.

---
EDIT
Still finding my legs on the forum, didn't notice this was solved already.
---

best luck for the effort,
DD
© 2024 lite-C Forums