libboost_system-mt.so.1.50.0: could not read symbols(solved)

libboost_system-mt.so.1.50.0: could not read symbols(solved)

Postby nana03435 » 21 Jan 2013, 17:55

Hi *,

When I compiled in Fedora 18, there is an compiling error:

{l Code}: {l Select All Code}
$ ./waf
Waf: Entering directory `/home/bolan/lipsofsuna-0.6.0/.build'
[223/225] cxxprogram: .build/src/lipsofsuna/ai/ai-manager.c.0.o .build/src/lipsofsuna/ai/ai-path.c.0.o .build/src/lipsofsuna/ai/ai-sector.c.0.o .build/src/lipsofsuna/algorithm/algorithm-array.c.1.o .build/src/lipsofsuna/algorithm/algorithm-astar.c.1.o .build/src/lipsofsuna/algorithm/algorithm-bst.c.1.o .build/src/lipsofsuna/algorithm/algorithm-camera.c.1.o .build/src/lipsofsuna/algorithm/algorithm-list.c.1.o .build/src/lipsofsuna/algorithm/algorithm-memdic.c.1.o .build/src/lipsofsuna/algorithm/algorithm-octree.c.1.o .build/src/lipsofsuna/algorithm/algorithm-priority-queue.c.1.o .build/src/lipsofsuna/algorithm/algorithm-ptrdic.c.1.o .build/src/lipsofsuna/algorithm/algorithm-sectors.c.1.o .build/src/lipsofsuna/algorithm/algorithm-strdic.c.1.o .build/src/lipsofsuna/algorithm/algorithm-u32dic.c.1.o .build/src/lipsofsuna/archive/archive-packet.c.2.o .build/src/lipsofsuna/archive/archive-reader.c.2.o .build/src/lipsofsuna/archive/archive-tar.c.2.o .build/src/lipsofsuna/archive/archive-writer.c.2.o .build/src/lipsofsuna/callback/cal-callbacks.c.3.o .build/src/lipsofsuna/callback/cal-handle.c.3.o .build/src/lipsofsuna/callback/cal-marshal.c.3.o .build/src/lipsofsuna/engine/engine-model.c.4.o .build/src/lipsofsuna/engine/engine-object.c.4.o .build/src/lipsofsuna/engine/engine-sector.c.4.o .build/src/lipsofsuna/engine/engine.c.4.o .build/src/lipsofsuna/main/main-extension.c.5.o .build/src/lipsofsuna/main/main-message.c.5.o .build/src/lipsofsuna/main/main-program.c.5.o .build/src/lipsofsuna/main/main.c.5.o .build/src/lipsofsuna/math/math-unittest.c.6.o .build/src/lipsofsuna/math/math.c.6.o .build/src/lipsofsuna/model/model-animation.c.7.o .build/src/lipsofsuna/model/model-bone.c.7.o .build/src/lipsofsuna/model/model-builder-lod.c.7.o .build/src/lipsofsuna/model/model-builder.c.7.o .build/src/lipsofsuna/model/model-faces.c.7.o .build/src/lipsofsuna/model/model-hair.c.7.o .build/src/lipsofsuna/model/model-light.c.7.o .build/src/lipsofsuna/model/model-lod.c.7.o .build/src/lipsofsuna/model/model-material.c.7.o .build/src/lipsofsuna/model/model-node.c.7.o .build/src/lipsofsuna/model/model-particle-system.c.7.o .build/src/lipsofsuna/model/model-particle.c.7.o .build/src/lipsofsuna/model/model-pose-channel.c.7.o .build/src/lipsofsuna/model/model-pose.c.7.o .build/src/lipsofsuna/model/model-shape-key.c.7.o .build/src/lipsofsuna/model/model-shape.c.7.o .build/src/lipsofsuna/model/model-texture.c.7.o .build/src/lipsofsuna/model/model-weight-group.c.7.o .build/src/lipsofsuna/model/model.c.7.o .build/src/lipsofsuna/network/network.c.8.o .build/src/lipsofsuna/paths/paths.c.9.o .build/src/lipsofsuna/physics/physics-constraint.cpp.10.o .build/src/lipsofsuna/physics/physics-control-character.cpp.10.o .build/src/lipsofsuna/physics/physics-control-rigid.cpp.10.o .build/src/lipsofsuna/physics/physics-control-static.cpp.10.o .build/src/lipsofsuna/physics/physics-control-vehicle.cpp.10.o .build/src/lipsofsuna/physics/physics-control.cpp.10.o .build/src/lipsofsuna/physics/physics-dynamics-world.cpp.10.o .build/src/lipsofsuna/physics/physics-model.cpp.10.o .build/src/lipsofsuna/physics/physics-motion-state.cpp.10.o .build/src/lipsofsuna/physics/physics-object.cpp.10.o .build/src/lipsofsuna/physics/physics-shape.cpp.10.o .build/src/lipsofsuna/physics/physics-terrain-collision-algorithm.cpp.10.o .build/src/lipsofsuna/physics/physics-terrain.cpp.10.o .build/src/lipsofsuna/physics/physics.cpp.10.o .build/src/lipsofsuna/render/render-light.c.11.o .build/src/lipsofsuna/render/render-model.c.11.o .build/src/lipsofsuna/render/render-object.c.11.o .build/src/lipsofsuna/render/render-overlay.c.11.o .build/src/lipsofsuna/render/render.c.11.o .build/src/lipsofsuna/render/font/font-layout.c.12.o .build/src/lipsofsuna/render/font/font.cpp.13.o .build/src/lipsofsuna/render/image/image-dds.c.14.o .build/src/lipsofsuna/render/internal/render-message.c.15.o .build/src/lipsofsuna/render/internal/render-queue.c.15.o .build/src/lipsofsuna/render/internal/render-container.cpp.16.o .build/src/lipsofsuna/render/internal/render-entity-builder.cpp.16.o .build/src/lipsofsuna/render/internal/render-entity.cpp.16.o .build/src/lipsofsuna/render/internal/render-image-overlay.cpp.16.o .build/src/lipsofsuna/render/internal/render-light.cpp.16.o .build/src/lipsofsuna/render/internal/render-mesh-builder.cpp.16.o .build/src/lipsofsuna/render/internal/render-mesh-manager.cpp.16.o .build/src/lipsofsuna/render/internal/render-mesh.cpp.16.o .build/src/lipsofsuna/render/internal/render-model.cpp.16.o .build/src/lipsofsuna/render/internal/render-object.cpp.16.o .build/src/lipsofsuna/render/internal/render-overlay.cpp.16.o .build/src/lipsofsuna/render/internal/render-scaled-overlay.cpp.16.o .build/src/lipsofsuna/render/internal/render-terrain-material-generator.cpp.16.o .build/src/lipsofsuna/render/internal/render-tile-packer.cpp.16.o .build/src/lipsofsuna/render/internal/render-unique-id.cpp.16.o .build/src/lipsofsuna/render/internal/render.cpp.16.o .build/src/lipsofsuna/script/script-args.c.17.o .build/src/lipsofsuna/script/script-data.c.17.o .build/src/lipsofsuna/script/script-model.c.17.o .build/src/lipsofsuna/script/script-object.c.17.o .build/src/lipsofsuna/script/script-packet.c.17.o .build/src/lipsofsuna/script/script-program.c.17.o .build/src/lipsofsuna/script/script-quaternion.c.17.o .build/src/lipsofsuna/script/script-util.c.17.o .build/src/lipsofsuna/script/script-vector.c.17.o .build/src/lipsofsuna/script/script.c.17.o .build/src/lipsofsuna/sound/sound-manager.c.18.o .build/src/lipsofsuna/sound/sound-sample.c.18.o .build/src/lipsofsuna/sound/sound-source.c.18.o .build/src/lipsofsuna/sound/sound-system.c.18.o .build/src/lipsofsuna/system/system-async-call.c.19.o .build/src/lipsofsuna/system/system-directory.c.19.o .build/src/lipsofsuna/system/system-endian.c.19.o .build/src/lipsofsuna/system/system-error.c.19.o .build/src/lipsofsuna/system/system-filesystem.c.19.o .build/src/lipsofsuna/system/system-memory.c.19.o .build/src/lipsofsuna/system/system-misc.c.19.o .build/src/lipsofsuna/system/system-mmap.c.19.o .build/src/lipsofsuna/system/system-module.c.19.o .build/src/lipsofsuna/system/system-mutex.c.19.o .build/src/lipsofsuna/system/system-notify.c.19.o .build/src/lipsofsuna/system/system-path.c.19.o .build/src/lipsofsuna/system/system-paths.c.19.o .build/src/lipsofsuna/system/system-relative.c.19.o .build/src/lipsofsuna/system/system-string.c.19.o .build/src/lipsofsuna/system/system-thread.c.19.o .build/src/lipsofsuna/system/system-time.c.19.o .build/src/lipsofsuna/system/system-types.c.19.o .build/src/lipsofsuna/system/system-user.c.19.o .build/src/lipsofsuna/system/system-utf8.c.19.o .build/src/lipsofsuna/system/system.c.19.o .build/src/lipsofsuna/voxel/voxel-block.c.20.o .build/src/lipsofsuna/voxel/voxel-build.c.20.o .build/src/lipsofsuna/voxel/voxel-hinting.c.20.o .build/src/lipsofsuna/voxel/voxel-manager.c.20.o .build/src/lipsofsuna/voxel/voxel-material.c.20.o .build/src/lipsofsuna/voxel/voxel-sector.c.20.o .build/src/lipsofsuna/voxel/voxel-triangulate.c.20.o .build/src/lipsofsuna/voxel/voxel-unittest.c.20.o .build/src/lipsofsuna/voxel/voxel.c.20.o .build/src/lipsofsuna/extension/ai/ext-module.c.21.o .build/src/lipsofsuna/extension/ai/ext-script.c.21.o .build/src/lipsofsuna/extension/animation/ext-module.c.22.o .build/src/lipsofsuna/extension/animation/ext-script.c.22.o .build/src/lipsofsuna/extension/camera/ext-module.c.23.o .build/src/lipsofsuna/extension/camera/ext-script.c.23.o .build/src/lipsofsuna/extension/config-file/ext-module.c.24.o .build/src/lipsofsuna/extension/config-file/ext-script.c.24.o .build/src/lipsofsuna/extension/database/ext-module.c.25.o .build/src/lipsofsuna/extension/database/ext-script.c.25.o .build/src/lipsofsuna/extension/file/ext-module.c.26.o .build/src/lipsofsuna/extension/file/ext-script.c.26.o .build/src/lipsofsuna/extension/graphics/ext-module.c.27.o .build/src/lipsofsuna/extension/graphics/ext-script.c.27.o .build/src/lipsofsuna/extension/heightmap/heightmap.c.28.o .build/src/lipsofsuna/extension/heightmap/module.c.28.o .build/src/lipsofsuna/extension/heightmap/script.c.28.o .build/src/lipsofsuna/extension/heightmap-physics/heightfield-terrain-shape.cpp.29.o .build/src/lipsofsuna/extension/heightmap-physics/module.cpp.29.o .build/src/lipsofsuna/extension/heightmap-render/script.c.30.o .build/src/lipsofsuna/extension/heightmap-render/heightmap.cpp.31.o .build/src/lipsofsuna/extension/heightmap-render/module.cpp.31.o .build/src/lipsofsuna/extension/image/image.c.32.o .build/src/lipsofsuna/extension/image/module.c.32.o .build/src/lipsofsuna/extension/image/script.c.32.o .build/src/lipsofsuna/extension/image/image-compress.cpp.33.o .build/src/lipsofsuna/extension/input/input-script.c.34.o .build/src/lipsofsuna/extension/input/input-system.cpp.35.o .build/src/lipsofsuna/extension/input/input.cpp.35.o .build/src/lipsofsuna/extension/lobby/ext-module.c.36.o .build/src/lipsofsuna/extension/lobby/ext-script.c.36.o .build/src/lipsofsuna/extension/model-editing/ext-module.c.37.o .build/src/lipsofsuna/extension/model-editing/ext-script.c.37.o .build/src/lipsofsuna/extension/network/ext-client.c.38.o .build/src/lipsofsuna/extension/network/ext-module.c.38.o .build/src/lipsofsuna/extension/network/ext-script.c.38.o .build/src/lipsofsuna/extension/noise/ext-module.c.39.o .build/src/lipsofsuna/extension/noise/ext-script.c.39.o .build/src/lipsofsuna/extension/object-physics/ext-module.c.40.o .build/src/lipsofsuna/extension/object-physics/ext-script.c.40.o .build/src/lipsofsuna/extension/object-render/ext-module.c.41.o .build/src/lipsofsuna/extension/object-render/ext-script.c.41.o .build/src/lipsofsuna/extension/password/ext-module.c.42.o .build/src/lipsofsuna/extension/password/ext-script.c.42.o .build/src/lipsofsuna/extension/password/pbkdf2.c.42.o .build/src/lipsofsuna/extension/password/sha1.c.42.o .build/src/lipsofsuna/extension/physics/ext-module.c.43.o .build/src/lipsofsuna/extension/physics/ext-script.c.43.o .build/src/lipsofsuna/extension/reload/ext-reload.c.44.o .build/src/lipsofsuna/extension/reload/ext-script.c.44.o .build/src/lipsofsuna/extension/render/ext-light.c.45.o .build/src/lipsofsuna/extension/render/ext-model.c.45.o .build/src/lipsofsuna/extension/render/ext-module.c.45.o .build/src/lipsofsuna/extension/render/ext-render.c.45.o .build/src/lipsofsuna/extension/skeleton/module.c.46.o .build/src/lipsofsuna/extension/skeleton/script.c.46.o .build/src/lipsofsuna/extension/sound/ext-module.c.47.o .build/src/lipsofsuna/extension/sound/ext-script.c.47.o .build/src/lipsofsuna/extension/string/module.c.48.o .build/src/lipsofsuna/extension/string/script.c.48.o .build/src/lipsofsuna/extension/thread/ext-module.c.49.o .build/src/lipsofsuna/extension/thread/ext-script.c.49.o .build/src/lipsofsuna/extension/thread/ext-thread.c.49.o .build/src/lipsofsuna/extension/tiles/ext-material.c.50.o .build/src/lipsofsuna/extension/tiles/ext-module.c.50.o .build/src/lipsofsuna/extension/tiles/ext-script.c.50.o .build/src/lipsofsuna/extension/tiles-physics/ext-module.c.51.o .build/src/lipsofsuna/extension/tiles-render/ext-block.c.52.o .build/src/lipsofsuna/extension/tiles-render/ext-build-task.c.52.o .build/src/lipsofsuna/extension/tiles-render/ext-module.c.52.o .build/src/lipsofsuna/extension/time/module.c.53.o .build/src/lipsofsuna/extension/time/script.c.53.o .build/src/lipsofsuna/extension/vision/ext-module.c.54.o .build/src/lipsofsuna/extension/vision/ext-script.c.54.o .build/src/lipsofsuna/extension/vision/ext-vision-listener.c.54.o .build/src/lipsofsuna/extension/watchdog/ext-module.c.55.o .build/src/lipsofsuna/extension/watchdog/ext-script.c.55.o .build/src/lipsofsuna/extension/widgets/ext-module.c.56.o .build/src/lipsofsuna/extension/widgets/ext-script.c.56.o .build/src/lipsofsuna/extension/widgets/ext-widget.c.56.o .build/src/lipsofsuna/extension/widgets/widget-element.c.56.o .build/src/lipsofsuna/extension/widgets/widget-manager.c.56.o .build/src/lipsofsuna/extension/widgets/widget.c.56.o .build/src/lipsofsuna/extension/wireframe/ext-module.c.57.o .build/src/lipsofsuna/extension/wireframe/ext-script.c.57.o -> .build/lipsofsuna
/usr/bin/ld: src/lipsofsuna/render/font/font.cpp.13.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
/usr/bin/ld: note: '_ZN5boost6system15system_categoryEv' is defined in DSO /lib64/libboost_system-mt.so.1.50.0 so try adding it to the linker command line
/lib64/libboost_system-mt.so.1.50.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/home/bolan/lipsofsuna-0.6.0/.build'
Build failed
 -> task failed (exit status 1):
   {task 15789584: cxxprogram ai-manager.c.0.o,ai-path.c.0.o,ai-sector.c.0.o,algorithm-array.c.1.o,algorithm-astar.c.1.o,algorithm-bst.c.1.o,algorithm-camera.c.1.o,algorithm-list.c.1.o,algorithm-memdic.c.1.o,algorithm-octree.c.1.o,algorithm-priority-queue.c.1.o,algorithm-ptrdic.c.1.o,algorithm-sectors.c.1.o,algorithm-strdic.c.1.o,algorithm-u32dic.c.1.o,archive-packet.c.2.o,archive-reader.c.2.o,archive-tar.c.2.o,archive-writer.c.2.o,cal-callbacks.c.3.o,cal-handle.c.3.o,cal-marshal.c.3.o,engine-model.c.4.o,engine-object.c.4.o,engine-sector.c.4.o,engine.c.4.o,main-extension.c.5.o,main-message.c.5.o,main-program.c.5.o,main.c.5.o,math-unittest.c.6.o,math.c.6.o,model-animation.c.7.o,model-bone.c.7.o,model-builder-lod.c.7.o,model-builder.c.7.o,model-faces.c.7.o,model-hair.c.7.o,model-light.c.7.o,model-lod.c.7.o,model-material.c.7.o,model-node.c.7.o,model-particle-system.c.7.o,model-particle.c.7.o,model-pose-channel.c.7.o,model-pose.c.7.o,model-shape-key.c.7.o,model-shape.c.7.o,model-texture.c.7.o,model-weight-group.c.7.o,model.c.7.o,network.c.8.o,paths.c.9.o,physics-constraint.cpp.10.o,physics-control-character.cpp.10.o,physics-control-rigid.cpp.10.o,physics-control-static.cpp.10.o,physics-control-vehicle.cpp.10.o,physics-control.cpp.10.o,physics-dynamics-world.cpp.10.o,physics-model.cpp.10.o,physics-motion-state.cpp.10.o,physics-object.cpp.10.o,physics-shape.cpp.10.o,physics-terrain-collision-algorithm.cpp.10.o,physics-terrain.cpp.10.o,physics.cpp.10.o,render-light.c.11.o,render-model.c.11.o,render-object.c.11.o,render-overlay.c.11.o,render.c.11.o,font-layout.c.12.o,font.cpp.13.o,image-dds.c.14.o,render-message.c.15.o,render-queue.c.15.o,render-container.cpp.16.o,render-entity-builder.cpp.16.o,render-entity.cpp.16.o,render-image-overlay.cpp.16.o,render-light.cpp.16.o,render-mesh-builder.cpp.16.o,render-mesh-manager.cpp.16.o,render-mesh.cpp.16.o,render-model.cpp.16.o,render-object.cpp.16.o,render-overlay.cpp.16.o,render-scaled-overlay.cpp.16.o,render-terrain-material-generator.cpp.16.o,render-tile-packer.cpp.16.o,render-unique-id.cpp.16.o,render.cpp.16.o,script-args.c.17.o,script-data.c.17.o,script-model.c.17.o,script-object.c.17.o,script-packet.c.17.o,script-program.c.17.o,script-quaternion.c.17.o,script-util.c.17.o,script-vector.c.17.o,script.c.17.o,sound-manager.c.18.o,sound-sample.c.18.o,sound-source.c.18.o,sound-system.c.18.o,system-async-call.c.19.o,system-directory.c.19.o,system-endian.c.19.o,system-error.c.19.o,system-filesystem.c.19.o,system-memory.c.19.o,system-misc.c.19.o,system-mmap.c.19.o,system-module.c.19.o,system-mutex.c.19.o,system-notify.c.19.o,system-path.c.19.o,system-paths.c.19.o,system-relative.c.19.o,system-string.c.19.o,system-thread.c.19.o,system-time.c.19.o,system-types.c.19.o,system-user.c.19.o,system-utf8.c.19.o,system.c.19.o,voxel-block.c.20.o,voxel-build.c.20.o,voxel-hinting.c.20.o,voxel-manager.c.20.o,voxel-material.c.20.o,voxel-sector.c.20.o,voxel-triangulate.c.20.o,voxel-unittest.c.20.o,voxel.c.20.o,ext-module.c.21.o,ext-script.c.21.o,ext-module.c.22.o,ext-script.c.22.o,ext-module.c.23.o,ext-script.c.23.o,ext-module.c.24.o,ext-script.c.24.o,ext-module.c.25.o,ext-script.c.25.o,ext-module.c.26.o,ext-script.c.26.o,ext-module.c.27.o,ext-script.c.27.o,heightmap.c.28.o,module.c.28.o,script.c.28.o,heightfield-terrain-shape.cpp.29.o,module.cpp.29.o,script.c.30.o,heightmap.cpp.31.o,module.cpp.31.o,image.c.32.o,module.c.32.o,script.c.32.o,image-compress.cpp.33.o,input-script.c.34.o,input-system.cpp.35.o,input.cpp.35.o,ext-module.c.36.o,ext-script.c.36.o,ext-module.c.37.o,ext-script.c.37.o,ext-client.c.38.o,ext-module.c.38.o,ext-script.c.38.o,ext-module.c.39.o,ext-script.c.39.o,ext-module.c.40.o,ext-script.c.40.o,ext-module.c.41.o,ext-script.c.41.o,ext-module.c.42.o,ext-script.c.42.o,pbkdf2.c.42.o,sha1.c.42.o,ext-module.c.43.o,ext-script.c.43.o,ext-reload.c.44.o,ext-script.c.44.o,ext-light.c.45.o,ext-model.c.45.o,ext-module.c.45.o,ext-render.c.45.o,module.c.46.o,script.c.46.o,ext-module.c.47.o,ext-script.c.47.o,module.c.48.o,script.c.48.o,ext-module.c.49.o,ext-script.c.49.o,ext-thread.c.49.o,ext-material.c.50.o,ext-module.c.50.o,ext-script.c.50.o,ext-module.c.51.o,ext-block.c.52.o,ext-build-task.c.52.o,ext-module.c.52.o,module.c.53.o,script.c.53.o,ext-module.c.54.o,ext-script.c.54.o,ext-vision-listener.c.54.o,ext-module.c.55.o,ext-script.c.55.o,ext-module.c.56.o,ext-script.c.56.o,ext-widget.c.56.o,widget-element.c.56.o,widget-manager.c.56.o,widget.c.56.o,ext-module.c.57.o,ext-script.c.57.o -> lipsofsuna}


Cause the bullet-2.81 is not compatible with the game, I compile bullet-2.78 manually. However, this error seems not related to bullet. But I don't understand much about that.

Thank you for your good work.
Last edited by nana03435 on 22 Jan 2013, 23:25, edited 1 time in total.
nana03435
 
Posts: 9
Joined: 09 Jun 2012, 22:47

Re: libboost_system-mt.so.1.50.0: could not read symbols

Postby amuzen » 22 Jan 2013, 11:51

It sounds like your versions of Ogre and Boost that don't work together properly (i.e. this particular library is missing from the link flags of the pkg-config file of OGRE). I cannot test it myself because my distro isn't affected by this, but I think that you could work around it by configuring in the following way:

{l Code}: {l Select All Code}
LDFLAGS=-lboost_system-mt ./waf configure
./waf clean
./waf
User avatar
amuzen
LoS Moderator
 
Posts: 327
Joined: 05 Dec 2009, 02:49

Re: libboost_system-mt.so.1.50.0: could not read symbols

Postby nana03435 » 22 Jan 2013, 23:25

Well, after following your suggestion, the compiling process is good. So I think I can mark it "solved". But I open another post because it can't run.
nana03435
 
Posts: 9
Joined: 09 Jun 2012, 22:47

Who is online

Users browsing this forum: No registered users and 0 guests

cron