SA-MP Forums Archive
[Off] erro ao ligar server linux - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Off] erro ao ligar server linux (/showthread.php?tid=618004)



erro ao ligar server linux - BHTMestre - 29.09.2016

galera
tб dando esse erro aqui.
como eu arrumo ?
Код:
./samp03svr: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
@edit

a vps й ubuntu +14


Re: erro ao ligar server linux - connork - 29.09.2016

Tente instalar com os comandos:
Код:
apt-get install libstdc++6 libstdc++.so.6 -y



Re: erro ao ligar server linux - BHTMestre - 29.09.2016

Quote:
Originally Posted by connork
Посмотреть сообщение
Tente instalar com os comandos:
Код:
apt-get install libstdc++6 libstdc++.so.6 -y
Код:
root@sv:~# apt-get install libstdc++6 libstdc++.so.6 -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libstdc++.so.6
E: Couldn't find any package by regex 'libstdc++.so.6'
root@sv:~#
Код:
root@sv:~/cache$ ./samp03svr: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

[1]+  Exit 127                ./samp03svr
deu no msm


Re: erro ao ligar server linux - Dayvison_ - 29.09.2016

apt-get update
dps o comando que connork disse


Re: erro ao ligar server linux - BHTMestre - 29.09.2016

Quote:
Originally Posted by Day_
Посмотреть сообщение
apt-get update
dps o comando que connork disse
Quote:

root@SERVER:/home/kali/cache# ./samp03svr &
[1] 20242
root@SERVER:/home/kali/cache# ./samp03svr: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
apt-get update
Ign http://archive.canonical.com trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://archive.canonical.com trusty Release.gpg
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://archive.canonical.com trusty Release
Get:2 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://archive.canonical.com trusty/partner Sources
Hit http://archive.canonical.com trusty/partner amd64 Packages
Get:3 http://archive.ubuntu.com trusty-backports InRelease [65.9 kB]
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://archive.canonical.com trusty/partner Translation-en
Hit http://archive.ubuntu.com trusty Release.gpg
Get:4 http://archive.ubuntu.com trusty-updates/main Sources [383 kB]
Get:5 http://security.ubuntu.com trusty-security/main Sources [120 kB]
Get:6 http://archive.ubuntu.com trusty-updates/universe Sources [166 kB]
Get:7 http://security.ubuntu.com trusty-security/universe Sources [43.6 kB]
Get:8 http://archive.ubuntu.com trusty-updates/restricted Sources [5,360 B]
Get:9 http://archive.ubuntu.com trusty-updates/multiverse Sources [7,520 B]
Get:10 http://security.ubuntu.com trusty-security/restricted Sources [4,064 B]
Get:11 http://archive.ubuntu.com trusty-updates/main amd64 Packages [901 kB]
Get:12 http://security.ubuntu.com trusty-security/multiverse Sources [3,190 B]
Get:13 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [376 kB]
Get:14 http://security.ubuntu.com trusty-security/main amd64 Packages [531 kB]
Get:15 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:16 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [15.0 kB]
Get:17 http://archive.ubuntu.com trusty-updates/main i386 Packages [861 kB]
Get:18 http://archive.ubuntu.com trusty-updates/universe i386 Packages [377 kB]
Get:19 http://security.ubuntu.com trusty-security/universe amd64 Packages [138 kB]
Get:20 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB]
Get:21 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [15.5 kB]
Get:22 http://security.ubuntu.com trusty-security/restricted amd64 Packages [13.0 kB]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Get:23 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [5,198 B]
Get:24 http://security.ubuntu.com trusty-security/main i386 Packages [493 kB]
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Get:25 http://archive.ubuntu.com trusty-backports/main Sources [9,626 B]
Get:26 http://security.ubuntu.com trusty-security/universe i386 Packages [138 kB]
Get:27 http://archive.ubuntu.com trusty-backports/restricted Sources [28 B]
Get:28 http://security.ubuntu.com trusty-security/restricted i386 Packages [12.7 kB]
Get:29 http://archive.ubuntu.com trusty-backports/universe Sources [35.2 kB]
Get:30 http://archive.ubuntu.com trusty-backports/multiverse Sources [1,898 B]
Get:31 http://security.ubuntu.com trusty-security/multiverse i386 Packages [5,339 B]
Get:32 http://archive.ubuntu.com trusty-backports/main amd64 Packages [13.3 kB]
Get:33 http://archive.ubuntu.com trusty-backports/restricted amd64 Packages [28 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en
Get:34 http://archive.ubuntu.com trusty-backports/universe amd64 Packages [43.2 kB]
Get:35 http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1,571 B]
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Get:36 http://archive.ubuntu.com trusty-backports/main i386 Packages [13.3 kB]
Get:37 http://archive.ubuntu.com trusty-backports/restricted i386 Packages [28 B]
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Get:38 http://archive.ubuntu.com trusty-backports/universe i386 Packages [43.2 kB]
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Get:39 http://archive.ubuntu.com trusty-backports/multiverse i386 Packages [1,552 B]
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/multiverse Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://archive.ubuntu.com trusty/universe Translation-en_US
Fetched 5,006 kB in 6s (821 kB/s)
Reading package lists... Done
[1]+ Exit 127 ./samp03svr
root@SERVER:/home/kali/cache# apt-get install libstdc++6 libstdc++.so.6 -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libstdc++.so.6
E: Couldn't find any package by regex 'libstdc++.so.6'
root@SERVER:/home/kali/cache#
final

Quote:

root@SERVER:/home/kali/cache# ./samp03svr &
[1] 20292
root@SERVER:/home/kali/cache# ./samp03svr: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

@edit[

adicionei esse codigo e foi..

apt-get install lib32stdc++6