Wizard does not preload debian default library paths #68

Closed
tehnick opened this Issue Feb 17, 2016 · 15 comments

Projects

None yet

2 participants

@tehnick
Collaborator
tehnick commented Feb 17, 2016

Tiny note about Debian and Ubuntu multiarch scheme:

/usr/lib -> /usr/lib/<triplet>
/usr/lib/<pkgdir> -> /usr/lib/<triplet>/<pkgdir>
/usr/include: remains, used for arch-independent headers
/usr/include/<triplet>: used for arch-varying headers 
/usr/bin: no change
/usr/share: no change
/usr/sbin: no change

More details:
https://wiki.debian.org/Multiarch/Implementation#What_does_the_end_result_look_like.3F

@tehnick
Collaborator
tehnick commented Feb 17, 2016

I have tried first strartup wizard in current version from master branch (1.2-r2-54-g5e03363) built with Qt5 5.5.1 in Debian unstable and have found few more problems. Let's see all process step by step:
desktop_540
desktop_541
desktop_542
desktop_543
desktop_544
desktop_545
desktop_546
desktop_547
desktop_549

@tehnick
Collaborator
tehnick commented Feb 17, 2016

Ok. Let's set the path to win64 libraries:
desktop_550
desktop_551
Nothing changed...

@tehnick
Collaborator
tehnick commented Feb 17, 2016

BTW, first startup wizard dialog looks much better in stable release:
desktop_552
So issue #21 is not completely fixed yet.

@brezerk brezerk added the Bug label Feb 18, 2016
@brezerk brezerk added this to the 1.3 milestone Feb 18, 2016
@brezerk brezerk self-assigned this Feb 18, 2016
@brezerk
Owner
brezerk commented Feb 18, 2016

thx. will look into it :)

@brezerk
Owner
brezerk commented Feb 18, 2016

hi @tehnick ,

Regarding to the links above:

/usr/lib/x86_64-linux-gnu/wine/libwine.so.1
/usr/lib/i386-linux-gnu/wine/libwine.so.1

can you show output of /sbin/ldconfig -p | grep libwine.so on your system please?
Also, it will be nice to see the output of q4wine compiled with -DDEBUG=ON option, if possible.

@tehnick
Collaborator
tehnick commented Feb 18, 2016

can you show output of /sbin/ldconfig -p | grep libwine.so on your system please?

Output is empty.

Also, it will be nice to see the output of q4wine compiled with -DDEBUG=ON option, if possible.

Probably later. That do you want to find there?

@brezerk
Owner
brezerk commented Feb 18, 2016

Probably later. That do you want to find there?
Output is empty.

I guess this is the root cause :)
Does /sbin/ldconfig -p | grep -i wine returns anything?

@tehnick
Collaborator
tehnick commented Feb 18, 2016
$ /sbin/ldconfig -p | grep wine
        libkwineffects.so.6 (libc6) => /usr/lib/i386-linux-gnu/libkwineffects.so.6
$ /sbin/ldconfig -p | grep wine
        libkwineffects.so.6 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libkwineffects.so.6
@brezerk
Owner
brezerk commented Feb 18, 2016

sigh just wonder why there is no libwine.so =\

@tehnick
Collaborator
tehnick commented Feb 18, 2016

just wonder why there is no libwine.so =\

Probably because this is wine-specific library. See: #68 (comment)

...
/usr/lib/<pkgdir> -> /usr/lib/<triplet>/<pkgdir>
...
@brezerk
Owner
brezerk commented Feb 18, 2016

@tehnick does your system have any wine-devel pkg or so? If yes, can you install it and see if /sbin/ldconfig -p | grep libwine.so will work?

@brezerk
Owner
brezerk commented Feb 18, 2016

well. on the other hand, it seems like there is no need to strictly require this option:

       WINEDLLPATH
              Specifies the path(s) in which to search for builtin dlls and Winelib applications. This is a list of directories separated by
              ":". In addition to any directory specified in WINEDLLPATH, Wine will also look in /usr/lib32/wine.

So option allows additionally specify extra paths where to look at. It will use default path anyway.

@brezerk
Owner
brezerk commented Feb 19, 2016

Should be fixed with: d3b5c0f

@tehnick
Collaborator
tehnick commented Feb 21, 2016

does your system have any wine-devel pkg or so?

Yes. libwine-dev

If yes, can you install it and see if /sbin/ldconfig -p | grep libwine.so will work?

No.

Should be fixed with: d3b5c0f

Ok. It works for me. Thanks.

@tehnick tehnick closed this Feb 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment