Montjet 0 Posted March 21, 2015 Share Posted March 21, 2015 Hi, I am looking for a finished server files with FreeBSD 10 (vhd or vdi). Could you recommend any? Pls give me urls. Link to comment Share on other sites More sharing options...
Former Staff Shisui 491 Posted March 21, 2015 Former Staff Share Posted March 21, 2015 There's no such thing. You want svfiles working on bsd 10 then create your self. Link to comment Share on other sites More sharing options...
Alina 235 Posted March 21, 2015 Share Posted March 21, 2015 Well..... All serverfiles do work on FreeBSD 10 If you want to update your system, just connect it to the internet and upgrade it. They're all compatible as long as you provide the right libs for them (and the gamecore won't need any new libs when you upgrade your system) Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4908 Posted March 21, 2015 Bot Share Posted March 21, 2015 If you dont plan on using CLANG theres nothing you need to do install gcc from ports and everything should work no idea if libcxxrt will play along tho. Dont copy libs from other system they can heavily damage your system bcs they were not made for the version of FreeBSD you are using. Kind regards MartPwnS Link to comment Share on other sites More sharing options...
Alina 235 Posted March 21, 2015 Share Posted March 21, 2015 There's no problem with uploading the libs he normally uses. As long as he doesn't overwrite any system libs it should be okay. I guess he'll run into compatibility problems if he doesn't upload them. Installing gcc from ports won't do it, libstdc++ would be from a higher version. The server won't boot I guess. Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4908 Posted March 21, 2015 Bot Share Posted March 21, 2015 The usual i copy libs approach looks like that: Download an ancient .zip / .rar file with many libs and shove it in /usr/lib(32) or /usr/local/lib(32) libstdc++.so.6 included. In fact compiling gcc from ports shouldnt be a problem bcs the version is newer. Link to comment Share on other sites More sharing options...
Alina 235 Posted March 21, 2015 Share Posted March 21, 2015 That's the point. If you're copying the libs then everything works with newer versions. But if not, the game will complain about the newer version of your gcc libs. Your usual approach is exactly the way to do it. I've set up a test server a few days ago. It was running on FreeBSD 10 and I had no problems. I didn't even need to install gcc, I just copied the libs and everything worked That's what I meant with uploading the usual libs. Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4908 Posted March 21, 2015 Bot Share Posted March 21, 2015 Keep copying until it breaks then. Link to comment Share on other sites More sharing options...
Alina 235 Posted March 21, 2015 Share Posted March 21, 2015 Keep copying until it breaks then. Do I need to understand what you wrote there? Please explain it to me since you argued against yourself right now....^^ Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4908 Posted March 21, 2015 Bot Share Posted March 21, 2015 Where did i argue against myself ? I said keep doing whatever you are doing until you break sth. The whole point of shared linking is that you can upgrade your libraries and not stay with the same old ones. Most of them if not all are not backwards compatible so one would have a problem if one went from BSD10 => BSD9.X but one is doing an upgrade so nothing should error out. Old systems ldd output (Special paths come from /etc/libmap.conf): libthr.so.3 => /lib/libthr.so.3 (0x285f1000) libstdc++.so.6 => /usr/local/lib/gcc49/libstdc++.so.6 (0x28612000) libm.so.5 => /lib/libm.so.5 (0x28710000) libgcc_s.so.1 => /usr/local/lib/gcc49/libgcc_s.so.1 (0x2872b000) libc.so.7 => /lib/libc.so.7 (0x28748000) New systems ldd output before we installed gcc: libthr.so.3 => /lib/libthr.so.3 (0x285f0000) libstdc++.so.6 => not found (0) libm.so.5 => /lib/libm.so.5 (0x28612000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28638000) libc.so.7 => /lib/libc.so.7 (0x28644000) New system after we installed gcc: libthr.so.3 => /lib/libthr.so.3 (0x285f0000) libstdc++.so.6 => /usr/local/lib/gcc49/libstdc++.so.6 (0x28612000) libm.so.5 => /lib/libm.so.5 (0x286fd000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28723000) libc.so.7 => /lib/libc.so.7 (0x2872f000) Result: A working binary + a clean system that is up2date and properly organized. Notice the changes(0x) Link to comment Share on other sites More sharing options...
Alina 235 Posted March 21, 2015 Share Posted March 21, 2015 Sorry I misunderstood your post. You said copying libs is bad. Then you say you always copied the libs needed. Then you clarified that copying them could break the system. That's the contradiction I mentioned. You're right about that but I'm not talking about the system libs only. E. g. the gamefile uses libmd which isn't a system library. Of course you could install the port and are ready to go as long as they're compatible (in most cases you're right, they are). That's one of those libs I do upload (in normal cases, I'm using static linked gamefiles). To your new system (before installing gcc): libstdc++.so.6 => not found (0) Yep. Not found. You'd either upload your own libstdc++.so.6 or build a new gcc. There you're right. Installing is better as long as they keep compatibility. But you don't have to. If you compile the game with the newest version of gcc then there's no reason in installing gcc on your new machine and using both compilers (clang standard and gcc installed). Just upload the lib and you're ready to go That's what I meant. Oh, and using the libraries you used for building on your production environment doesn't break things.... Also note that the library missing on your new system doesn't even change at all. It's the same library you used on the old system since it's still gcc 4.9, nothing more. You used it before and you're using it now. It doesn't make a difference at all. Only the system libraries do change and they're built in by default so there's no need to upload libs you aren't missing^^ Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4908 Posted March 21, 2015 Bot Share Posted March 21, 2015 libm is a system library /usr/lib/libm.so -> /lib/libm.so.5 (14 Nov 11 22:52), so is libc. Well that was an example im not using gcc on a bsd10 system it was only to clarify what i meant. Link to comment Share on other sites More sharing options...
Alina 235 Posted March 21, 2015 Share Posted March 21, 2015 That's true and now I understand what you meant. But the example also shows that the way I'm doing it isn't bad either. Especially if you're using FreeBSD 10. Installing gcc is unnecessary there unless you really need it. Now that everything's cleared up I suggest we both are right and happy Oh, I wrote libmd not libm Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4908 Posted March 21, 2015 Bot Share Posted March 21, 2015 Well i never really wanted to be right or sth i wanted to point out that one should be careful with copying libs especially if one is not experienced as OP is i guess. I just used a drastical and too general way to express it. Theres nothing against copying a lib from system to system if you pay attention and dont work in /usr/lib and yes its true that one can copy libstdc++.so.6 over, thats indirectly laid out in my post (0x28612000 == 0x28612000). We somewhat drifted away from the problem tho. I consider this matter closed. Kind regards and a nice saturday night MartPwnS Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now