[MacPorts] #30212: wine-devel: CUPS not functioning

MacPorts noreply at macports.org
Mon Mar 12 21:18:48 PDT 2012


#30212: wine-devel: CUPS not functioning
---------------------------------+------------------------------------------
 Reporter:  j.s.steer@…          |       Owner:  ryandesign@…           
     Type:  defect               |      Status:  new                    
 Priority:  Normal               |   Milestone:                         
Component:  ports                |     Version:  1.9.2                  
 Keywords:                       |        Port:  wine-devel             
---------------------------------+------------------------------------------

Comment(by chrisk@…):

 In looking into this problem for myself, I found posts in wine forums
 pointing to similar issues.  There, it was confirmed to be a problem with
 the dlopen() call used by wine to link libcups.2.dylib. It seems the
 macports version of wine does not setup wine in such a way as to allow it
 to link from /usr/lib where lib cups.2.dylib is found.

 To fix on my system after doing a fresh update of macports and wine, I set
 and exported DL_LIBRARY_PATH  to /usr/lib and then ran "wine notepad".
 Inside Notepad, I could then access the printers.  Once that was done,
 wine printing worked fine for other apps.  I am not sure all the mechanics
 at work here, but it seems that link is remembered as the environment
 variable is not needed once the first successful link has completed.

 Further research leads me here where I believe the core problem is the
 wine wrapper script (from the macports wine.in source file) overrides the
 normal DYLD_FALLBACK_LIBRARY_PATH value.  It seems macports needs to add
 /usr/lib to the value of DYLD_FALLBACK_LIBRARY_PATH in wine.in (
 https://trac.macports.org/browser/trunk/dports/x11/wine-
 devel/files/wine.in?rev=40116 ).

-- 
Ticket URL: <https://trac.macports.org/ticket/30212#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list