Guest Posted January 27, 2006 Share Posted January 27, 2006 Hi I have 1 dedicated server and when i want to install MTA SA i have a problem This message: ./mta_server: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory But i have read wikihelp, create startserver etc and don't run You have a suggestion ? Thanks, Vincent Link to comment
Jani Posted January 28, 2006 Share Posted January 28, 2006 Checking for xerces-c The MTA:SA R1.0 Dedicated server for Linux requires Apache's Xerces-C++ XML Parsing library (called xerces-c or libxerces-c in Linux world). This is a library that takes care of the XML (race file) parsing. If you have a regular server or a default Linux installation, it is likely that you do not have the xerces-c library installed. You will need to have the following on your server: root access development tools: Autoconf (!), GNU Make, GCC and G++ First you need to check if you have the correct version installed, which is xerces-c 2.7. $ ls -l /usr/lib/libxerces* $ ls -l /usr/local/lib/libxerces* It should give you results like the ones below. If you have a libxerces-c.so.27 file, you have the xerces-c 2.7 library installed. lrwxrwxrwx 1 root root 17 2006-01-20 21:48 /usr/lib/libxerces-c.so -> libxerces-c.so.27 lrwxrwxrwx 1 root root 19 2006-01-20 21:48 /usr/lib/libxerces-c.so.27 -> libxerces-c.so.27.0 -rw-r--r-- 1 root root 3844436 2005-11-05 21:06 /usr/lib/libxerces-c.so.27.0 If xerces-c 2.7 wasn't found, you can go on. Otherwise, you can safely skip all the xerces-c related steps. [edit]Installing xerces-c The instructions given below are instructions based on the original Build Instructions. They worked at the time of writing. There are two ways of installing xerces-c: by using a binary release or compiling a source release. I will only explain how to compile a source release, since the binary releases are probably not even compatible with your server. Get the xerces-c-src_2_7_0.tar.gz source distribution and unpack it somewhere. It can be found in the Master distribution directory or otherwise in the Download archive. (Please replace /root with any location you like.) $ cd /root $ wget http://www.apache.org/dist/xml/xerces-c ... 7_0.tar.gz $ tar zxvf xerces-c-src_2_7_0.tar.gz Now you will have to set a variable. I will assume you're on a normal /bin/bash shell. (Please point the path to the location where you just unpacked xerces-c.) $ export XERCESCROOT=/root/xerces-c-src_2_7_0 You will now have to run some configure commands. This should work just fine if you're on a Linux machine with all the required development tools installed (see above). $ cd $XERCESCROOT/src/xercesc $ autoconf $ ./runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tnative -rpthread $ make $ make install $ make clean This is the compiling process, so it will output a lot of development stuff. You don't have to look at it, except when it goes wrong. It shouldn't go wrong, but if it does in any case, check out the original Build Instructions. If your system complains about make not being a valid command, try gmake instead. After the compiling process is completed, the libxerces-c 2.7 library should be installed. Link to comment
Guest Posted January 28, 2006 Share Posted January 28, 2006 Yes i have already installed but he don't run Link to comment
MTA Team Blokker_1999 Posted January 28, 2006 MTA Team Share Posted January 28, 2006 what is your gcc version and is it the same as the compiled server you downloaded? Link to comment
Guest Posted January 28, 2006 Share Posted January 28, 2006 No is 2.96 You have a page for How to install easy and fast ? Is it for Rehat 7.2 Thanks Link to comment
Recommended Posts