http://bugs.winehq.org/show_bug.cgi?id=6158
Summary: Wine build uses the wrong libwine.so file Product: Wine Version: 0.9.20. Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-tools AssignedTo: wine-bugs@winehq.org ReportedBy: docbill+bugzilla@freeshell.org
I have been investigating why whenever I attempted to upgrade Wine that my build would fail with unresolved symbols, even though it apparently works for thousands of others without problems. I finally figured out the problem is the build will use the version of libwine.so previously installed, instead of the new version of libwine.so from the source code being built.
The fundamental flaw in the build process is the path to the shared library is specified as: -L$(TOPBUILDDIR)/libs/wine -lwine However, this simply appends $(TOPBUILDDIR)/libs/wine to the library paths and does not guarentee that libwine.so will be taken from that path. In fact quite the opposite, if an old version of libwine.so has already been installed in the standard library path, that version will be used instead.
I have verified this bug has existed in the last few releases of wine (probabyl much longer) and the current snapshots.