[MacPorts] #14424: libsdl_mixer cannot load libvorbisfile.dylib even though it is installed

MacPorts trac at macosforge.org
Fri Feb 22 06:25:31 PST 2008


#14424: libsdl_mixer cannot load libvorbisfile.dylib even though it is installed
-------------------------------------+--------------------------------------
  Reporter:  dbruce at tampabay.rr.com  |       Owner:  nox at macports.org
      Type:  defect                  |      Status:  new             
  Priority:  Normal                  |   Milestone:  Port Bugs       
 Component:  ports                   |     Version:  1.6.0           
Resolution:                          |    Keywords:                  
-------------------------------------+--------------------------------------
Comment (by dbruce at tampabay.rr.com):

 Replying to [comment:1 ryandesign at macports.org]:
 > Assigning to maintainer of libsdl_mixer.
 >
 > Why does it say "/usr/local/share/tuxmath/sounds/tuxi.ogg not loaded" --
 specifically why is the prefix /usr/local? Your MacPorts appears to be in
 /opt/local, and hopefully your tuxmath port installed everything under the
 MacPorts prefix as well.

 Hi Ryan - thanks for replying.  The "/usr/local" prefix is simply because
 the build of tuxmath for the port itself did not have very informative
 error output.  I edited a local copy of tuxmath's source to add the
 Mix_GetError(), did a "./configure; make; sudo make install" and found
 that the problem was that libvorbisfile.dylib seemingly could not be
 located.  The /usr/local build of tuxmath still uses MacPort's libs.

 Here's the output from the MacPorts-installed build of tuxmath:

 janis-lehtinens-imac:Tuxmath.app dbruce$ tuxmath
 2008-02-22 09:17:59.260 tuxmath[72745:10b] Warning once: This application,
 or a library it uses, is using NSQuickDrawView, which has been deprecated.
 Apps should cease use of QuickDraw and move to Quartz.
 LoadMusic(): /opt/local/share/tuxmath/sounds/tuxi.ogg not found


 The program behaves exactly the same (and yes,
 /opt/local/share/tuxmath/sounds/tuxi.ogg exists), but without the call to
 SDL's Mix_GetError() it doesn't provide much useful info.

 I don't think there is a previous trac ticket on this, but I found a
 mailing list item that appears to be about the same issue:

 http://lists.macosforge.org/pipermail/macports-
 users/2007-November/007111.html

 Thanks,
 David Bruce

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14424#comment:2>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list