[MacPorts] #35051: py27-game wrong path for sdl lib frameworks

MacPorts noreply at macports.org
Sun Jul 1 14:27:16 PDT 2012


#35051: py27-game wrong path for sdl lib frameworks
-------------------------------+--------------------------------------------
 Reporter:  chakuzo@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  2.1.1                                
 Keywords:                     |        Port:  py27-game                            
-------------------------------+--------------------------------------------
 py27 makes trouble with mac os 10.7.

 The path of the sdl lib frameworks is wrong for pygame.

 Pygame is searching in /Library/Frameworks/ but there are not the
 installed libs von macports.

 To fix the problem i have to manualy install all libs in this folder and
 pygame is running well.
 {{{
 import pygame
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/Library/Python/2.7/site-packages/pygame-1.9.1release-
 py2.7-macosx-10.7-intel.egg/pygame/__init__.py", line 95, in <module>
     from pygame.base import *
 ImportError: dlopen(/Library/Python/2.7/site-packages/pygame-1.9.1release-
 py2.7-macosx-10.7-intel.egg/pygame/base.so, 2): Library not loaded:
 @rpath/SDL.framework/Versions/A/SDL
   Referenced from: /Library/Python/2.7/site-packages/pygame-1.9.1release-
 py2.7-macosx-10.7-intel.egg/pygame/base.so
   Reason: image not found
 }}}

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


More information about the macports-tickets mailing list