<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks for the response. That's quite logical.<div><br></div><div>It seems then to be an issue with the Cocoa build of Qt 4.6.3 for OS-X from <a href="http://get.qt.nokia.com/qt/source">http://get.qt.nokia.com/qt/source</a>, which installs libQtCLucene in /usr/lib . (And only libQtCLucene.dylib is installed in /usr/lib! Everything else seemingly goes into /Library/Frameworks.)</div><div><br></div><div>The solution then seems to be to build Qt from source as well.</div><div><br></div><div>thanks,</div><div>Eric</div><div><br></div><div><br></div><div><br><div><div>On 2011-04-08, at 10:51 AM, David Partyka wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I think it's because you're trying to create a bundle with dependencies that are system installed. Fixup bundle doesn't copy in dependencies installed in system locations such as /usr/lib, otherwise it would copy in your whole operating system through dependency resolution ;-).<div>
<br></div><div>If you want to make a bundle then you'll have to use/build a Qt not installed in /usr/blah<br><br><div class="gmail_quote">On Fri, Apr 8, 2011 at 11:50 AM, Eric Nodwell <span dir="ltr"><<a href="mailto:enodwell@ucalgary.ca">enodwell@ucalgary.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I can successfully build ParaView 3.10.0 (with some additional custom filters) on OS-X. However the resulting app bundle ends up missing a required library, libQtCLucene.4.dylib.<br>
<br>
It can still be run on any system on which Qt is installed. However if Qt is not installed on the system, the following error occurs:<br>
<br>
Dyld Error Message:<br>
Library not loaded: libQtCLucene.4.dylib<br>
Referenced from: /Applications/ParaView-3.10.0-n88/ParaView 3.10.0.app/Contents/MacOS/paraview<br>
Reason: image not found<br>
<br>
As an ugly hack, I tried copying libQtCLucene.4.dylib from the official binary of ParaView 3.10.0 (which does include it). This doesn't work though, as the build of ParaView is hard-wired to look for libQtCLucene.4.dylib in /usr/lib .<br>
<br>
Note that libQtPython.dylib and libQtTesting.dylib do get included in my build of ParaView; it is just libQtCLucene.4.dylib that is missing.<br>
<br>
Poking around the CMakeFiles I found that a file gets created in the CMake build tree, Applications/ParaView/ParaView_OSX_MakeStandAloneBundle.cmake, (derived from Applications/ParaView/<a href="http://CompleteBundle.cmake.in/" target="_blank">CompleteBundle.cmake.in</a>) that does have some custom handling for the libQtCLucene library. In particular, in ensures that the path where libQtCLucene is found (happens to be /usr/lib) is passed in libs_path to CMake's fixup_bundle command. I'm unfortunately not familiar enough with bundles to figure out why fixup_bundle still fails to identify libQtCLucene.4.dylib as a required dependency that should be included.<br>
<br>
There is evidently a solution, since the official ParaView binaries for OS-X do in fact include libQtCLucene.4.dylib in the App bundle. Anyone have any insight how this is achieved?<br>
<br>
Thank you in advance for any insight.<br>
<br>
Eric Nodwell<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>
</blockquote></div><br></div></body></html>