TagLib Mac OS X Framework

Chris Verwymeren verwymeren at gmail.com
Sun Sep 21 00:10:48 CEST 2008


I have encountered an issue when using the TagLib Mac OS X framework  
available from the website. Including the framework and attempting to  
build and run my application results in the following error:

[Session started at 2008-09-20 11:51:28 -0500.]
dyld: Library not loaded: /TagLib.framework/Versions/1/TagLib
   Referenced from: /Users/cverwymeren/Projects/test/build/Release/ 
test.app/Contents/MacOS/test
   Reason: image not found

The Debugger has exited due to signal 5 (SIGTRAP).The Debugger has  
exited due to signal 5 (SIGTRAP).

I ran otool on the TagLib framework binary and the shared library  
settings appear as follows:

$ otool -L TagLib
TagLib:
	/TagLib.framework/Versions/1/TagLib (compatibility version 1.5.0,  
current version 1.5.0)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version  
1.2.3)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current  
version 7.4.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current  
version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current  
version 111.0.0)
	
I believe the Deployment -> Installation Directory setting was  
incorrectly set in the build options for the framework and this is  
causing the problem. The setting should be set to @executable_path/../ 
Frameworks.


Chris Verwymeren


More information about the taglib-devel mailing list