MagicalAsh Posted January 27, 2015 Share Posted January 27, 2015 The DST Dedicated server requires libcurl4-gnutls-dev and there isn't a package by that name through yum, there is however a libcurl.i686. Is there anyway to get the server to run on RedHat? Link to comment Share on other sites More sharing options...
Developer nome Posted January 27, 2015 Developer Share Posted January 27, 2015 Yup, we only provided instructions for the debian family distributions but you just need the 32bit versions of the required libraries and you should be all good. Just let us know if you run into any problems after getting those installed. You can see whether you've got everything using the ldd tool (ldd ./dontstarvetogether_nullrenderer or whatever we named the file) Link to comment Share on other sites More sharing options...
MagicalAsh Posted January 27, 2015 Author Share Posted January 27, 2015 I think you kinda misread my question. I can't find libcurl4-gnutls-dev on redhat. I can only find libcurl-devel.i686 and a couple of similar libraries, which causes the program to error out with : libcurl-gnutls.so.4: cannot open shared object file: no such file or directoryand then it kicks me back out to the bash window. Help would be very appreciated, as I can't find the right dang curl library. Link to comment Share on other sites More sharing options...
TonyV Posted January 27, 2015 Share Posted January 27, 2015 Which specific distribution are you using, Ash? Link to comment Share on other sites More sharing options...
MagicalAsh Posted January 27, 2015 Author Share Posted January 27, 2015 Which specific distribution are you using, Ash?CentOS Release 6.5 (Final) *Goes to change OP* Link to comment Share on other sites More sharing options...
TonyV Posted January 28, 2015 Share Posted January 28, 2015 CentOS Release 6.5 (Final) *Goes to change OP* 32-bit or 64-bit? Link to comment Share on other sites More sharing options...
MagicalAsh Posted January 28, 2015 Author Share Posted January 28, 2015 32-bit or 64-bit?AFAIK 64 bit. Link to comment Share on other sites More sharing options...
TonyV Posted January 28, 2015 Share Posted January 28, 2015 I hate to ask, but would it be possible to upgrade to CentOS 7? I think it comes with libc 2.17, whereas the latest package for CentOS 6 is 2.12. I'm asking because to be honest, any workarounds you do to get it working will involve using unofficial repositories or building it from source, and both of those options could affect the stability of your system. And as long as you're going to be affecting the stability of your system anyway, you might as well upgrade to CentOS 7 so that you're affecting it in a known and tested way. Link to comment Share on other sites More sharing options...
ToNiO55 Posted January 28, 2015 Share Posted January 28, 2015 Hi, maybe you need to put this command: Red Hat based distributions (RHEL, Fedora, CentOS, etc.)yum install glibc.i686 libstdc++.i686 Link to comment Share on other sites More sharing options...
ToNiO55 Posted January 28, 2015 Share Posted January 28, 2015 Hi, maybe you need to put this command: Red Hat based distributions (RHEL, Fedora, CentOS, etc.)yum install glibc.i686 libstdc++.i686 sorry wrong glibc, my command is useless for you Link to comment Share on other sites More sharing options...
Seflyx Posted January 28, 2015 Share Posted January 28, 2015 Yup, we only provided instructions for the debian family distributions but you just need the 32bit versions of the required libraries and you should be all good. Just let us know if you run into any problems after getting those installed. You can see whether you've got everything using the ldd tool (ldd ./dontstarvetogether_nullrenderer or whatever we named the file)$ ./dontstarve_dedicated_server_nullrenderer./dontstarve_dedicated_server_nullrenderer: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory$ ldd ./dontstarve_dedicated_server_nullrenderer./dontstarve_dedicated_server_nullrenderer: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./dontstarve_dedicated_server_nullrenderer)./dontstarve_dedicated_server_nullrenderer: /lib/libc.so.6: version `GLIBC_2.15' not found (required by ./dontstarve_dedicated_server_nullrenderer) linux-gate.so.1 => (0x00a28000) libSDL2-2.0.so.0 => ./lib32/libSDL2-2.0.so.0 (0x002cd000) libcurl-gnutls.so.4 => not found librt.so.1 => /lib/librt.so.1 (0x00efe000) libpthread.so.0 => /lib/libpthread.so.0 (0x00f48000) libfmodevent.so => ./lib32/libfmodevent.so (0x00dc6000) libfmodex.so => ./lib32/libfmodex.so (0x006cc000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0014f000) libm.so.6 => /lib/libm.so.6 (0x0040e000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00d12000) libc.so.6 => /lib/libc.so.6 (0x00438000) libdl.so.2 => /lib/libdl.so.2 (0x0023a000) /lib/ld-linux.so.2 (0x00263000) libfmodex-4.44.07.so => ./lib32/libfmodex-4.44.07.so (0x00851000)Where can I obtain libcurl-gnutls.so.4 package? Because I may have the same problem like OP Link to comment Share on other sites More sharing options...
MagicalAsh Posted January 28, 2015 Author Share Posted January 28, 2015 $ ./dontstarve_dedicated_server_nullrenderer./dontstarve_dedicated_server_nullrenderer: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory$ ldd ./dontstarve_dedicated_server_nullrenderer./dontstarve_dedicated_server_nullrenderer: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./dontstarve_dedicated_server_nullrenderer)./dontstarve_dedicated_server_nullrenderer: /lib/libc.so.6: version `GLIBC_2.15' not found (required by ./dontstarve_dedicated_server_nullrenderer) linux-gate.so.1 => (0x00a28000) libSDL2-2.0.so.0 => ./lib32/libSDL2-2.0.so.0 (0x002cd000) libcurl-gnutls.so.4 => not found librt.so.1 => /lib/librt.so.1 (0x00efe000) libpthread.so.0 => /lib/libpthread.so.0 (0x00f48000) libfmodevent.so => ./lib32/libfmodevent.so (0x00dc6000) libfmodex.so => ./lib32/libfmodex.so (0x006cc000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0014f000) libm.so.6 => /lib/libm.so.6 (0x0040e000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00d12000) libc.so.6 => /lib/libc.so.6 (0x00438000) libdl.so.2 => /lib/libdl.so.2 (0x0023a000) /lib/ld-linux.so.2 (0x00263000) libfmodex-4.44.07.so => ./lib32/libfmodex-4.44.07.so (0x00851000)Where can I obtain libcurl-gnutls.so.4 package? Because I may have the same problem like OP We have the same problem it looks like, although you need libstdc++ too. If you find a fix post it please. Link to comment Share on other sites More sharing options...
MagicalAsh Posted January 28, 2015 Author Share Posted January 28, 2015 I hate to ask, but would it be possible to upgrade to CentOS 7? I think it comes with libc 2.17, whereas the latest package for CentOS 6 is 2.12. I'm asking because to be honest, any workarounds you do to get it working will involve using unofficial repositories or building it from source, and both of those options could affect the stability of your system. And as long as you're going to be affecting the stability of your system anyway, you might as well upgrade to CentOS 7 so that you're affecting it in a known and tested way.Unfortunately I'm running off of a VM and I'm not really able to change the OS. Link to comment Share on other sites More sharing options...
G4E Posted January 28, 2015 Share Posted January 28, 2015 I think you can do exactly the way I did for debian stable :you get the precompiled library (this git repo claim to be compatible with centOS) : mkdir ~/dst_lib && cd ~/dst_libwget https://github.com/dgibbs64/linuxgameservers/raw/master/Insurgency/dependencies/libc.so.6wget https://github.com/dgibbs64/linuxgameservers/raw/master/Insurgency/dependencies/libpthread.so.0wget https://github.com/dgibbs64/linuxgameservers/raw/master/Insurgency/dependencies/librt.so.1wget https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libstdc%2B%2B.so.6 #And for libcurl, this post tell us that the game (so maybe the server ?) can work with only the libcurl.so.4 :http://forums.kleientertainment.com/topic/36809-linux-issue-with-libcurl-gnutlsso4-cant-start-the-game/ ln -s libcurl.so.4 /usr/lib/libcurl-gnutls.so.4 Then, you can launch the game like that :LD_LIBRARY_PATH=~/dst_lib ./dontstarve_dedicated_server_nullrenderer /!\ Be careful to NOT do #Don't do that !#export LD_LIBRARY_PATH=~/dst_lib Because like that, each library ~/dst_lib will be used instead of the system's one. And you don't want that to append. Link to comment Share on other sites More sharing options...
Seflyx Posted January 29, 2015 Share Posted January 29, 2015 We have the same problem it looks like, although you need libstdc++ too. If you find a fix post it please.About libstdc++, I already installed them (Both 64 and 32-bit) and yeah, still got those error I think.. Don't know whyBut I already managed that by using the git repo one on wiki I think, explained in the quote below.. I think you can do exactly the way I did for debian stable :you get the precompiled library (this git repo claim to be compatible with centOS) : #And for libcurl, this post tell us that the game (so maybe the server ?) can work with only the libcurl.so.4 :http://forums.kleientertainment.com/topic/36809-linux-issue-with-libcurl-gnutlsso4-cant-start-the-game/ Then, you can launch the game like that : /!\ Be careful to NOT do Because like that, each library ~/dst_lib will be used instead of the system's one. And you don't want that to append. Thanks, but the only problem right now is libcurl-gnutls.so.4 and I'm still looking for it :/ Link to comment Share on other sites More sharing options...
Seflyx Posted January 29, 2015 Share Posted January 29, 2015 Okay, I got different result now.. I installed libcurl.i686 (the 32-bit one) through yum then executed this commandln -s libcurl.so.4 /usr/lib/libcurl-gnutls.so.4Relaunch the server... And seems the server now.. working? I don't know, I'm still checking on it This is the log.. Got a lot of "Could not unload". Is this normal? But my server is avaiable from list..http://pastebin.com/1YzJYUxT Update: Oh well, mine is working now Link to comment Share on other sites More sharing options...
rezecib Posted January 29, 2015 Share Posted January 29, 2015 "Could not unload". Is this normal? Yup, that's normal. Glad you figured out the solution, and thanks for posting it so others can try it as well! Link to comment Share on other sites More sharing options...
MagicalAsh Posted January 30, 2015 Author Share Posted January 30, 2015 I think you can do exactly the way I did for debian stable :you get the precompiled library (this git repo claim to be compatible with centOS) : #And for libcurl, this post tell us that the game (so maybe the server ?) can work with only the libcurl.so.4 :http://forums.kleientertainment.com/topic/36809-linux-issue-with-libcurl-gnutlsso4-cant-start-the-game/ Then, you can launch the game like that : /!\ Be careful to NOT do Because like that, each library ~/dst_lib will be used instead of the system's one. And you don't want that to append.I think that did it, thanks a ton! Link to comment Share on other sites More sharing options...
Legger Posted March 7, 2015 Share Posted March 7, 2015 I'm still getting the same error : libcurl-gnutls.so.4: cannot open shared object file: no such file or directory I followed G4E's instructions and it still isn't working for me. I'm currently on Debian 6 64bit, any help would be great. Also as a side note, i'm still new with Linux, so please bare with me! Link to comment Share on other sites More sharing options...
Bfitzy Posted December 29, 2015 Share Posted December 29, 2015 I'm having a similar problem running Fedora 23 64-bit. I used to be getting the libcurl-gnutls.so.4 library not found error, made the symlink to the correct file, then I started getting an error saying libgnutls.so.26 was not found. so I did exactly what I did before, symlinking the file with the correct one. but for some reason it still gives me the error. however, launching it through the steam runtime seems to work fine. any ideas? Link to comment Share on other sites More sharing options...
LonerD Posted March 13, 2016 Share Posted March 13, 2016 On 1/28/2015 at 1:14 AM, G4E said: I think you can do exactly the way I did I put your libraries to /home/dst/server_dst/bin/lib32 directory, and run ln -s libcurl.so.4 /usr/lib/libcurl-gnutls.so.4 I use CentOS 5 32-bit. (centos-release-5-11.el5.centos) Now I have only two errors ./dontstarve_dedicated_server_nullrenderer: /usr/lib/libcurl-gnutls.so.4: no version information available (required by ./dontstarve_dedicated_server_nullrenderer) ./dontstarve_dedicated_server_nullrenderer: error while loading shared libraries: ./lib32/libc.so.6: unexpected PLT reloc type 0x2a Any ideas how to fix errors? I think it wrong libc.so.6/libstdc++.so.6 for my OS... Link to comment Share on other sites More sharing options...
LonerD Posted March 15, 2016 Share Posted March 15, 2016 On 3/13/2016 at 7:46 PM, LonerD said: I use CentOS 5 32-bit. (centos-release-5-11.el5.centos) Server works on CentOS 6. Any chanses to make it under CentOS 5 ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.