Opened 12 years ago

Closed 12 years ago

#35051 closed defect (invalid)

py27-game wrong path for sdl lib frameworks

Reported by: chakuzo@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: py27-game

Description

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

Change History (2)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to jmr@…

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

py27-game does not install into /Library/Python. You're running a non-macports installation of pygame.

Note: See TracTickets for help on using tickets.