My problem may be similar to :
http://www.ogre3d.org/phpBB2/viewtopic. ... rary+error
I am running RedHat Enterprise Linux on a AMD64 machine. I have the latest DevIL, SDL, libpng, etc. Everything seemed to compile OK, but I can't get any of the samples to work.
Here's a sample output:
[root@ssa1 bin]# ./Bezier
Creating resource group General
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
Loading library libOgrePlatform.so
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
DevIL version: Developer's Image Library (DevIL) 1.6.7 Feb 18 2005
DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw
Registering ResourceManager for type HighLevelGpuProgram
Loading library /usr/local/lib/OGRE/RenderSystem_GL.so
OpenGL Rendering Subsystem created.
Loading library /usr/local/lib/OGRE/Plugin_ParticleFX.so
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Loading library /usr/local/lib/OGRE/Plugin_BSPSceneManager.so
Registering ResourceManager for type BspLevel
Loading library /usr/local/lib/OGRE/Plugin_OctreeSceneManager.so
TerrainSceneManager: Registered a new PageSource for type Heightmap
Loading library /usr/local/lib/OGRE/Plugin_CgProgramManager.so
*-*-* OGRE Initialising
*-*-* Version 1.0.0 (Azathoth)
Creating resource group Bootstrap
Added resource location '../../Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
Added resource location '../../Media' of type 'FileSystem' to resource group 'General'
Added resource location '../../Media/fonts' of type 'FileSystem' to resource group 'General'
Added resource location '../../Media/materials/programs' of type 'FileSystem' to resource group 'General'
Added resource location '../../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
Added resource location '../../Media/materials/textures' of type 'FileSystem' to resource group 'General'
Added resource location '../../Media/models' of type 'FileSystem' to resource group 'General'
Added resource location '../../Media/overlays' of type 'FileSystem' to resource group 'General'
Added resource location '../../Media/particle' of type 'FileSystem' to resource group 'General'
Added resource location '../../Media/gui' of type 'FileSystem' to resource group 'General'
Added resource location '../../Media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
Added resource location '../../Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
Added resource location '../../Media/packs/dragon.zip' of type 'Zip' to resource group 'General'
Added resource location '../../Media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
Added resource location '../../Media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
Added resource location '../../Media/packs/skybox.zip' of type 'Zip' to resource group 'General'
OGRE Configuration
------------------
Select Renderer:
1) OpenGL Rendering Subsystem
1
FSAA:
--> 1) 0
2) 2
3) 4
4) 6
1
Full Screen:
--> 1) Yes
2) No
1
Video Mode:
--> 1) 3200 x 1200
2) 2560 x 1024
1
******************************
*** Starting SDL Subsystem ***
******************************
GLRenderSystem::createRenderWindow "OGRE Render Window", 3200x1200 fullscreen miscParams: FSAA=0 title=OGRE Render Window
GL_VERSION = 1.5.1 NVIDIA 60.96
GL_VENDOR = NVIDIA Corporation
GL_RENDERER = Quadro FX 3000/AGP/SSE2
GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_shared_texture_palette GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_vertex_array GL_HP_occlusion_test GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
***************************
*** GL Renderer Started ***
***************************
Registering ResourceManager for type GpuProgram
GLSL support detected
RenderSystem capabilities
-------------------------
* Hardware generation of mipmaps: yes
* Texture blending: yes
* Anisotropic texture filtering: yes
* Dot product texture operation: yes
* Cube mapping: yes
* Hardware stencil buffer: yes
- Stencil depth: 8
- Two sided stencil support: yes
- Wrap stencil values: yes
* Hardware vertex / index buffers: yes
* Vertex programs: yes
- Max vertex program version: arbvp1
* Fragment programs: yes
- Max fragment program version: arbfp1
* Texture Compression: yes
- DXT: yes
- VTC: yes
* Scissor Rectangle: yes
* Hardware Occlusion Query: yes
* User clip planes: yes
* VET_UBYTE4 vertex element type: yes
* Infinite far plane projection: yes
* Hardware render-to-texture: no
* Floating point textures: no
* Non-power-of-two textures: no
* Volume textures: yes
Registering ResourceManager for type Texture
ResourceBackgroundQueue - threading disabled
Particle Renderer Type 'billboard' registered
Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 3200 H: 1200
Parsing scripts for resource group Bootstrap
Parsing script OgreCore.material
Parsing script OgreProfiler.material
Parsing script Ogre.fontdef
Parsing script OgreDebugPanel.overlay
Error loading texture New_Ogre_Border_Center.png. Texture layer will be blank. Loading the texture failed with the following exception: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 0
Function: png library error
Description: IL Error.
File: OgreILImageCodec.cpp
Line: 123
Stack unwinding: (..)
<- ILImageCodec::decode(..) <- Image::load(..) <- <<beginning of stack>>
Error loading texture New_Ogre_Border.png. Texture layer will be blank. Loading the texture failed with the following exception: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 0
Function: png library error
Description: IL Error.
File: OgreILImageCodec.cpp
Line: 123
Stack unwinding: (..)
<- ILImageCodec::decode(..) <- Image::load(..) <- <<beginning of stack>>
Error loading texture New_Ogre_Border_Break.png. Texture layer will be blank. Loading the texture failed with the following exception: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 0
Function: png library error
Description: IL Error.
File: OgreILImageCodec.cpp
Line: 123
Stack unwinding: (..)
<- ILImageCodec::decode(..) <- Image::load(..) <- <<beginning of stack>>
Font TrebuchetMSBoldusing texture size 512x512
Info: Freetype returned null for character 160 in font TrebuchetMSBold
Texture: TrebuchetMSBoldTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
Error loading texture New_Ogre_Logo.png. Texture layer will be blank. Loading the texture failed with the following exception: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 0
Function: png library error
Description: IL Error.
File: OgreILImageCodec.cpp
Line: 123
Stack unwinding: (..)
<- ILImageCodec::decode(..) <- Image::load(..) <- <<beginning of stack>>
Parsing script OgreLoadingPanel.overlay
Finished parsing scripts for resource group Bootstrap
Parsing scripts for resource group General
Parsing script Examples.program
Parsing script Example-DynTex.material
Parsing script Example-Water.material
Parsing script Example.material
Parsing script Examples-Advanced.material
Error in material Examples/BumpMapping/SingleLight at line 124 of Examples-Advanced.material: Invalid param_named_auto attribute - An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: GpuProgramParameters::getParamIndex
Description: Cannot find a parameter named eyePosition.
File: OgreGpuProgram.cpp
Line: 449
Stack unwinding: (..)
<- ILImageCodec::decode(..) <- Image::load(..) <- <<beginning of stack>>
Error in material Examples/BumpMapping/SingleLight at line 167 of Examples-Advanced.material: Invalid param_named_auto attribute - An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: GpuProgramParameters::getParamIndex
Description: Cannot find a parameter named eyePosition.
File: OgreGpuProgram.cpp
Line: 449
Stack unwinding: (..)
<- ILImageCodec::decode(..) <- Image::load(..) <- <<beginning of stack>>
Error in material Examples/BumpMapping/MultiLight at line 240 of Examples-Advanced.material: Invalid param_named_auto attribute - An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: GpuProgramParameters::getParamIndex
Description: Cannot find a parameter named eyePosition.
File: OgreGpuProgram.cpp
Line: 449
Stack unwinding: (..)
<- ILImageCodec::decode(..) <- Image::load(..) <- <<beginning of stack>>
Error in material Examples/BumpMapping/MultiLight at line 330 of Examples-Advanced.material: Invalid param_named_auto attribute - An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: GpuProgramParameters::getParamIndex
Description: Cannot find a parameter named eyePosition.
File: OgreGpuProgram.cpp
Line: 449
Stack unwinding: (..) <-
<- ILImageCodec::decode(..) <- Image::load(..) <- <<beginning of stack>>
Error in material Examples/BumpMapping/MultiLightSpecular at line 515 of Examples-Advanced.material: Invalid param_named_auto attribute - An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: GpuProgramParameters::getParamIndex
Description: Cannot find a parameter named eyePosition.
File: OgreGpuProgram.cpp
Line: 449
Stack unwinding: (..)
<- ILImageCodec::decode(..) <- Image::load(..) <- <<beginning of stack>>
Error in material Examples/Athene/NormalMapped at line 799 of Examples-Advanced.material: Invalid param_named_auto attribute - An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: GpuProgramParameters::getParamIndex
Description: Cannot find a parameter named eyePosition.
File: OgreGpuProgram.cpp
Line: 449
Stack unwinding: <<beginning of stack>>
Error in material Examples/Athene/NormalMapped at line 889 of Examples-Advanced.material: Invalid param_named_auto attribute - An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: GpuProgramParameters::getParamIndex
Description: Cannot find a parameter named eyePosition.
File: OgreGpuProgram.cpp
Line: 449
Stack unwinding: (..)
- <- ILImageCodec::decode(..) <- Image::load(..) <- <<beginning of stack>>
Error in material Examples/Athene/NormalMappedSpecular at line 1095 of Examples-Advanced.material: Invalid param_named_auto attribute - An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: GpuProgramParameters::getParamIndex
Description: Cannot find a parameter named eyePosition.
File: OgreGpuProgram.cpp
Line: 449
Stack unwinding: (..)
<- <- <- ILImageCodec::decode(..) <- Image::load(..) <- <<beginning of stack>>
Parsing script Ogre.material
Parsing script OffsetMapping.material
Parsing script RZR-002.material
Parsing script smoke.material
Parsing script fresnelenviron.material
Parsing script sample.fontdef
Bad attribute line: glyph 0.152344 0.125 0.160156 0.1875 in font Ogre
Parsing script Example-Water.particle
Parsing script Example.particle
Parsing script smoke.particle
An exception has occured: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 0
Function: png library error
Description: IL Error.
File: OgreILImageCodec.cpp
Line: 123
Stack unwinding: (..)
<- <- ILImageCodec::decode(..) <- Image::load(..) <- <<beginning of stack>>*-*-* OGRE Shutdown
Unregistering ResourceManager for type Font
Unregistering ResourceManager for type Skeleton
Unregistering ResourceManager for type Mesh
Unregistering ResourceManager for type HighLevelGpuProgram
Unloading library /usr/local/lib/OGRE/Plugin_CgProgramManager.so
Unloading library /usr/local/lib/OGRE/Plugin_OctreeSceneManager.so
Unregistering ResourceManager for type BspLevel
Unloading library /usr/local/lib/OGRE/Plugin_BSPSceneManager.so
Unloading library /usr/local/lib/OGRE/Plugin_ParticleFX.so
Render Target 'OGRE Render Window' Average FPS: 0 Best FPS: 0 Worst FPS: 999
Unregistering ResourceManager for type GpuProgram
******************************
*** Stopping SDL Subsystem ***
******************************
Unregistering ResourceManager for type Texture
Unloading library /usr/local/lib/OGRE/RenderSystem_GL.so
Unregistering ResourceManager for type Material
Unloading library libOgrePlatform.so
Samples don't work on RedHat AMD64
- LordMyth
- Gremlin
- Posts: 181
- Joined: Thu Jan 06, 2005 10:19 pm
- Location: Belgium
- Contact:
The problem lies here I think:
So try to get the latest pnglib or so...
Code: Select all
Parsing script smoke.particle
An exception has occured: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 0
Function: png library error
Description: IL Error.
File: OgreILImageCodec.cpp
Line: 123Have a kiss from me!
Gentoo Linux on AMD64 3200+
NForce4 Chipset
Dual Channel DDR 2x512MB
PCX 16 GeForce 6600 256MB
Gentoo Linux on AMD64 3200+
NForce4 Chipset
Dual Channel DDR 2x512MB
PCX 16 GeForce 6600 256MB
- _mental_
- OGRE Retired Team Member

- Posts: 419
- Joined: Mon Jan 27, 2003 11:51 pm
- Location: The Woodlands, TX
- Contact:
Take a look at this thread which deals with this issue in depth. http://www.ogre3d.org/phpBB2/viewtopic. ... 4&start=50
Its a problem in DevIL, but can be fixed either by modifying DevIL as mentioned in the thread, or by changing the definition of png_uint_32 from unsigned long to unsigned int.
From pngconf.h:
Its a problem in DevIL, but can be fixed either by modifying DevIL as mentioned in the thread, or by changing the definition of png_uint_32 from unsigned long to unsigned int.
From pngconf.h:
Code: Select all
/* Some typedefs to get us started. These should be safe on most of the
* common platforms. The typedefs should be at least as large as the
* numbers suggest (a png_uint_32 must be at least 32 bits long), but they
* don't have to be exactly that size. Some compilers dislike passing
* unsigned shorts as function parameters, so you may be better off using
* unsigned int for png_uint_16. Likewise, for 64-bit systems, you may
* want to have unsigned int for png_uint_32 instead of unsigned long.
*/
-
macraebr
- Gnoblar
- Posts: 3
- Joined: Thu Feb 24, 2005 6:22 pm
latest libpng
I installed the latest libpng (I think) - 1.2.8
But I may have another issue, I still have the old libpng installed. I have both the 1.2.8 version and the 1.2.2 version (1.2.2 was included as an RPM package with the RedHat installation).
Here are some of the things I see:
RPM query shows old libpng:
# rpm -q -a | grep libpng
libpng-1.2.2-16
libpng10-1.0.13-8
libpng-1.2.2-16
libpng-devel-1.2.2-16
The ldd command shows the samples are using both libpng.so3 (1.2.
and libpng.so.12(1.2.2):
# ldd ./Bezier
libOgreMain.so.4 => /usr/local/lib/libOgreMain.so.4 (0x0000002a9566b000)
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x0000002a95a3a000)
libzzip-0.so.10 => /usr/local/lib/libzzip-0.so.10 (0x0000002a95bc6000)
libCg.so => /usr/lib64/libCg.so (0x0000002a95ccc000)
libILU.so.1 => /usr/local/lib/libILU.so.1 (0x0000002a95fb7000)
libIL.so.1 => /usr/local/lib/libIL.so.1 (0x0000002a960ca000)
libpng.so.3 => /usr/local/lib/libpng.so.3 (0x0000002a962ca000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x0000002a963f7000)
libtiff.so.3 => /usr/lib64/libtiff.so.3 (0x0000002a96518000)
libz.so.1 => /usr/local/lib/libz.so.1 (0x0000002a96661000)
libSDL-1.2.so.0 => /usr/local/lib/libSDL-1.2.so.0 (0x0000002a96775000)
libartsc.so.0 => /usr/lib64/libartsc.so.0 (0x0000002a968f7000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000002a969fe000)
libX11.so.6 => /usr/X11R6/lib64/libX11.so.6 (0x0000002a96b01000)
libXext.so.6 => /usr/X11R6/lib64/libXext.so.6 (0x0000002a96cf4000)
libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000002a96e05000)
libstdc++.so.5 => /usr/lib64/libstdc++.so.5 (0x0000002a96f18000)
libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a970ec000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000002a97274000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a9737f000)
libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x0000002a975c3000)
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)
ldd shows libIL is using 1.2.2
# ldd /usr/local/lib/libIL.so.1
libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x0000002a95757000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x0000002a9587e000)
libtiff.so.3 => /usr/lib64/libtiff.so.3 (0x0000002a9599f000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95aff000)
libz.so.1 => /usr/lib64/libz.so.1 (0x0000002a95d44000)
libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a95e52000)
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)
Here are the depndencies of the older libpng:
# rpm -e libpng-1.2.2-16
error: "libpng-1.2.2-16" specifies multiple packages
error: Failed dependencies:
libpng12.so.0 is needed by (installed) cups-libs-1.1.17-13.3.6
libpng12.so.0 is needed by (installed) gtk2-2.2.4-4.0
So, here is the big question:
Can I safely uninstall the RPM version of libpng 1.2.2? I am rather new to linux. If I remove libpng 1.2.2 and rebuild DevIL & Ogre using 1.2.8, will the samples work? Or how can I rebuild DevIL and Ogre to only use 1.2.8 without destroying other dependencies on the older libpng version?
But I may have another issue, I still have the old libpng installed. I have both the 1.2.8 version and the 1.2.2 version (1.2.2 was included as an RPM package with the RedHat installation).
Here are some of the things I see:
RPM query shows old libpng:
# rpm -q -a | grep libpng
libpng-1.2.2-16
libpng10-1.0.13-8
libpng-1.2.2-16
libpng-devel-1.2.2-16
The ldd command shows the samples are using both libpng.so3 (1.2.
# ldd ./Bezier
libOgreMain.so.4 => /usr/local/lib/libOgreMain.so.4 (0x0000002a9566b000)
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x0000002a95a3a000)
libzzip-0.so.10 => /usr/local/lib/libzzip-0.so.10 (0x0000002a95bc6000)
libCg.so => /usr/lib64/libCg.so (0x0000002a95ccc000)
libILU.so.1 => /usr/local/lib/libILU.so.1 (0x0000002a95fb7000)
libIL.so.1 => /usr/local/lib/libIL.so.1 (0x0000002a960ca000)
libpng.so.3 => /usr/local/lib/libpng.so.3 (0x0000002a962ca000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x0000002a963f7000)
libtiff.so.3 => /usr/lib64/libtiff.so.3 (0x0000002a96518000)
libz.so.1 => /usr/local/lib/libz.so.1 (0x0000002a96661000)
libSDL-1.2.so.0 => /usr/local/lib/libSDL-1.2.so.0 (0x0000002a96775000)
libartsc.so.0 => /usr/lib64/libartsc.so.0 (0x0000002a968f7000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000002a969fe000)
libX11.so.6 => /usr/X11R6/lib64/libX11.so.6 (0x0000002a96b01000)
libXext.so.6 => /usr/X11R6/lib64/libXext.so.6 (0x0000002a96cf4000)
libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000002a96e05000)
libstdc++.so.5 => /usr/lib64/libstdc++.so.5 (0x0000002a96f18000)
libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a970ec000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000002a97274000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a9737f000)
libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x0000002a975c3000)
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)
ldd shows libIL is using 1.2.2
# ldd /usr/local/lib/libIL.so.1
libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x0000002a95757000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x0000002a9587e000)
libtiff.so.3 => /usr/lib64/libtiff.so.3 (0x0000002a9599f000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95aff000)
libz.so.1 => /usr/lib64/libz.so.1 (0x0000002a95d44000)
libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a95e52000)
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)
Here are the depndencies of the older libpng:
# rpm -e libpng-1.2.2-16
error: "libpng-1.2.2-16" specifies multiple packages
error: Failed dependencies:
libpng12.so.0 is needed by (installed) cups-libs-1.1.17-13.3.6
libpng12.so.0 is needed by (installed) gtk2-2.2.4-4.0
So, here is the big question:
Can I safely uninstall the RPM version of libpng 1.2.2? I am rather new to linux. If I remove libpng 1.2.2 and rebuild DevIL & Ogre using 1.2.8, will the samples work? Or how can I rebuild DevIL and Ogre to only use 1.2.8 without destroying other dependencies on the older libpng version?
-
macraebr
- Gnoblar
- Posts: 3
- Joined: Thu Feb 24, 2005 6:22 pm
Thanks, It's working now.
Thanks mental,
here's what I did:
1) removed libpng 1.2.2
2) changed long's to int's in pngconf.h
3) recompiled libpng, DevIL, and Ogre
here's what I did:
1) removed libpng 1.2.2
2) changed long's to int's in pngconf.h
3) recompiled libpng, DevIL, and Ogre
- _mental_
- OGRE Retired Team Member

- Posts: 419
- Joined: Mon Jan 27, 2003 11:51 pm
- Location: The Woodlands, TX
- Contact: