<div dir="ltr">That was it! Great stuff! Thank you for the help Johannes and Rolf!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 6, 2014 at 12:46 PM, Johannes Zarl <span dir="ltr"><<a href="mailto:johannes.zarl@jku.at" target="_blank">johannes.zarl@jku.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thursday, 6. February 2014, 13:30:54, Ramin Kamal wrote:<br>
> Thanks! I tried that, but it still finds the system library. Here's my test<br>
> setup:<br>
<br>
</div>I tried with basically the same steps, and it works for me.<br>
<div class="im"><br>
><br>
> % cd /usr/lib<br>
> % cp libjpeg.* /tmp/myjpeg/lib/<br>
</div>> [...]<br>
> -- Found JPEG: /usr/lib64/libjpeg.so<br>
> *path is /usr/lib64/libjpeg.so*<br>
<br>
I see that you are using the libjpeg.so from /usr/lib for your /tmp/myjpeg<br>
directory, but the system libjpeg is in /usr/lib64. Could it be that the<br>
libjpeg in your custom directory is just not compatible? Does the problem<br>
appear even when you are copying the libjpeg.so from lib64 instead?<br>
<br>
Cheers,<br>
  Johannes<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/training.html</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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br></div>