ok.... i am now building, or trying to build, OSG 1.1.1-rc1 on FC5 -
x86_64. Not having the same problem as with SuSE 10.1 -64, but when try
to build OSG, I get errors such as this:
gmake[4]: Entering directory =20
`/home/OSG/OSG_1_1_1/OSG_OP_OT-1.1.1-rc1/OpenSceneGraph/src/osgPlugins/freetype/Linux64.Opt'
g++ -O2 -W -Wall -fPIC -pipe -I../../../../include `freetype-config --cflags`
-c ../FreeTypeLibrary.cpp
g++ -O2 -W -Wall -fPIC -pipe -I../../../../include `freetype-config --cflags`
-c ../FreeTypeFont.cpp
g++ -O2 -W -Wall -fPIC -pipe -I../../../../include `freetype-config --cflags`
-c ../ReaderWriterFreeType.cpp
g++ -O2 -L/usr/X11R6/lib64 -L../../../../lib/Linux64 -shared FreeTypeLibrary.o FreeTypeFont.o ReaderWriterFreeType.o -lstdc++ -losgText -losgGA -losgDB -losgUtil -losg `freetype-config --libs`
-lOpenThreads -o osgdb_freetype.so
/usr/bin/ld: /usr/local/lib/libz.a(inflate.o): relocation R_X86_64_32S against
`a local symbol' can not be used when making a shared object; recompile with
-fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
gmake[4]: *** [osgdb_freetype.so] Error 1
gmake[4]: Leaving directory =20
`/home/OSG/OSG_1_1_1/OSG_OP_OT-1.1.1-rc1/OpenSceneGraph/src/osgPlugi=
ns/freetype/Linux64.Opt'
gmake[3]: *** [osgdb_freetype.so.opt] Error 2
gmake[3]: Leaving directory =20
`/home/OSG/OSG_1_1_1/OSG_OP_OT-1.1.1-rc1/OpenSceneGraph/src/osgPlugins/freetype'
gmake[2]: *** [default] Error 1
gmake[2]: Leaving directory =20
`/home/OSG/OSG_1_1_1/OSG_OP_OT-1.1.1-rc1/OpenSceneGraph/src/osgPlugi=
ns'
gmake[1]: *** [default] Error 1
gmake[1]: Leaving directory =20
`/home/OSG/OSG_1_1_1/OSG_OP_OT-1.1.1-rc1/OpenSceneGraph/src'
gmake: *** [default] Error 1
I assume that I need to build all the dependencies using ARCH=64. Correct?
I also assume that I need to build OSG/OT/OP using ARCH=64. Correct?
Ed
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/