CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Linux
Discussion about CrossOver Linux

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

Back to Threads Reply to Thread

Windows 10 64-bit bottle creation through command line

Hi,
There is a requirement to create windows 10 64 bit version bottle through command line but it is never successful. There are multiple issues

  1. Its throws error stating "wine: could not load ntdll.so: /opt/cxoffice/lib/wine/i386-windows/ntdll.so: cannot open shared object file: No such file or directory" where requested to create 64 it tries to locate within i386
  2. After adding i386 architecture for compatibility still unbale to create
  3. It is only possible if wine32 and wine64 is installed and other dependent libraries.
  4. Crossover is missing to include required libraries for win 10 64 however GUI version has no issues.
    Any help on this appreciated, i know crossover is GUI version of wine but there is a need to create container version of win 10 64 version bottle so is the ask.

Akshay Sankeshwari wrote:

Hi,
There is a requirement to create windows 10 64 bit version bottle through command line but it is never successful. There are multiple issues

  1. Its throws error stating "wine: could not load ntdll.so: /opt/cxoffice/lib/wine/i386-windows/ntdll.so: cannot open shared object file: No such file or directory" where requested to create 64 it tries to locate within i386
  2. After adding i386 architecture for compatibility still unbale to create
  3. It is only possible if wine32 and wine64 is installed and other dependent libraries.
  4. Crossover is missing to include required libraries for win 10 64 however GUI version has no issues.
    Any help on this appreciated, i know crossover is GUI version of wine but there is a need to create container version of win 10 64 version bottle so is the ask.

Good evening Akshay.

I tried to create a test case based on your description.

The setup I used consists of Debian 12.10.0, KDE and CrossOver 25.0.1, installed as described in Installation of cxoffice - Virtual Machine & Debian/KDE | Request for Comments.

I execute the cxbottle command as follows:
(please confirm that this is what you have been trying to do, or state the differences)

/opt/cxoffice/bin/cxbottle --bottle "cxoffice 25.0.1 Test-Bottle" --create --description "Win10_64 Bottle created via Konsole" --template win10_64 --verbose

The output I get is the following:

system encoding='UTF-8'
CXConfig->read(/opt/cxoffice/etc/cxoffice.conf)
CXConfig->read(/home/vbox/.cxoffice/cxoffice.conf)
1786: Grabbing the '/tmp/.wine-1000/bottle-fe00-19f3ae.lock' lock
1786: Got the '/tmp/.wine-1000/bottle-fe00-19f3ae.lock' lock
Running '/opt/cxoffice/share/crossover/bottle_templates/win10_64/setup' '--create' '--description' 'Win10_64 Bottle created via Konsole'
<frozen importlib._bootstrap>:673: ImportWarning: DynamicImporter.exec_module() not found; falling back to load_module()
-> rc=0  (took 18.7282240390778 seconds)
CXRWConfig->new(/home/vbox/.cxoffice/cxoffice 25.0.1 Test-Bottle/cxbottle.conf)
'/home/vbox/.cxoffice/cxoffice 25.0.1 Test-Bottle/cxbottle.conf' not modified -> no need to save
1786: Releasing the '/tmp/.wine-1000/bottle-fe00-19f3ae.lock' lock
1786: Grabbing the '/tmp/.wine-1000/bottle-fe00-19f3ae.lock' lock
1786: Got the '/tmp/.wine-1000/bottle-fe00-19f3ae.lock' lock
CXConfig->read(/home/vbox/.cxoffice/cxoffice 25.0.1 Test-Bottle/cxbottle.conf)
1786: Releasing the '/tmp/.wine-1000/bottle-fe00-19f3ae.lock' lock

The bottle is created without any warnings or errors and visible in CrossOver's GUI.

Installing and executing LTSpice 24 in the newly created bottle as a test works fine without any issues.

In conclusion my guess is that your installation might be suffering from some missing/broken libraries.
It might be worth a try running cxfix, cxdiag and cxdiag24 and see, where that gets you.

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

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 can accept the use of cookies or other identifiers by clicking the Accept button. By clicking Reject, this disables 3rd party tracking.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzUwNjkyMDk4LCJjc3JmX3Rva2VuIjoiZ3lXQjN6NTZOUFpwbVU5RiIsImdkcHIiOm51bGx9