Page 1 of 1

Problem setting up server on raspberry

Posted: Thu Feb 04, 2016 3:05 pm
by TEErious Sam
Hello Community,
This is my post and im hoping I am in the right forum for my reguards:
So i tried setting up a ddrace server on my raspberry pi following the guide >>How to compile client and set-up server on Linux<< in the tutorial section of this Forum.
Running the command

Code: Select all

bam server_sql_release
gives me

Code: Select all

[1/1] #1 link DDNet-Server_sql
other/mysql/linux/lib64/libmysqlcppconn-static.a: error adding symbols: File format not recognized
collect2: ld returned 1 exit status
bam: 'DDNet-Server_sql' error 256
bam: error: a build step failed
What am I missing to succeed?
Thank you in advance
Sam

Re: Problem setting up server on raspberry

Posted: Thu Feb 04, 2016 3:58 pm
by deen
Never tried it on ARM. The build system is trying to use the x86-64 library for libcmysqlcppconn. I suggest installing libmysqlcppconn-dev system-wide.

Re: Problem setting up server on raspberry

Posted: Thu Feb 04, 2016 7:53 pm
by TEErious Sam
Ok thank you for the help. I installed libmysqlcppconn-dev by hand. This did not fix it ,tho. I removed the ddnet_master server and repeated, what i did. Now it works (maybe i messed something up earlier). Thank you!
Sam