New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wizard does not preload debian default library paths #68

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

Comments

Projects
None yet
2 participants
@tehnick

This comment has been minimized.

Show comment
Hide comment
@tehnick

tehnick Feb 17, 2016

Collaborator

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

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

This comment has been minimized.

Show comment
Hide comment
@tehnick

tehnick Feb 17, 2016

Collaborator

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

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

This comment has been minimized.

Show comment
Hide comment
@tehnick

tehnick Feb 17, 2016

Collaborator

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

Collaborator

tehnick commented Feb 17, 2016

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

@tehnick

This comment has been minimized.

Show comment
Hide comment
@tehnick

tehnick Feb 17, 2016

Collaborator

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

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

This comment has been minimized.

Show comment
Hide comment
@brezerk

brezerk Feb 18, 2016

Owner

thx. will look into it :)

Owner

brezerk commented Feb 18, 2016

thx. will look into it :)

@brezerk

This comment has been minimized.

Show comment
Hide comment
@brezerk

brezerk Feb 18, 2016

Owner

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.

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

This comment has been minimized.

Show comment
Hide comment
@tehnick

tehnick Feb 18, 2016

Collaborator

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?

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

This comment has been minimized.

Show comment
Hide comment
@brezerk

brezerk Feb 18, 2016

Owner

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?

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

This comment has been minimized.

Show comment
Hide comment
@tehnick

tehnick Feb 18, 2016

Collaborator
$ /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
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

This comment has been minimized.

Show comment
Hide comment
@brezerk

brezerk Feb 18, 2016

Owner

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

Owner

brezerk commented Feb 18, 2016

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

@tehnick

This comment has been minimized.

Show comment
Hide comment
@tehnick

tehnick Feb 18, 2016

Collaborator

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>
...
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

This comment has been minimized.

Show comment
Hide comment
@brezerk

brezerk Feb 18, 2016

Owner

@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?

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

This comment has been minimized.

Show comment
Hide comment
@brezerk

brezerk Feb 18, 2016

Owner

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.

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

This comment has been minimized.

Show comment
Hide comment
@brezerk

brezerk Feb 19, 2016

Owner

Should be fixed with: d3b5c0f

Owner

brezerk commented Feb 19, 2016

Should be fixed with: d3b5c0f

@tehnick

This comment has been minimized.

Show comment
Hide comment
@tehnick

tehnick Feb 21, 2016

Collaborator

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.

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