Mathias, besides your thread about this, I found this one:

http://mail.kde.org/pipermail/kde-buildsystem/2007-May/thread.html#3819

on a kde mailing list.  This thread says that CMake should not generate 
-L/usr/lib64, and mentions changes being made for CMake 2.4.7.  But I found a 
release candidate dated after this thread and tried it, and still got 
-L/usr/lib64.  I see that one person said they had added a 
CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES that is supposed to list libraries to 
not emit.  I'll try that, too.  I thought /usr/lib64 was already on that list, 
but I may not understand it yet.

<tried it--not sure I'm setting that variable correctly>
I now don't have -L/usr/lib64 in my command lines, but ldd still lists 
libstdc++.so.5 for all the libraries except OpenThreads.

Hmmm.

andy

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mathias Froehlich
Sent: Wednesday, July 11, 2007 3:45 AM
To: osg users
Subject: Re: [osg-users] /usr/lib64 in build?

On Tuesday 10 July 2007 16:33, Robert Osfield wrote:
> On 7/10/07, Andy Skinner <[EMAIL PROTECTED]> wrote:
> > I am setting linker and compiler flags.  I don't know anything about
> > cmake commands, so I guess I'm going to have to learn more about cmake
> > itself.
>
> You should be able to change the lib postfix by running ccmake . and
> then pressing 't' to toggle on advanced options, the scroll down the
> LIB_POSTFIX, this will probably say "64" on your 64 bit machine so
> just set to to "" instead, then press 'c' to configure. then 'g' to
> write out.
>
> Or on the command line doing something like:
>
> cmake . -DCMAKE_BUILD_TYPE=Release -DLIB_POSTFIX=""
Well that changes the osg build system where osg wants to place the libraries. 
So far so good. But that one does not change the paths where FIND_LIBRARY 
looks for the existance of libraries and where the linker paths will point 
to...

I am fileing that feature request from the given mail thread today ...

     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/

Reply via email to