https://bugs.winehq.org/show_bug.cgi?id=48897
Bug ID: 48897 Summary: Building fails with '/usr/bin/ld: cannot find -ldl' Product: Wine Version: 5.5 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
Created attachment 66845 --> https://bugs.winehq.org/attachment.cgi?id=66845 config.log
After commit 149e03c72ae112a1091bca9012e2a59de156e949
/usr/bin/ld: cannot find -ldl collect2: error: ld returned 1 exit status make[1]: *** [Makefile:268: wine64-preloader] Error 1 make[1]: Leaving directory "/home/andrey/wine64/loader" make: *** [Makefile:8847: loader] Error 2
https://bugs.winehq.org/show_bug.cgi?id=48897
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |build-env Keywords| |regression Regression SHA1| |149e03c72ae112a1091bca9012e | |2a59de156e949 CC| |focht@gmx.net
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello Andrey,
Wine preloader is statically linked and commit https://source.winehq.org/git/wine.git/commitdiff/149e03c72ae112a1091bca9012... ("configure: Add -ldl to default libs if necessary.") causes '-ldl' erroneously added for loader. People might be tempted to install 32-bit and 64-bit glibc-static packages to solve this but in fact it's not needed with proper fix.
Regards
https://bugs.winehq.org/show_bug.cgi?id=48897
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c82c63f58a979441c42689a367d | |33802b93906fc Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #2 from Andrey Gusev andrey.goosev@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commit/c82c63f58a979441c42689a367d338...
https://bugs.winehq.org/show_bug.cgi?id=48897
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.6.