The forum

Wine crash during installation of tcwin4.5 (32 bit xp)

Wine crash

Author Replies
KabraKedar Thursday 10 July 2014 at 8:14

Hello Team

I dont like windows and I dont want to use it. I am using ubuntu since last couple of years.

I teach C & CPP programming, students here in my area use, turbo complier. I want to installed tcwin 4.5 version in ubuntu via wine.. I tried it several times but it gives me wine crash error.


Logs when I tried to install from terminal are pasted below. Please help me on this..


kedar@Sony-vaio:~/Downloads/Turbo C++ v4.5$ wine INSTALL.EXE
fixme:service:scmdatabase_autostart_services Auto-start service L"Tally License Server 2.0" failed to start: 2
modify_ldt: Invalid argument
err:winediag:build_module Failed to create module for "krnl386.exe", 16-bit LDT support may be missing.
err:module:attach_process_dlls "krnl386.exe16" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winevdm.exe" failed, status c0000142
kedar@Sony-vaio:~/Downloads/Turbo C++ v4.5$


Please let me know if you need any additional information.


Thanks in anticipation!!!

Kedar Kabra

petch Thursday 10 July 2014 at 19:09

See my answer to (I guess it'll become a FAQ as more people use recent kernels)

KabraKedar Tuesday 15 July 2014 at 20:55

Hello Petch

Thanks for your reply, I have seen your answer in the given link which suggest to add

abi.ldt16 = 1
to /etc/sysctl.conf

I have done the changes to conf file but my issue still persists. I am not abke to install 16-bit app. I get same errors again.

could you please help further..

Thanks in anticipation!!


KabraKedar Monday 28 July 2014 at 19:38

Hello Team,

Any update?? Can anybody please help on this issue.. we need support for 16 bit application..




petch Monday 28 July 2014 at 21:04

you need to run sysctl -p (or reboot) for this setting to take effect.

But is this program for Windows? For Windows 3.x maybe?

Wine doesn't have an excellent support for Windows 3.x programs, it aims at running Win32/Win64 programs those days.

So if it doesn't work, you can try to install Windows 3.11 in DOSBox, and install Turbo C++ in it.

Or use another compiler.


Edited by petch