Can't install Lightroom

Questions about Wine on Linux
Locked
Hanspb
Level 1
Level 1
Posts: 6
Joined: Tue Sep 30, 2014 3:05 pm

Can't install Lightroom

Post by Hanspb »

Hi,
I saw this video on YouTube about a successful installation of Adobe Lightroom on Linux Mint 17.

I have a fresh install of Mint 17, Lightroom 5.3 and Wine 1.7.27. Lightroom installer starts, but after a while I get an error message and it stops. I attach a screenshot of the message, and here is the backtrace:

Code: Select all

Unhandled exception: unimplemented function KERNEL32.dll.CreateThreadpool called in 32-bit code (0x7bc54270).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7bc54270 ESP:0033f7ec EBP:0033f850 EFLAGS:00200206(   - --  I   - -P- )
 EAX:00d2c7f0 EBX:7bcc9000 ECX:0033f85c EDX:00d39410
 ESI:0033f7f8 EDI:0033f94c
Stack dump:
0x0033f7ec:  00000000 00000000 00000000 80000100
0x0033f7fc:  00000001 00000000 7bc54270 00000002
0x0033f80c:  00d2cd0c 00d2c7f0 0033f94c 0033f848
0x0033f81c:  7b87303a 00f90000 00000000 7b826bc5
0x0033f82c:  7b87303a 00f9f534 00000000 00000000
0x0033f83c:  7e2fe720 0033f85c 00f9f518 00000000
000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
Backtrace:
=>0 0x7bc54270 call_dll_entry_point+0x2f0() in ntdll (0x0033f850)
  1 0x003e002d (0x0033f8d8)
  2 0x7b8778d1 InitOnceExecuteOnce+0x30() in kernel32 (0x0033f908)
  3 0x00c78df9 in wichitafoundation (+0x8df8) (0x0033f9d4)
  4 0x00b9fda5 in substrate (+0x2fda4) (0x0033fdb8)
  5 0x7883e3c3 in mfc100u (+0x24e3c2) (0x0033fdcc)
  6 0x00404de6 in lightroom (+0x4de5) (0x0033fe60)
  7 0x7b85f61c call_process_entry+0xb() in kernel32 (0x0033fe78)
  8 0x7b8606a3 in kernel32 (+0x506a2) (0x0033feb8)
  9 0x7bc80640 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
  10 0x7bc835cd call_thread_func+0x7c() in ntdll (0x0033ffa8)
  11 0x7bc8061e RtlRaiseException+0x21() in ntdll (0x0033ffc8)
  12 0x7bc5437e call_dll_entry_point+0x3fd() in ntdll (0x0033ffe8)
  13 0xf753f65d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  14 0xf753f71b wine_switch_to_stack+0x2a() in libwine.so.1 (0xff8322e8)
  15 0x7bc59ed9 LdrInitializeThunk+0x238() in ntdll (0xff832328)
  16 0x7b866ef3 __wine_kernel_init+0xa12() in kernel32 (0xff833448)
  17 0x7bc5ae03 __wine_process_init+0x192() in ntdll (0xff8334d8)
  18 0xf753cdc8 wine_init+0x327() in libwine.so.1 (0xff833538)
  19 0x7bf0100c main+0xfb() in <wine-loader> (0xff833988)
  20 0xf735fa83 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x7bc54270 call_dll_entry_point+0x2f0 in ntdll: subl	$4,%esp
Modules:
Module	Address			Debug info	Name (125 modules)
PE	  340000-  3d6000	Deferred        agkernel
PE	  400000-  83a000	Export          lightroom
PE	  840000-  b65000	Deferred        ui
PE	  b70000-  c6a000	Export          substrate
PE	  c70000-  d48000	Export          wichitafoundation
PE	  d50000-  e76000	Deferred        libeay32
PE	10000000-1000b000	Deferred        asneu
PE	5d360000-5d36d000	Deferred        mfc100enu
PE	785f0000-78a22000	Export          mfc100u
ELF	7b800000-7ba5f000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba5f000	\               kernel32
ELF	7bc00000-7bce6000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bce6000	\               ntdll
ELF	7bf00000-7bf04000	Dwarf           <wine-loader>
ELF	7d150000-7d159000	Deferred        librt.so.1
ELF	7d159000-7d171000	Deferred        libresolv.so.2
ELF	7d171000-7d175000	Deferred        libkeyutils.so.1
ELF	7d175000-7d1c0000	Deferred        libdbus-1.so.3
ELF	7d1c0000-7d1cc000	Deferred        libkrb5support.so.0
ELF	7d1cc000-7d1d1000	Deferred        libcom_err.so.2
ELF	7d1d1000-7d201000	Deferred        libk5crypto.so.3
ELF	7d201000-7d2bf000	Deferred        libkrb5.so.3
ELF	7d2bf000-7d2d1000	Deferred        libavahi-client.so.3
ELF	7d2d1000-7d2df000	Deferred        libavahi-common.so.3
ELF	7d2df000-7d324000	Deferred        libgssapi_krb5.so.2
ELF	7d324000-7d391000	Deferred        libcups.so.2
ELF	7d391000-7d398000	Deferred        libffi.so.6
ELF	7d398000-7d3d4000	Deferred        libp11-kit.so.0
ELF	7d3d4000-7d3e8000	Deferred        libtasn1.so.6
ELF	7d3e8000-7d46f000	Deferred        libgcrypt.so.11
ELF	7d46f000-7d535000	Deferred        libgnutls.so.26
ELF	7d5bc000-7d5f3000	Deferred        uxtheme<elf>
  \-PE	7d5c0000-7d5f3000	\               uxtheme
ELF	7d5f3000-7d5f9000	Deferred        libxfixes.so.3
ELF	7d5f9000-7d604000	Deferred        libxcursor.so.1
ELF	7d604000-7d615000	Deferred        libxi.so.6
ELF	7d615000-7d619000	Deferred        libxcomposite.so.1
ELF	7d619000-7d624000	Deferred        libxrandr.so.2
ELF	7d624000-7d62f000	Deferred        libxrender.so.1
ELF	7d62f000-7d635000	Deferred        libxxf86vm.so.1
ELF	7d635000-7d639000	Deferred        libxinerama.so.1
ELF	7d639000-7d640000	Deferred        libxdmcp.so.6
ELF	7d640000-7d644000	Deferred        libxau.so.6
ELF	7d644000-7d666000	Deferred        libxcb.so.1
ELF	7d666000-7d79a000	Deferred        libx11.so.6
ELF	7d79a000-7d7ad000	Deferred        libxext.so.6
ELF	7d7ae000-7d7b3000	Deferred        libgpg-error.so.0
ELF	7d7b3000-7d7c9000	Deferred        dwmapi<elf>
  \-PE	7d7c0000-7d7c9000	\               dwmapi
ELF	7d7cb000-7d85f000	Deferred        winex11<elf>
  \-PE	7d7e0000-7d85f000	\               winex11
ELF	7d896000-7d8bf000	Deferred        libexpat.so.1
ELF	7d8bf000-7d8fa000	Deferred        libfontconfig.so.1
ELF	7d8fa000-7d922000	Deferred        libpng12.so.0
ELF	7d922000-7d9c2000	Deferred        libfreetype.so.6
ELF	7d9e0000-7da83000	Deferred        urlmon<elf>
  \-PE	7d9f0000-7da83000	\               urlmon
ELF	7da83000-7dac6000	Deferred        winspool<elf>
  \-PE	7da90000-7dac6000	\               winspool
ELF	7dac6000-7dbb3000	Deferred        comdlg32<elf>
  \-PE	7dad0000-7dbb3000	\               comdlg32
ELF	7dbb3000-7dbe2000	Deferred        netapi32<elf>
  \-PE	7dbc0000-7dbe2000	\               netapi32
ELF	7dbe2000-7dc15000	Deferred        secur32<elf>
  \-PE	7dbf0000-7dc15000	\               secur32
ELF	7dc15000-7dd5e000	Deferred        oleaut32<elf>
  \-PE	7dc30000-7dd5e000	\               oleaut32
ELF	7dd5e000-7ddea000	Deferred        gdiplus<elf>
  \-PE	7dd70000-7ddea000	\               gdiplus
ELF	7ddea000-7ddfe000	Deferred        msimg32<elf>
  \-PE	7ddf0000-7ddfe000	\               msimg32
ELF	7ddfe000-7df07000	Deferred        comctl32<elf>
  \-PE	7de10000-7df07000	\               comctl32
ELF	7df07000-7df8a000	Deferred        rpcrt4<elf>
  \-PE	7df10000-7df8a000	\               rpcrt4
ELF	7df8a000-7e0cb000	Deferred        ole32<elf>
  \-PE	7dfa0000-7e0cb000	\               ole32
ELF	7e0cb000-7e19b000	Deferred        crypt32<elf>
  \-PE	7e0d0000-7e19b000	\               crypt32
ELF	7e19b000-7e1b0000	Deferred        authz<elf>
  \-PE	7e1a0000-7e1b0000	\               authz
ELF	7e1b0000-7e2b6000	Deferred        msvcp100<elf>
  \-PE	7e1f0000-7e2b6000	\               msvcp100
ELF	7e2b6000-7e378000	Deferred        msvcr100<elf>
  \-PE	7e2d0000-7e378000	\               msvcr100
ELF	7e378000-7e3b0000	Deferred        ws2_32<elf>
  \-PE	7e380000-7e3b0000	\               ws2_32
ELF	7e3b0000-7e5e6000	Deferred        shell32<elf>
  \-PE	7e3c0000-7e5e6000	\               shell32
ELF	7e5e6000-7e660000	Deferred        shlwapi<elf>
  \-PE	7e5f0000-7e660000	\               shlwapi
ELF	7e660000-7e77f000	Deferred        gdi32<elf>
  \-PE	7e670000-7e77f000	\               gdi32
ELF	7e77f000-7e8da000	Deferred        user32<elf>
  \-PE	7e790000-7e8da000	\               user32
ELF	7e8da000-7e902000	Deferred        mpr<elf>
  \-PE	7e8e0000-7e902000	\               mpr
ELF	7e902000-7e91c000	Deferred        libz.so.1
ELF	7e91c000-7e999000	Deferred        wininet<elf>
  \-PE	7e930000-7e999000	\               wininet
ELF	7e999000-7ea0c000	Deferred        advapi32<elf>
  \-PE	7e9b0000-7ea0c000	\               advapi32
ELF	7ea0c000-7ea33000	Deferred        iphlpapi<elf>
  \-PE	7ea10000-7ea33000	\               iphlpapi
ELF	7ea33000-7eaeb000	Deferred        msvcr80<elf>
  \-PE	7ea50000-7eaeb000	\               msvcr80
ELF	7eaeb000-7ec2f000	Deferred        msvcp80<elf>
  \-PE	7eb20000-7ec2f000	\               msvcp80
ELF	7ec2f000-7ec3c000	Deferred        libnss_files.so.2
ELF	7ec3c000-7ec48000	Deferred        libnss_nis.so.2
ELF	7ec48000-7ec61000	Deferred        libnsl.so.1
ELF	7ec61000-7ec6a000	Deferred        libnss_compat.so.2
ELF	7ef9c000-7efe2000	Deferred        libm.so.6
ELF	7efe6000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f72fc000-f7321000	Deferred        imm32<elf>
  \-PE	f7300000-f7321000	\               imm32
ELF	f7321000-f7340000	Deferred        wintab32<elf>
  \-PE	f7330000-f7340000	\               wintab32
ELF	f7346000-f74f6000	Dwarf           libc.so.6
ELF	f74f6000-f74fb000	Deferred        libdl.so.2
ELF	f74fc000-f7518000	Deferred        libpthread.so.0
ELF	f7536000-f76ec000	Dwarf           libwine.so.1
ELF	f76ee000-f7710000	Deferred        ld-linux.so.2
ELF	f7710000-f7711000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	0000001d    0
	0000001c    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001b    0
	00000018    0
	00000017    0
	00000013    0
00000019 plugplay.exe
	0000001f    0
	0000001e    0
	0000001a    0
00000020 explorer.exe
	00000021    0
00000022 setup32.exe
	00000023    0
00000024 msiexec.exe
	00000025    0
0000002c winemenubuilder.exe
	0000002d    0
0000002e winemenubuilder.exe
	0000002f    0
00000030 (D) C:\Program Files (x86)\Adobe\Adobe Photoshop Lightroom 5.3\lightroom.exe
	00000031    0 <==
System information:
    Wine build: wine-1.7.27
    Platform: i386 (WOW64)
    Host system: Linux
    Host version: 3.13.0-24-generic
Hope someone can help me out, because I really want to get LR running.
Lightroom-install-error.png

Best regards,
Hans Petter
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't install Lightroom

Post by dimesio »

Hanspb wrote:

Code: Select all

Unhandled exception: unimplemented function KERNEL32.dll.CreateThreadpool called in 32-bit code (0x7bc54270).
Known bug affecting Lightroom 5.3: https://bugs.winehq.org/show_bug.cgi?id=35192

The video you watched installed Lightroom 4.4, which is not affected by this bug. The bug report does have a workaround, but it involves patching and building Wine yourself. If installing an older version of Lightroom is an option for you, that is likely to be much easier.

FYI, the half of the video that covered installing Wine through your package manager neglected to tell you to install wine-gecko and wine-mono. Your setup is considered broken without them, so if you haven't installed them, you should.
Hanspb
Level 1
Level 1
Posts: 6
Joined: Tue Sep 30, 2014 3:05 pm

Re: Can't install Lightroom

Post by Hanspb »

I did install wine-gecko and wine-mono, and I think I even managed to create a 32-bit wineprefix, which isn't mentioned in the video either. I don't know how to build Wine with the patches, so that is not an option, unless I get a reliable step by step guide. I don't know much about these things, but I find it a bit strange that patches needed in Wine 1.7.11 are not implemented in 1.7.27.

Anyway, from the comments in the bug report, it seems like Lightroom 5.0 should work without the Wine patches, so if I only could get that...

And what about newer versions of Lightroom? It seems like the latest is 5.6 or something.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't install Lightroom

Post by dimesio »

Hanspb wrote:I find it a bit strange that patches needed in Wine 1.7.11 are not implemented in 1.7.27.
Comment 38 in the bug report explains it pretty clearly:
(please note that some of these patches are dirty hacks that work well with Lightroom but could induce minor issues on other wine apps)
And what about newer versions of Lightroom? It seems like the latest is 5.6 or something.
No one's reported anything about it. The only way to find out would be to try it.
Hanspb
Level 1
Level 1
Posts: 6
Joined: Tue Sep 30, 2014 3:05 pm

Re: Can't install Lightroom

Post by Hanspb »

Yes, I see your point. So I'll just keep on trying :-)

Hans Petter
Locked