Error when I added "mysql_static.so"
#1

Hi, before this error, I've got some error, too.
Quote:

Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)

And then, I add "mysql_static.so"
It's fixed, but, another error is comming.
Quote:

*** Error in `./samp03svr': double free or corruption (fasttop): 0x0918c3d8 ***
======= Backtrace: =========
/lib/libc.so.6(+0x753bd)[0xf74ee3bd]
/lib/libstdc++.so.6(_ZdlPv+0x1f)[0xf76de97f]
/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1b )[0xf7745edb]
plugins/mysql_static.so(_ZN12CMySQLHandleD1Ev+0x371)[0xf7134f71]
plugins/mysql_static.so(_ZN11CMySQLQuery13ProcessQueryTEv+ 0x4e4)[0xf714a054]
plugins/mysql_static.so(_ZN5boost6detail11thread_dataIPFvv EE3runEv+0xf)[0xf714ae8f]
plugins/mysql_static.so(+0xffe0[0xf71dae08]
/lib/libpthread.so.0(+0x6b2c)[0xf7788b2c]
/lib/libc.so.6(clone+0x5e)[0xf757008e]
======= Memory map: ========
08048000-08095000 r-xp 00000000 08:01 136069 /root/samp03/samp03svr
08095000-08097000 rwxp 0004d000 08:01 136069 /root/samp03/samp03svr
08097000-080a9000 r-xp 0004f000 08:01 136069 /root/samp03/samp03svr
080a9000-080ab000 rwxp 00061000 08:01 136069 /root/samp03/samp03svr
080ab000-08180000 r-xp 00063000 08:01 136069 /root/samp03/samp03svr
08180000-081a2000 rw-p 00138000 08:01 136069 /root/samp03/samp03svr
081a2000-081cd000 rw-p 00000000 00:00 0
088f2000-08915000 rw-p 00000000 00:00 0 [heap]
08915000-08916000 rwxp 00000000 00:00 0 [heap]
08916000-0944e000 rw-p 00000000 00:00 0 [heap]
ec188000-f0633000 rw-p 00000000 00:00 0
f0633000-f0634000 ---p 00000000 00:00 0
f0634000-f5c00000 rw-p 00000000 00:00 0
f5c00000-f5c21000 rw-p 00000000 00:00 0
f5c21000-f5d00000 ---p 00000000 00:00 0
f5ddd000-f5dff000 rw-p 00000000 00:00 0
f5dff000-f5e00000 ---p 00000000 00:00 0
f5e00000-f6600000 rw-p 00000000 00:00 0 [stack:963]
f6600000-f6621000 rw-p 00000000 00:00 0
f6621000-f6700000 ---p 00000000 00:00 0
f670b000-f673c000 rw-p 00000000 00:00 0
f673c000-f6751000 r-xp 00000000 08:01 19773 /usr/lib/libresolv-2.17.so
f6751000-f6752000 ---p 00015000 08:01 19773 /usr/lib/libresolv-2.17.so
f6752000-f6753000 r--p 00015000 08:01 19773 /usr/lib/libresolv-2.17.so
f6753000-f6754000 rw-p 00016000 08:01 19773 /usr/lib/libresolv-2.17.so
f6754000-f6756000 rw-p 00000000 00:00 0
f6756000-f675b000 r-xp 00000000 08:01 19668 /usr/lib/libnss_dns-2.17.so
f675b000-f675c000 r--p 00004000 08:01 19668 /usr/lib/libnss_dns-2.17.so
f675c000-f675d000 rw-p 00005000 08:01 19668 /usr/lib/libnss_dns-2.17.so
f675d000-f6768000 r-xp 00000000 08:01 19693 /usr/lib/libnss_files-2.17.so
f6768000-f6769000 r--p 0000a000 08:01 19693 /usr/lib/libnss_files-2.17.so
f6769000-f676a000 rw-p 0000b000 08:01 19693 /usr/lib/libnss_files-2.17.so
f676a000-f6770000 rw-p 00000000 00:00 0
f6776000-f679d000 rw-p 00000000 00:00 0
f679d000-f683b000 r-xp 00000000 08:01 136061 /root/samp03/plugins/streamer.so
f683b000-f683d000 rw-p 0009d000 08:01 136061 /root/samp03/plugins/streamer.so
f683d000-f68da000 rw-p 00000000 00:00 0
f68da000-f68db000 ---p 00000000 00:00 0
f68db000-f70db000 rw-p 00000000 00:00 0 [stack:961]
f70db000-f72c5000 r-xp 00000000 08:01 136052 /root/samp03/plugins/mysql_static.so
f72c5000-f72fd000 rw-p 001ea000 08:01 136052 /root/samp03/plugins/mysql_static.so
f72fd000-f7437000 rw-p 00000000 00:00 0
f7437000-f743d000 r-xp 00000000 08:01 136057 /root/samp03/plugins/smssender.so
f743d000-f743e000 r--p 00005000 08:01 136057 /root/samp03/plugins/smssender.so
f743e000-f743f000 rw-p 00006000 08:01 136057 /root/samp03/plugins/smssender.so
f743f000-f7448000 r-xp 00000000 08:01 136063 /root/samp03/plugins/Whirlpool.so
f7448000-f7449000 rw-p 00008000 08:01 136063 /root/samp03/plugins/Whirlpool.so
f7449000-f7450000 r-xp 00000000 08:01 19803 /usr/lib/librt-2.17.so
f7450000-f7451000 r--p 00006000 08:01 19803 /usr/lib/librt-2.17.so
f7451000-f7452000 rw-p 00007000 08:01 19803 /usr/lib/librt-2.17.so
f7456000-f7458000 rw-p 00000000 00:00 0
f7458000-f7464000 r-xp 00000000 08:01 136045 /root/samp03/plugins/fixes2.so
f7464000-f7465000 r--p 0000b000 08:01 136045 /root/samp03/plugins/fixes2.so
f7465000-f7466000 rw-p 0000c000 08:01 136045 /root/samp03/plugins/fixes2.so
f7466000-f7475000 r-xp 00000000 08:01 136059 /root/samp03/plugins/sscanf.so
f7475000-f7476000 rw-p 0000e000 08:01 136059 /root/samp03/plugins/sscanf.so
f7476000-f7479000 rw-p 00000000 00:00 0
f7479000-f7630000 r-xp 00000000 08:01 14112 /usr/lib/libc-2.17.so
f7630000-f7631000 ---p 001b7000 08:01 14112 /usr/lib/libc-2.17.so
f7631000-f7633000 r--p 001b7000 08:01 14112 /usr/lib/libc-2.17.so
f7633000-f7634000 rw-p 001b9000 08:01 14112 /usr/lib/libc-2.17.so
f7634000-f7637000 rw-p 00000000 00:00 0
f7637000-f7650000 r-xp 00000000 08:01 12255 /usr/lib/libgcc_s-4.8.5-20150702.so.1
f7650000-f7651000 r--p 00018000 08:01 12255 /usr/lib/libgcc_s-4.8.5-20150702.so.1
f7651000-f7652000 rw-p 00019000 08:01 12255 /usr/lib/libgcc_s-4.8.5-20150702.so.1
f7652000-f7653000 rw-p 00000000 00:00 0
f7653000-f7694000 r-xp 00000000 08:01 14789 /usr/lib/libm-2.17.so
f7694000-f7695000 r--p 00040000 08:01 14789 /usr/lib/libm-2.17.so
f7695000-f7696000 rw-p 00041000 08:01 14789 /usr/lib/libm-2.17.so
f7696000-f7775000 r-xp 00000000 08:01 21266 /usr/lib/libstdc++.so.6.0.19
f7775000-f777a000 r--p 000df000 08:01 21266 /usr/lib/libstdc++.so.6.0.19
f777a000-f777b000 rw-p 000e4000 08:01 21266 /usr/lib/libstdc++.so.6.0.19
f777b000-f7782000 rw-p 00000000 00:00 0
f7782000-f7799000 r-xp 00000000 08:01 19768

I'll give some rep for someone who can help me, help me please..
Reply
#2

Can you show me your server.cfg?
Reply
#3

yum install libstdc++.so.6
yum install libmysqlclient_r.so.16
Reply
#4

Quote:
Originally Posted by Astralis
Посмотреть сообщение
yum install libstdc++.so.6
yum install libmysqlclient_r.so.16
Код:
Loaded plugins: fastestmirror
atomic                                                                                                                                          | 3.4 kB  00:00:00
base                                                                                                                                            | 3.6 kB  00:00:00
epel/x86_64/metalink                                                                                                                            | 7.1 kB  00:00:00
extras                                                                                                                                          | 3.4 kB  00:00:00
mysql-connectors-community                                                                                                                      | 2.5 kB  00:00:00
mysql-tools-community                                                                                                                           | 2.5 kB  00:00:00
mysql57-community                                                                                                                               | 2.5 kB  00:00:00
updates                                                                                                                                         | 3.4 kB  00:00:00
Loading mirror speeds from cached hostfile
 * atomic: mirrors.hosting.in.th
 * epel: repo.ugm.ac.id
Package libstdc++-4.8.5-11.el7.i686 already installed and latest version
Nothing to do
[root@andriibnu02 ~]# yum install libmysqlclient_r.so.16
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * atomic: mirror1.34sp.com
 * epel: fedora.dionipe.id
No package libmysqlclient_r.so.16 available.
Error: Nothing to do
I can't do this one, why?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)