Author Topic: [(p) fixed] undefined symbol: _ZN11xercesc_2_86XMLUni15fgDOMValidationE  (Read 1727 times)

Vido89

  • Daemon
  • Posts: 7
    • View Profile
I have a similar problem
Fedora 13 (Goddard) 32bit version
Nvidia 8800gt and latest driver
I installed MGlest from MG3.4.0 i386.run
Code: [Select]
[vido@localhost ~]$ megaglest/glest
gamedir [/home/vido/megaglest]
Looking for LDCONFIG []...
LDCONFIG environment variable is not set...
Found LDCONFIG using which [/sbin/ldconfig]...
Detected Fedora...
default library [/home/vido/megaglest/lib/libopenal.so.0] was found in [/usr/lib/libopenal.so.0]
default library [/home/vido/megaglest/lib/libdirectfb-1.0.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/vido/megaglest/lib/libfusion-1.0.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/vido/megaglest/lib/libdirect-1.0.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/vido/megaglest/lib/libjpeg.so.62] was found in [/usr/lib/libjpeg.so.62]
default library [/home/vido/megaglest/lib/libpng12.so.0] was found in [/usr/lib/libpng12.so.0]
default library [/home/vido/megaglest/lib/libcurl-gnutls.so.4] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libcurl.so.4] pointed to from [/home/vido/megaglest/lib/libcurl-gnutls.so.4]
default library [/home/vido/megaglest/lib/libxerces-c.so.28] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libxerces-c-3.0.so] pointed to from [/home/vido/megaglest/lib/libxerces-c.so.28]
./bin/glest.bin: /usr/lib/liblber-2.4.so.2: no version information available (required by ./bin/glest.bin)
./bin/glest.bin: /usr/lib/libldap_r-2.4.so.2: no version information available (required by ./bin/glest.bin)
./bin/glest.bin: symbol lookup error: ./bin/glest.bin: undefined symbol: _ZN11xercesc_2_86XMLUni15fgDOMValidationE

I have installed openal and i changed this

Code: [Select]
ColorBits=16
ScreenHeight=600
ScreenWidth=800

but I have the same error
When I run any command

glest --version
glest --opengl-info
glest

get this info from above not found


titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
undefined symbol: _ZN11xercesc_2_86XMLUni15fgDOMValidationE
« Reply #1 on: 5 March 2011, 10:40:54 »
There must be something wrong with our libxerces detection....
Your system has libxerces 3.0 installed but megaglest needs libxerces 2.8 .
Try to install libxerces 2.8 too and replace the link in the libs pointing to the 3.0 version with a link pointing to the 2.8 version.
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Gabbe

  • Guest
undefined symbol: _ZN11xercesc_2_86XMLUni15fgDOMValidationE
« Reply #2 on: 5 March 2011, 11:39:01 »
And report back if it worked :)

Vido89

  • Daemon
  • Posts: 7
    • View Profile
undefined symbol: _ZN11xercesc_2_86XMLUni15fgDOMValidationE
« Reply #3 on: 5 March 2011, 12:16:32 »
I deleted xerces 3.0 but I deleted the old Glest 3.2.2. : (but never mind I have installed xerces 2.8 ... I started the game successfully but there was a problem
with an error about sound, I tried to solve and did this
https://forum.megaglest.org/index.php?topic=5233.0
but now I have a new error .... I wonder if I'll ever run this game

Code: [Select]
[vido@localhost ~]$ megaglest/glest
gamedir [/home/vido/megaglest]
Looking for LDCONFIG []...
LDCONFIG environment variable is not set...
Found LDCONFIG using which [/sbin/ldconfig]...
Detected Fedora...
default library [/home/vido/megaglest/lib/libopenal.so.0] was found in [/usr/lib/libopenal.so.0]
default library [/home/vido/megaglest/lib/libdirectfb-1.0.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/vido/megaglest/lib/libfusion-1.0.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/vido/megaglest/lib/libdirect-1.0.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/vido/megaglest/lib/libjpeg.so.62] was found in [/usr/lib/libjpeg.so.62]
default library [/home/vido/megaglest/lib/libpng12.so.0] was found in [/usr/lib/libpng12.so.0]
default library [/home/vido/megaglest/lib/libcurl-gnutls.so.4] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libcurl.so.4] pointed to from [/home/vido/megaglest/lib/libcurl-gnutls.so.4]
default library [/home/vido/megaglest/lib/libxerces-c.so.28] was found in [/usr/lib/libxerces-c.so.28]
./bin/glest.bin: /usr/lib/liblber-2.4.so.2: no version information available (required by ./bin/glest.bin)
./bin/glest.bin: /usr/lib/libldap_r-2.4.so.2: no version information available (required by ./bin/glest.bin)
v3.4.0-GNUC: 40204-Feb  1 2011 23:00:26, SVN: [Rev: 1688]
******************************************************
    #2 An error occurred and MegaGlest will close.
Error msg = [Error opening log fileglest.log
Stack Trace:
./bin/glest.bin:Glest::Game::glestMain(int, char**) address [0x8196bd5] line: 1749
./bin/glest.bin:main() address [0x8197bed] line: 1804
/lib/libc.so.6:__libc_start_main() address [0x91bcc6] line: 0
./bin/glest.bin() [0x80c5b11] address [0x80c5b11] line: 0
]

Please report this bug to contact@megaglest.org
******************************************************
pure virtual method called
terminate called without an active exception
megaglest/glest: line 181:  7105 Aborted                 (core dumped) ./bin/glest.bin $@


If i run megaglest/glest as root a got this

Code: [Select]
[root@localhost vido]# megaglest/glest
gamedir [/home/vido/megaglest]
Looking for LDCONFIG []...
LDCONFIG environment variable is not set...
Found LDCONFIG using which [/sbin/ldconfig]...
Detected Fedora...
default library [/home/vido/megaglest/lib/libopenal.so.0] was found in [/usr/lib/libopenal.so.0]
default library [/home/vido/megaglest/lib/libdirectfb-1.0.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/vido/megaglest/lib/libfusion-1.0.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/vido/megaglest/lib/libdirect-1.0.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/vido/megaglest/lib/libjpeg.so.62] was found in [/usr/lib/libjpeg.so.62]
default library [/home/vido/megaglest/lib/libpng12.so.0] was found in [/usr/lib/libpng12.so.0]
default library [/home/vido/megaglest/lib/libcurl-gnutls.so.4] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libcurl.so.4] pointed to from [/home/vido/megaglest/lib/libcurl-gnutls.so.4]
default library [/home/vido/megaglest/lib/libxerces-c.so.28] was found in [/usr/lib/libxerces-c.so.28]
./bin/glest.bin: /usr/lib/liblber-2.4.so.2: no version information available (required by ./bin/glest.bin)
./bin/glest.bin: /usr/lib/libldap_r-2.4.so.2: no version information available (required by ./bin/glest.bin)
ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused

v3.4.0-GNUC: 40204-Feb  1 2011 23:00:26, SVN: [Rev: 1688]
open /dev/[sound/]dsp: Invalid argument
OpenAL Vendor: J. Valenzuela
OpenAL Version: 0.0.8
OpenAL Renderer: Software
OpenAl Extensions: Software
OpenAL Vendor: J. Valenzuela
OpenAL Version: 0.0.8
OpenAL Renderer: Software
OpenAl Extensions: Software
[2011-03-05 13:32:29] *ERROR* Font not found [-*-arial-*-r-*-*-12-*-*-*-*-*-*-*] trying to fallback to [fixed]
[2011-03-05 13:32:29] *ERROR* Font not found [-*-arial-*-r-*-*-12-*-*-*-*-*-*-*] trying to fallback to [fixed]
[2011-03-05 13:32:29] *ERROR* Font not found [-*-arial-*-r-*-*-13-*-*-*-*-*-*-*] trying to fallback to [fixed]
[2011-03-05 13:32:29] *ERROR* Font not found [-*-arial-*-r-*-*-15-*-*-*-*-*-*-*] trying to fallback to [fixed]
[2011-03-05 13:32:29] *ERROR* Font not found [-*-arial-*-r-*-*-18-*-*-*-*-*-*-*] trying to fallback to [fixed]
[2011-03-05 13:32:29] *ERROR* Font not found [-*-arial-*-r-*-*-16-*-*-*-*-*-*-*] trying to fallback to [fixed]
[2011-03-05 13:32:29] *ERROR* In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/sound/openal/sound_player_openal.cpp::init Line: 359] Error [Couldn't open audio device.]


do you also have a couple of mistakes from the beginning of the log
I hope there's a solution for this )
« Last Edit: 5 March 2011, 12:34:20 by Vido89 »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: undefined symbol: _ZN11xercesc_2_86XMLUni15fgDOMValidationE
« Reply #4 on: 5 March 2011, 19:00:34 »
Please send the file "core" in the megaglest directory to contact_at_megaglest_d0t_org or upload it somewhere and post a link here.

And this means that root cannot connect to your sound daemon (pulseaudio):
Quote from: Vido89
ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused

I'm not sure whether root needs to be able to do so, but please ensure that your own user is able to do so. Otherwise this would indicate that something is wrong with your audio configuration. Does audio playback work flawlessly with other applications when you run them as your non-privileged (own) user?
« Last Edit: 5 March 2011, 19:36:13 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: undefined symbol: _ZN11xercesc_2_86XMLUni15fgDOMValidationE
« Reply #5 on: 5 March 2011, 19:28:23 »
Somehow looks like your pulse audio is not working right:

Code: [Select]
ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused
Please post debug.log and also if you can core file. Upload to mediafire.com or something like that

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: undefined symbol: _ZN11xercesc_2_86XMLUni15fgDOMValidationE
« Reply #6 on: 5 March 2011, 19:34:03 »
Questions/info:

1. With user did install glest? Its meant to be installed as normal user!
2. If you once tried to run it as root maybe it created created the logfile with root rights. There is really no need to run this as root!
3. Judging from the error message your system has problems with sound:
ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused
It wants to use PulseAudio, but alsa cannot connect to it.

4. The errors with fonts look suspicios too! Why does he try to find fonts with  [-*-arial-*-r-*-*-12-*-*-*-*-*-*-*]  ?
We don't use arial in linux we use helvetica! Where did you get your glest.ini from? Is it the one which was installed with the installer?
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Vido89

  • Daemon
  • Posts: 7
    • View Profile
Re: undefined symbol: _ZN11xercesc_2_86XMLUni15fgDOMValidationE
« Reply #7 on: 6 March 2011, 01:26:05 »
After a fresh installation of Fedora and updates I installed Enemy Territory and True Combat elite but the audio did not work
so I installed oss alsa plugin and some OSS packages, removed the comment from / etc / modprobe.d / dist-oss.conf
Code: [Select]
install snd-pcm / sbin / modprobe - ignore-install snd-pcm & & / sbin / modprobe snd-pcm-oss & & / sbin / modprobe snd-seq-device & & / sbin / modprobe snd-seq-oss
and this
Code: [Select]
echo "et.x86 0 0 direct"> / proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable"> / proc/asound/card0/pcm0c/oss
But my / proc / asound looks like this

/ Proc/asound/card0/pcm0c /

/ Proc/asound/card1/pcm0c
/ Proc/asound/card1/pcm0p
/ Proc/asound/card1/pcm1p
/ Proc/asound/card1/pcm2c

/ Proc / asound / Intel
/ Proc / asound / oss
/ Proc / asound / seq

but after restarting the computer (by pressing the button) appeared / proc/asound/card0/pcm0p and sound in ET and TCE was ok, when I restart the computer normally "reboot" no directory "pcm0p" eg / proc / asound / card0/pcm0p and so once it has sometimes gone: (

I sent / megaglest / data / core via email
Music is ok movieplayer, rhythmbox, flightgear, warzone2100
How exactly can I determine that my user can access the audio pulse
Could not find the debug.log ... how to create this:)

1. Glest I installed myself as user "vido" ... not root
2. Yes I started the game as root a few times and it was a lock file with the sign "locked"
3. And so it seems to me .... whether it would be painless to reinstall pulse to change things back to factory settings
4. Last glest.ini was from updates fixed_data-3.4.0.7z

Now I reinstall megaglest, I installed it as a "user" megaglest-3.4.0.run 213mb error after running as a user ("user" I do not have root privileges, ordinary user)

Code: [Select]
[Vido @ localhost ~] $ megaglest / Glest
gamedir [/ home / vido / megaglest]
Looking for ldconfig []...
Ldconfig environment variable is not set ...
Found using ldconfig, which [/ sbin / ldconfig] ...
Detected Fedora ...
cp: can not stat `lib_bkp / libcurl * ': No such file or directory
default library [/ home/vido/megaglest/lib/libopenal.so.0] was found in [/ usr/lib/libopenal.so.0]
default library [/ home/vido/megaglest/lib/libdirectfb-1.0.so.0] is missing, attempting to find and link to a newer version if available ...
default library [/ home/vido/megaglest/lib/libfusion-1.0.so.0] is missing, attempting to find and link to a newer version if available ...
default library [/ home/vido/megaglest/lib/libdirect-1.0.so.0] is missing, attempting to find and link to a newer version if available ...
default library [/ home/vido/megaglest/lib/libjpeg.so.62] was found in [/ usr/lib/libjpeg.so.62]
default library [/ home/vido/megaglest/lib/libpng12.so.0] was found in [/ usr/lib/libpng12.so.0]
default library [/ home/vido/megaglest/lib/libcurl-gnutls.so.4] is missing, attempting to find and link to a newer version if available ...
new library link [/ usr/lib/libcurl.so.4] pointed to from [/ home/vido/megaglest/lib/libcurl-gnutls.so.4]
default library [/ home/vido/megaglest/lib/libxerces-c.so.28] was found in [/ usr/lib/libxerces-c.so.28]
. / Bin / glest.bin: / usr/lib/liblber-2.4.so.2: no version information available (required by. / Bin / glest.bin)
. / Bin / glest.bin: / usr/lib/libldap_r-2.4.so.2: no version information available (required by. / Bin / glest.bin)
v3.4.0-GNUC: 40204-2011 23:00:26 Feb 1, SVN: [Rev.: 1688]
open / dev / [sound /] dsp: Invalid argument
OpenAL Vendor: J. Valenzuela
OpenAL Version: 0.0.8
OpenAL Renderer: Software
OpenAL Extensions: Software
OpenAL Vendor: J. Valenzuela
OpenAL Version: 0.0.8
OpenAL Renderer: Software
OpenAL Extensions: Software
[2011-03-06 02:10:31] * ERROR * Font not found [-*- helvetica-*- r-*-*- 10 -*-*-*-*-*-*-*] trying to fallback to [fixed]
[2011-03-06 02:10:31] * ERROR * Font not found [-*- helvetica-*- r-*-*- 10 -*-*-*-*-*-*-*] trying to fallback to [fixed]
[2011-03-06 02:10:31] * ERROR * Font not found [-*- helvetica-*- r-*-*- 10 -*-*-*-*-*-*-*] trying to fallback to [fixed]
[2011-03-06 02:10:31] * ERROR * Font not found [-*- helvetica-*- r-*-*- 15 -*-*-*-*-*-*-*] trying to fallback to [fixed]
[2011-03-06 02:10:31] * ERROR * Font not found [-*- helvetica-*- r-*-*- 18 -*-*-*-*-*-*-*] trying to fallback to [fixed]
[2011-03-06 02:10:31] * ERROR * Font not found [-*- helvetica-*- r-*-*- 13 -*-*-*-*-*-*-*] trying to fallback to [fixed]
[2011-03-06 02:10:31] * ERROR * In [/ home / softcoder / Code / megaglest / trunk / source / shared_lib / sources / Sound / OpenAL / sound_player_openal.cpp:: init Line: 359] Error [ Could not open audio device.]


titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: undefined symbol: _ZN11xercesc_2_86XMLUni15fgDOMValidationE
« Reply #8 on: 6 March 2011, 01:30:08 »
Yes you still have sound trouble on your system  :( .
You must get Alsa working, otherwise glest will not work.
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

 

anything