Skip to content

Problems connecting to server #109

Answered by RasmusRendal
alzeha asked this question in Q&A
Discussion options

You must be logged in to vote

So what is happening is that socketserver is running with the included linker and LD_LIBRARY_PATH, which we include to make sure that our distribution works on pretty much anything.

However, what the socketserver does is simply running ./server in a loop and serving it over port 2350. But in this case ./server is a shell script, which uses /usr/bin/env from your system, which isn't compatible with the included linker and LD_LIBRARY_PATH, resulting in the error. Fixing the socketserver might turn out to be a bit an ordeal, so until that is fixed, you can use socat instead of the socketserver as a workaround:

socat TCP-LISTEN:2350,reuseaddr,fork EXEC:"./server"

You might have to install it…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@mikucionisaau
Comment options

@alzeha
Comment options

@RasmusRendal
Comment options

Comment options

You must be logged in to vote
3 replies
@alzeha
Comment options

@mikucionisaau
Comment options

@alzeha
Comment options

Answer selected by alzeha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants