Running DesignSpark PCB 7.0 under Ubuntu 15.04

Questions about Wine on Linux
Locked
apdobaj
Level 1
Level 1
Posts: 5
Joined: Fri Jun 05, 2015 1:23 pm

Running DesignSpark PCB 7.0 under Ubuntu 15.04

Post by apdobaj »

Trying desperately to run DesignSpark PCB 7.0 under Ubuntu 15.04 and Wine 1.6, this configuration is not yet in the appdb. I unpacked the DS zip file to expose the installation executable and it failed as widely reported. However i found one individual that got DS to work by copying over all the files from a successful windows install to the wine drive_c/Program Files (x86)/DesignSpark. After doing that, When I attempt to run the DS executable from the command line (wine DesignSpark.exe) I get a bunch of dll not found errors.

Code: Select all

err:module:import_dll Loading library dsext.dll (which is needed by L"C:\\Program Files (x86)\\DesignSpark\\DesignSpark.exe") failed (error c0000017)
As suggested here and elsewhere I've attempted to place the dll's from the DS folder into the Windows/system32 folder, used the override capability in the Libraries tab of the config application, opened up the permissions of the .wine folder and its contents, install the dll's through winetricks (although the majority of the dll's it complains about are not in the list), made sure the wine ppa repo is registered, etc. None of these things work.

Has anybody got this configuration to work?
User avatar
L. Rahyen
Moderator
Moderator
Posts: 338
Joined: Fri Feb 22, 2008 9:13 pm

Re: Running DesignSpark PCB 7.0 under Ubuntu 15.04

Post by L. Rahyen »

Did you try to install in 64-bit Wine prefix? I suggest to try to install it in 32-bit Wine prefix. Just hit Next everytime accepting default choice, accept license agreement when asked and enter your and company name. At the end of the installation it crashes when "publishing product information", and I get error "The program setup.exe has encountered a serious problem and needs to close", so I click Close.

The software does not install vcrun2010 but requires it, so I have used winetricks. After that I was able to register and run the software, and successfully created an empty project. I did non try to test farther, but so far it seems to be working. These are my exact steps:

Code: Select all

export WINEPREFIX=~/.DesignSparkPCB
export WINEARCH=win32
winetricks vcrun2010
wget http://pcb.designspark.info/DesignSparkPCB_v7.0.2.exe
wine DesignSparkPCB_v7.0.2.exe
cd "$WINEPREFIX/drive_c/Program Files/DesignSpark/DesignSpark PCB 7.0"
wine DesignSpark.exe
If still does not work, upgrade Wine. 1.6 is very old. Current version is 1.7.44, but I have tested in slightly older version.
apdobaj
Level 1
Level 1
Posts: 5
Joined: Fri Jun 05, 2015 1:23 pm

Re: Running DesignSpark PCB 7.0 under Ubuntu 15.04

Post by apdobaj »

Thank you so much! Everything went just the way you said it would, except when running DS for the first time I get a couple of authentication errors. One of them I cleaned up by installing winbind, but this one:

Code: Select all

err:winediag:schan_imp_init Failed to load libgnutls, secure connections will not be available
seems to have something to do with the libgnutls package, which is indeed installed. Thoughts? I did end up installing the latest version of Wine.
User avatar
L. Rahyen
Moderator
Moderator
Posts: 338
Joined: Fri Feb 22, 2008 9:13 pm

Re: Running DesignSpark PCB 7.0 under Ubuntu 15.04

Post by L. Rahyen »

Are you sure you have 32-bit version of libgnutls installed? Please note that 64-bit version will not be used by 32-bit applications. If you do not have it, you probably need to run something like this to install it:

Code: Select all

sudo apt-get install libgnutls26:i386
apdobaj
Level 1
Level 1
Posts: 5
Joined: Fri Jun 05, 2015 1:23 pm

Re: Running DesignSpark PCB 7.0 under Ubuntu 15.04

Post by apdobaj »

It looks like I have the 32-bit version of rev 28 (see screenshot). should I install the dev or debug files? when I try to install libgnutls26:i386 using apt-get I get a "package not available" error, do I need to add something to my repository list? I poked around on http://www.gnutls.org/ but it wasn't obvious to me which package I needed.
Attachments
package manager search libgnutls
package manager search libgnutls
User avatar
L. Rahyen
Moderator
Moderator
Posts: 338
Joined: Fri Feb 22, 2008 9:13 pm

Re: Running DesignSpark PCB 7.0 under Ubuntu 15.04

Post by L. Rahyen »

In my case when running DesignSpark.exe for the first time and it presents login screen it has two versions of gnutls library loaded:

Code: Select all

% lsof -P -T -p $(pidof DesignSpark.exe) | grep gnutls
DesignSpa 24029 username  mem    REG               8,49   909392  58668093 /usr/lib/i386-linux-gnu/libgnutls.so.26.22.6
DesignSpa 24029 username  mem    REG               8,49  1316576  58657684 /usr/lib/i386-linux-gnu/libgnutls-deb0.so.28.41.0
On my system I have both libgnutls26:i386 and libgnutls-deb0-28:i386 intsalled. If I remove libgnutls26:i386, then I get exactly the same error as you: "Failed to load libgnutls, secure connections will not be available". After I install it, everything works fine again. My guess you have only libgnutls-deb0.so.28 installed but not libgnutls.so.26. If there is no such package, then perhaps your Wine version is not intended for your version of the distro? I do not use Ubuntu, so I cannot tell you perfect solution. However, as a workaround, you could google "libgnutls26:i386" and download .deb file, then try to manually install it with "sudo dpkg -i libgnutls*.deb" command.
apdobaj
Level 1
Level 1
Posts: 5
Joined: Fri Jun 05, 2015 1:23 pm

Re: Running DesignSpark PCB 7.0 under Ubuntu 15.04

Post by apdobaj »

Success! Got the following 2 deb files off launchpad: libgnutls26_2.12.23-15ubuntu2_i386.deb and libgcrypt11_1.5.4-2ubuntu1_i386.deb. Used "dpkg -i" to install these in that order and now DS runs. I will write this up and post on the Wine site. Can't thank you enough, L. Rahyen, I owe you a beer.
apdobaj
Level 1
Level 1
Posts: 5
Joined: Fri Jun 05, 2015 1:23 pm

Re: Running DesignSpark PCB 7.0 under Ubuntu 15.04

Post by apdobaj »

I meant the DesignSpark site
Locked