Thanks. Did setting CMAKE_LIBRARY_PATH help you? 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.)
thanks, andy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mathias Froehlich Sent: Tuesday, July 10, 2007 9:40 AM To: osg users Subject: Re: [osg-users] /usr/lib64 in build? On Tuesday 10 July 2007 15:33, Andy Skinner wrote: > We've got a similar situation on linux that we did on solaris-we're > building our product with a different compiler than the one installed as > the default for the computers. That's fine (but odd) for normal work, > where we build in a certain environment that sets up everything we need. > But 3rd party and test programs can be a pain to compile with the same > setup. > > > > I'm still working on getting our makefile to give CMake all it needs to > build everything correctly. My latest problem is on Linux with 64 bits. > Something is putting "-L /usr/lib64" into the makefiles. I don't see it > in CMakeCache.txt. Where does it come from? > > > > Is there a way to override it? We need to get libraries from elsewhere. That one seems to be hardcoded in cmake. I am currently doing the same on hp-ux for 64 bit builds. see that thread http://www.cmake.org/pipermail/cmake/2007-July/014983.html for help and a pending feature request. 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/ _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/