On Thursday, 6. February 2014, 13:30:54, Ramin Kamal wrote:
> Thanks! I tried that, but it still finds the system library. Here's my test
> setup:

I tried with basically the same steps, and it works for me.

> 
> % cd /usr/lib
> % cp libjpeg.* /tmp/myjpeg/lib/
> [...]
> -- Found JPEG: /usr/lib64/libjpeg.so
> *path is /usr/lib64/libjpeg.so*

I see that you are using the libjpeg.so from /usr/lib for your /tmp/myjpeg 
directory, but the system libjpeg is in /usr/lib64. Could it be that the 
libjpeg in your custom directory is just not compatible? Does the problem 
appear even when you are copying the libjpeg.so from lib64 instead?

Cheers,
  Johannes

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to