Closed ryzom-pipeline closed 11 years ago
Original comment by Cédric Ochs (Bitbucket: [Cédric OCHS](https://bitbucket.org/Cédric OCHS), ).
We already had this problem in the past, libxmlparse.so.0 is from libwww and your OpenGL driver is linked to libexpat that define the same symbols. You have to recompile libwww to use external expat library, the same as your OpenGL driver or to compile libwww in full static.
Original comment by Jorge Araya Navarro (Bitbucket: [Jorge Araya Navarro](https://bitbucket.org/Jorge Araya Navarro), ).
I have some issues compiling libwww. Is There any other workaround?
Original comment by Cédric Ochs (Bitbucket: [Cédric OCHS](https://bitbucket.org/Cédric OCHS), ).
Did you use ./configure and make ?
Original comment by Jorge Araya Navarro (Bitbucket: [Jorge Araya Navarro](https://bitbucket.org/Jorge Araya Navarro), ).
of course I did!!
But libwww
is a package already provided in our repositories, thus, I tried to built a static version of it using the sources from the W3, but it seems to have some issues with newer versions of gcc.
I just changed the source code with the yours, and everything went well :). The next step is to build ryzom using that libwww built.
EDIT: Something went wrong while building Ryzom and seems related to your libwww:
[ 46%] Building CXX object nel/src/gui/CMakeFiles/nelgui.dir/ctrl_scroll_base.cpp.o
Linking CXX shared library ../../../lib/libnelgui.so
/usr/bin/ld: /usr/local/lib/libwwwapp.a(HTAccess.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libwwwapp.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libnelgui.so.0.9.0] Error 1
make[1]: *** [nel/src/gui/CMakeFiles/nelgui.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: (libremakepkg): An error has occurred. Exiting...
jorge [~/packages/abslibre/pcr/ryzom-hg-debug] ~>
I compiled and packaged your libwww version with these options:
./autogen.sh
./configure --prefix=/usr/local \
--with-ssl=no --with-zlib --with-expat --with-gnu-ld \
--enable-shared=no --enable-static
make
May I did something wrong?
Original comment by Jorge Araya Navarro (Bitbucket: [Jorge Araya Navarro](https://bitbucket.org/Jorge Araya Navarro), ).
fixed, libwww fork of @kervala does magic :D
But, I'll appreciate a better way of packaging Ryzom that does use the already provided software and libs :)
Original report by Jorge Araya Navarro (Bitbucket: [Jorge Araya Navarro](https://bitbucket.org/Jorge Araya Navarro), ).
I compiled ryzom, just the client, but when I try to run
ryzom_client
it just crashes. Here is some debug that I did using GDB:this is what
ldd
says:My CMake options were:
We do a source code snapshot when packaging software from distributed version control like mercurial or git and so, so here is the source code snapshot used to build Ryzom.
The dependencies and build dependencies were these: