Jump to content
  • 0
mihaamiharu

Can't Start ./athena-start

Question

I just recompiled my server and it was successfull.
But when i want to start the server it show error like this.

checking...
Check complete.
Looks like a good, nice rAthena!
Logging is disabled
./login-server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./login-server)
Server 'login-server' started at 02-17-06:03-18
Server 'char-server' started at 02-17-06:03-18
./char-server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./char-server)
./char-server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./char-server)
./map-server: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./map-server)
./map-server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./map-server)
./map-server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./map-server)
Server 'map-server' started at 02-17-06:03-18
rAthena was started.



--------------------------------------------------------------------------------------------------------------------
I've compiled with different way.

1. ./configure > then make clean > then make server
2. ./configure --with-pcre && make clean && make server
3. ./configure --enable-64bit --with-MYSQL_LIBS=/usr/lib64/libmysqlclient.so && make clean && make server
4. even i enable scl enable devtoolset-7 bash before compiling.

But the result are still same.

My GCC Version is up to date

gcc (GCC) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

My server using CentOS 7


--------------------------------------------------------------------------------------------------------------------
I can run the server with exporting library .

export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/local/lib64:/usr/lib64




But how to start server normally after compiling?
Without export the library path

Edited by mihaamiharu
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Solved


--- This problem caused by  ----
My server have GLIBCXX version 19 on /usr/lib64/

even tough i have GLIBCXX version 25 on /usr/local/lib64/
So i need to compile newer version of gcc to my default gcc (not local) /lib64/libstdc++.so.6 version to 25.

 

 

// Here's how i do it.

#Change directory to local/lib64

cd /usr/local/lib64

 

#Copy newest libstdcc version to /usr/lib64
cp libstdc++.so.6.0.25 /usr/lib64/

 

#Change directory to /usr/lib64/
cd /usr/lib64/

 

#moving old libstdc++ running on my server.
mv libstdc++.so.6 libstdc++.so.6.OLD

 

#Setting newest GLIBCXX version to running
ln -sf libstdc++.so.6.0.25 libstdc++.so.6

 

 

 

Edited by mihaamiharu
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.