http://bugs.winehq.org/show_bug.cgi?id=25052
Summary: Overriding EXTRALIBS in Makefile prevents compile Product: Wine Version: 1.3.6 Platform: x86-64 OS/Version: Mac OS X 10.6 Status: UNCONFIRMED Severity: normal Priority: P2 Component: msxml3 AssignedTo: wine-bugs@winehq.org ReportedBy: winehq@fullware.net
The line:
EXTRALIBS = -L/usr/local/lib -lxml2 -lz -lpthread -liconv -lm
in dlls/msxml3/Makefile overrides environment variables when locating libraries. On some systems it may be necessary to point to a different location, i.e. for 32 bit versions when 64 bit versions are installed in /usr/local.
http://bugs.winehq.org/show_bug.cgi?id=25052
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2010-11-06 17:39:49 CDT --- It only adds to the lib path, that shouldn't be an issue. What's the exact error you are seeing?
http://bugs.winehq.org/show_bug.cgi?id=25052
--- Comment #2 from winehq@fullware.net 2010-11-06 19:44:25 CDT --- It is *prepending* /usr/local/lib to the library path, which is the problem. It override my environment settings which are required to compile. As a result, my 64-bit version of libxml2 from /usr/local is getting linked in, and not the alternate 32-bit version I am trying to link in. As such I'm getting incompatible architecture compile errors.
It doesn't seem benign to me, to be adding /usr/local or any other library to a path that is not specified in the top-level configuration.
http://bugs.winehq.org/show_bug.cgi?id=25052
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|msxml3 |-unknown
http://bugs.winehq.org/show_bug.cgi?id=25052
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2010-11-07 02:58:15 CST --- The linker is supposed to ignore incompatible libraries. You may of course have to pass the 32-bit lib path by hand. Note that the -L/usr/local/lib comes from xml2-config, not from Wine, so that's really a libxml bug (and a nice demonstration of why the xxx-config concept is broken).
http://bugs.winehq.org/show_bug.cgi?id=25052
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.6 |Mac OS X
http://bugs.winehq.org/show_bug.cgi?id=25052
--- Comment #4 from Austin English austinenglish@gmail.com 2013-11-13 16:48:13 CST --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.6 or newer) wine? If so, please attach the terminal output in 1.7.6 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=25052
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #5 from Austin English austinenglish@gmail.com --- Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=25052
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Austin English austinenglish@gmail.com --- Closing.