Talk:OpenSceneGraph: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(about lib64)
 
No edit summary
Line 1: Line 1:
; Cause of the argument:
On 64bit operating systems OpenSceneGraph does have the strange behavior to install into lib64 instead of lib. To get rid of that edit the file CMakeLists.txt in the OSG source directory as shown:
  sed 's|SET(LIB_POSTFIX "64" CACHE|SET(LIB_POSTFIX "" CACHE|' -i CMakeLists.txt
Hi Thorsten,
Hi Thorsten,


Line 14: Line 21:
Anyhow, this doesn't cover Windows systems, I have no idea how it is handled there. I will edit the text respectively.
Anyhow, this doesn't cover Windows systems, I have no idea how it is handled there. I will edit the text respectively.


--[[User:Flughund|Flughund]] 21:21, 17 November 2011 (EST)
--[[User:Flughund|Flughund]] 21:46, 17 November 2011 (EST)

Revision as of 02:46, 18 November 2011

Cause of the argument

On 64bit operating systems OpenSceneGraph does have the strange behavior to install into lib64 instead of lib. To get rid of that edit the file CMakeLists.txt in the OSG source directory as shown:

 sed 's|SET(LIB_POSTFIX "64" CACHE|SET(LIB_POSTFIX "" CACHE|' -i CMakeLists.txt


Hi Thorsten,

to my knowledge the native libs should go into lib. Therefore, on a 64bit system, the self compiled 64bit libraries should be installed to lib and not lib64. Non-native libraries, like 32bit ones for compatibility reasons, should go into lib32. This impression of mine seems to be supported by the Filesystem Hierarchy Standard, if I understand it correctly:

   /lib : Essential shared libraries and kernel modules

       Purpose
       Requirements
       Specific Options

   /lib<qual> : Alternate format essential shared libraries (optional)

On Debian it is handled the same way, there is no lib64 anywhere on amd64.

Anyhow, this doesn't cover Windows systems, I have no idea how it is handled there. I will edit the text respectively.

--Flughund 21:46, 17 November 2011 (EST)