What is your taglib framework&#39;s install path?  The solution to your problem depends on how the fw is configured (using @rpath or @loader_path, or installed in a location external to your app) but more than likely you&#39;ll need to set the appropriate runpath search paths in your app&#39;s build settings.<div>
<br></div><div>Stephen<br><br><div class="gmail_quote">On Thu, Jan 27, 2011 at 2:11 AM, Nonnus ™ <span dir="ltr">&lt;<a href="mailto:nonnus3g@gmail.com">nonnus3g@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote">hi<div><br></div><div>i am able to compile taglib on osx to include in my own app or even add a precompiled framework version without any errors,</div><div>but as soon as i try to use taglib using your simple example:</div>


<div><br></div><div><p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;color:#008326"><br></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;color:#008326">//  UntitledAppDelegate.mm</p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;color:#008326"><font color="#000000"><font color="#008326"><br></font></font></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;color:#d62b24"><span style="color:#7a482f">#import </span>&quot;UntitledAppDelegate.h&quot;</p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;min-height:13.0px"><br></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;color:#d62b24"><span style="color:#7a482f">#include </span>&lt;taglib/fileref.h&gt;</p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;color:#d62b24"><span style="color:#7a482f">#include </span>&lt;taglib/tag.h&gt;</p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;color:#d62b24"><span style="color:#7a482f">#include </span>&lt;taglib/tstring.h&gt;</p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;color:#d62b24"><span style="color:#7a482f">#include </span>&lt;taglib/taglib.h&gt;</p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;min-height:13.0px"><br></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;min-height:13.0px"><br></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo"><span style="color:#bf2e9d">@implementation</span> UntitledAppDelegate</p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;min-height:13.0px"><br></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;color:#bf2e9d">@synthesize<span style="color:#000000"> window;</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;min-height:13.0px"><br></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo">- (<span style="color:#bf2e9d">void</span>)applicationDidFinishLaunching:(<span style="color:#7340a3">NSNotification</span> *)aNotification {</p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;color:#008326"><span style="color:#000000"><span style="white-space:pre-wrap">        </span></span>// Insert code here to initialize your application </p>

<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;min-height:13.0px"><span style="white-space:pre-wrap">        </span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;color:#d62b24"><span style="color:#000000"><span style="white-space:pre-wrap">        </span></span><span style="color:#7340a3">TagLib</span><span style="color:#000000">::</span><span style="color:#4b8186">FileRef</span><span style="color:#000000"> f(</span>&quot;Latex Solar Beef.mp3&quot;<span style="color:#000000">);</span></p>



<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;color:#008326"><span style="color:#000000"><span style="white-space:pre-wrap">        </span></span><span style="color:#7340a3">TagLib</span><span style="color:#000000">::</span><span style="color:#7340a3">String</span><span style="color:#000000"> artist = f.</span><span style="color:#7340a3">tag</span><span style="color:#000000">()-&gt;</span><span style="color:#2e595d">artist</span><span style="color:#000000">(); </span>// artist == &quot;Frank Zappa&quot;</p>



<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;min-height:13.0px"><span style="white-space:pre-wrap">        </span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;color:#d62b24"><span style="color:#000000"><span style="white-space:pre-wrap">        </span>f.</span><span style="color:#7340a3">tag</span><span style="color:#000000">()-&gt;</span><span style="color:#3f217c">setAlbum</span><span style="color:#000000">(</span>&quot;Fillmore East&quot;<span style="color:#000000">);</span></p>



<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo"><span style="white-space:pre-wrap">        </span>f.<span style="color:#2e595d">save</span>();</p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo">}</p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;min-height:13.0px"><br></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Menlo;color:#bf2e9d">@end</p></div><div><br></div><div>i get the following errors mentioning undefined symbols:</div><div><br></div><div><p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">


Ld &quot;/Users/Nonnus/iPhone Dev/Xcode builds/Debug/Untitled.app/Contents/MacOS/Untitled&quot; normal i386</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">cd /Users/nonnus/Desktop/Untitled</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">setenv MACOSX_DEPLOYMENT_TARGET 10.6</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">/Developer/usr/bin/g++-4.2 -arch i386 -isysroot /Developer/SDKs/MacOSX10.6.sdk &quot;-L/Users/Nonnus/iPhone Dev/Xcode builds/Debug&quot; &quot;-F/Users/Nonnus/iPhone Dev/Xcode builds/Debug&quot; -filelist &quot;/Users/Nonnus/iPhone Dev/Xcode builds/Untitled.build/Debug/Untitled.build/Objects-normal/i386/Untitled.LinkFileList&quot; -mmacosx-version-min=10.6 -framework Cocoa -o &quot;/Users/Nonnus/iPhone Dev/Xcode builds/Debug/Untitled.app/Contents/MacOS/Untitled&quot;</p>



<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo;min-height:13.0px"><br></p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">Undefined symbols:</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">  &quot;TagLib::String::String(char const*, TagLib::String::Type)&quot;, referenced from:</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">      -[UntitledAppDelegate applicationDidFinishLaunching:] in UntitledAppDelegate.o</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">  &quot;TagLib::FileRef::~FileRef()&quot;, referenced from:</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">      -[UntitledAppDelegate applicationDidFinishLaunching:] in UntitledAppDelegate.o</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">      -[UntitledAppDelegate applicationDidFinishLaunching:] in UntitledAppDelegate.o</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">  &quot;TagLib::String::~String()&quot;, referenced from:</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">      -[UntitledAppDelegate applicationDidFinishLaunching:] in UntitledAppDelegate.o</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">      -[UntitledAppDelegate applicationDidFinishLaunching:] in UntitledAppDelegate.o</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">      -[UntitledAppDelegate applicationDidFinishLaunching:] in UntitledAppDelegate.o</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">      -[UntitledAppDelegate applicationDidFinishLaunching:] in UntitledAppDelegate.o</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">  &quot;TagLib::FileRef::tag() const&quot;, referenced from:</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">      -[UntitledAppDelegate applicationDidFinishLaunching:] in UntitledAppDelegate.o</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">      -[UntitledAppDelegate applicationDidFinishLaunching:] in UntitledAppDelegate.o</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">  &quot;TagLib::FileRef::save()&quot;, referenced from:</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">      -[UntitledAppDelegate applicationDidFinishLaunching:] in UntitledAppDelegate.o</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">  &quot;TagLib::FileRef::FileRef(char const*, bool, TagLib::AudioProperties::ReadStyle)&quot;, referenced from:</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">      -[UntitledAppDelegate applicationDidFinishLaunching:] in UntitledAppDelegate.o</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">ld: symbol(s) not found</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo">collect2: ld returned 1 exit status</p>
<p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo;min-height:13.0px"><br></p><p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo;min-height:13.0px">
<br></p><p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo;min-height:13.0px">can anyone provide some info on what is going on and how to fix it ?</p><p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo;min-height:13.0px">


<br></p><p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo;min-height:13.0px">thanks in advance</p><p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo;min-height:13.0px">
<br></p><font color="#888888"><p style="margin:0.0px 0.0px 0.0px 12.0px;font:11.0px Menlo;min-height:13.0px">nonnus</p></font></div>
</div><br>
<br>_______________________________________________<br>
taglib-devel mailing list<br>
<a href="mailto:taglib-devel@kde.org">taglib-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/taglib-devel" target="_blank">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br>
<br></blockquote></div><br></div>