Posts: 326
Threads: 41
Joined: Oct 2014
Thanks: 22
Given 95 thank(s) in 66 post(s)
05-28-2015, 01:19 AM
(This post was last modified: 05-28-2015, 01:21 AM by Mathias.)
Hello,
Is there any way to change the path where MCServer looks for libraries? I need to replace a few outdated libraries to make MCServer run successfully, but I don't have any root access on the server/machine I'm using.
Posts: 1,469
Threads: 57
Joined: Jul 2012
Thanks: 66
Given 127 thank(s) in 108 post(s)
I assume that you're talking about glibc and glibCXX, right?
If that's the case, do you have (CMake AND make AND (GCC OR clang)) installed? You should be able to compile the server yourself without root access if you have those programs installed.
Posts: 952
Threads: 16
Joined: May 2013
Thanks: 66
Given 105 thank(s) in 89 post(s)
From that link, it also suggests that /lib/ld-linux.so.2 --library-path path executable will work?
Posts: 326
Threads: 41
Joined: Oct 2014
Thanks: 22
Given 95 thank(s) in 66 post(s)
05-28-2015, 04:45 AM
(This post was last modified: 05-28-2015, 05:24 AM by Mathias.)
Replacing libraries wasn't a good idea after all... Segmentation fault. :/
The problem seems to be the dynamic linker, which still uses the default library path.