Bill Hoffman wrote:
I think you have added /usr/local/lib to ld.conf on your system.

Hmm...

/etc/ld.so.conf.d$ ll
total 48
-rw-r--r-- 1 root root 24 Nov 27  2006 glib-2.0-i386.conf
-rw-r--r-- 1 root root 15 Jul  6  2006 local.conf
-rw-r--r-- 1 root root 15 May 12  2005 mysql-i386.conf
-rw-r--r-- 1 root root 15 Nov 23  2004 mysqlclient10-i386.conf
-rw-r--r-- 1 root root 20 Nov 24  2004 qt-i386.conf
-rw-r--r-- 1 root root 15 May 13  2005 xorg-x11-i386.conf

...maybe.

Still surprises me, though. At any rate, this is broken for users that do such a thing, so I guess the only "real" solution is to parse both LD_LIBRARY_PATH (or LIBPATH, or SHLIB_PATH, depending on the platform) and ld.so.conf so that CMake's behavior matches the system's behavior. That, or somehow use ldd?

--
Matthew
So, an astrophysicist, a quantum physicist, and an astrologer walk into a bar...

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to