Crayon Physics Deluxe Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

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

Back to Threads Reply to Thread

Crayon Physics runs in current Wine, but not in current CrossOver

Hi!

When install "Crayon Physics" in a bottle and try to run it with CrossOver Games (Ubuntu 9.04, German localisation), I get an error:


$ /opt/cxgames/bin/wine --version
Product Name: CrossOver Games
Public Version: 8.0.0
Product Version: 8.0.0
Build Tag: cxgames-8.0.0rc6
Build Timestamp: 20090901T211244Z
$ /opt/cxgames/bin/wine --verbose --bottle "Crayon Physics" --workdir .cxgames/Crayon\ Physics/drive_c/Program\ Files/Crayon\ Physics\ Deluxe/crayon.exe
err:module:load_builtin_dll failed to load .so lib for builtin L"WLDAP32.dll": libldap_r.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"Y:\\.cxgames\\Crayon Physics\\drive_c\\Program Files\\Crayon Physics Deluxe\\crayon.exe") failed (error c000007a).
err:module:LdrInitializeThunk Main exe initialization for L"Y:\\.cxgames\\Crayon Physics\\drive_c\\Program Files\\Crayon Physics Deluxe\\crayon.exe" failed, status c0000135

Creating the missing files as symlinks helps, but not much:


$ sudo ln -s /usr/lib/liblber-2.4.so.2 /usr/lib/liblber.so.2
$ sudo ln -s /usr/lib/libldap_r-2.4.so.2 /usr/lib/libldap_r.so.2
$ /opt/cxgames/bin/wine --verbose --bottle "Crayon Physics" --workdir .cxgames/Crayon\ Physics/drive_c/Program\ Files/Crayon\ Physics\ Deluxe/ crayon.exe
err:module:load_builtin_dll failed to load .so lib for builtin L"WLDAP32.dll": /opt/cxgames/lib/wine/wldap32.dll.so: undefined symbol: ldap_parse_sort_control
err:module:import_dll Loading library WLDAP32.dll (which is needed by L"Y:\\.cxgames\\Crayon Physics\\drive_c\\Program Files\\Crayon Physics Deluxe\\crayon.exe") failed (error c000007a).
err:module:LdrInitializeThunk Main exe initialization for L"Y:\\.cxgames\\Crayon Physics\\drive_c\\Program Files\\Crayon Physics Deluxe\\crayon.exe" failed, status c0000135

When I install "Crayon Physics" into a clean Wine directory (same system, with and without the mentioned symlinks), however, it runs fine:

cxgames-8.0.0rc6


$ wine --version
wine-1.1.29
$ wine Crayon\ Physics_53.exe
$ cd .wine/drive_c/Programme/Crayon\ Physics\ Deluxe/
$ wine crayon.exe

Martin

Hey Martin. as your log output shows your cxgames is missing WLDAP32.DLL, I ran into the same problem with Garry's Mod myself.
To get around this you may follow my guide

This error can be reproducible atleast on cxgames 8.1.4

Steps needed to get around it.

1# Download WLDAP32.dll from the internet. eg; http://www.dll-files.com/dllindex/dll-files.shtml?wldap32
2# then extract wldap32.dll into "~/.cxgames/default/drive_c/windows/system32" depending on the name of your bottle.
3# Run "CrossOver Games -> Run a Windows command" Selected bottle, command "winecfg"
4# In Winecfg select tab "Libraries"
5# In "New override library for" type: wldap32.dll
6# Press "Add", then "Apply" and "Ok"

Crayon Physics should launch now =)

Hi ilaril,

sorry for the long delay, I deemed my final exam more important than CrossOver... ;)

The problem is still around in Crossover Games 9.0.0. Nevertheless, your solution works flawlessly. I would, however, recommend to not download WLDAP32.dll from the internet, because these databases are a great source for all kinds of malware. I've instead copied WLDAP32.dll from my Windows XP installation, as this is much safer (as long you've got a good virus scanner, that is... <g>).

Thanks,

Martin

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

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM2MzczNjgxLCJjc3JmX3Rva2VuIjoiZlVVNTN5a1hhSFFBN3FkRiIsImdkcHIiOjB9