#34177: wine-devel @1.5.2 run error -----------------------------------+---------------------------------------- Reporter: janne@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: wine-devel -----------------------------------+---------------------------------------- Comment(by janne@…): Replying to [comment:4 janne@…]:
Replying to [comment:3 ryandesign@…]:
I can't explain why wine would exit complaining that /opt/local/lib/libSM.6.dylib does not exist, when it does in fact exist. Maybe that's not what it's complaining about then. I'm also unsure what to make of: {{{ Reason: no suitable image found. Did find: /opt/local/lib/lib }}} Usually the "Did find:" line lists the name of an actual library that it did find but which was unsuitable for some reason. But /opt/local/lib/lib is not a library. At least I assume there is no file or directory /opt/local/lib/lib on either of your systems?
[[BR]]
That's right no file or directory named /opt/local/lib/lib[[BR]] {{{ $ ls -l /opt/local/lib/lib ls: /opt/local/lib/lib: No such file or directory }}}
Checked both computers.
O.K. I think I've found the problem.[[BR]]On the computer where wine-devel is installed with: sudo port install wine-devel all is built with variant +universal,[[BR]] but the wine-devel*.mpkg is built for x86_64 only.[[BR]] [[BR]] First computer: {{{ $ file /opt/local/lib/libSM.6.dylib /opt/local/lib/libSM.6.dylib: Mach-O universal binary with 2 architectures /opt/local/lib/libSM.6.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /opt/local/lib/libSM.6.dylib (for architecture i386): Mach-O dynamically linked shared library i386 }}} [[BR]]Second computer: {{{ file /opt/local/lib/libSM.6.dylib /opt/local/lib/libSM.6.dylib: Mach-O 64-bit dynamically linked shared library x86_64 }}} [[BR]] wine can only be compiled as 32bit, so it wont work with 64bits librarys.[[BR]] So the question now is:[[BR]]How do I build an mpkg with the variant +universal ? -- Ticket URL: <https://trac.macports.org/ticket/34177#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS