Hi, On Tuesday 10 July 2007 15:58, Andy Skinner wrote: > Thanks. Did setting CMAKE_LIBRARY_PATH help you? On hp-ux it helped me to find the pa20_64 libs. The downside is that I need to tell cmake all paths where it finds the libraries ... That variable appears to extend the FIND_LIBRARY cmake command.
> It does not help me, > because although I set that, it still adds -L/usr/lib64 to the link > command, and seems to find that one and not the one I'm trying to get. (I > want libstdc++.so.6, but am getting libstdc++.so.5.) So you have a custom built new gcc on an old linux system? May be you need to find something to extend your linker flags with CMAKE. I don't know that by heart how this is called. May be something like LDFLAGS or LINK_FLAGS will help here ... Greetings Mathias -- Dr. Mathias Fröhlich, science + computing ag, Software Solutions Hagellocher Weg 71-75, D-72070 Tuebingen, Germany Phone: +49 7071 9457-268, Fax: +49 7071 9457-511 -- Vorstand/Board of Management: Dr. Bernd Finkbeiner, Dr. Florian Geyer, Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Prof. Dr. Hanns Ruder Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196 _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/