Building the login server on CentOS 4.8
As subject, I am trying to build the SVN login server and having difficulties linking with the pre-compiled crypto libraries. I am using the gentoo 32-bit files, though the ubuntu ones also fail with more errors. The output from the link:
Code:
-bash-3.00$ make Code:
-bash-3.00$ gcc -v Thanks Paul. |
One of the devs with the crypto source will probably have to build a new version of the library for it to work on a system that old. And I'm not sure anyone will want to bother since that is a rather old version of CentOS.
Have you tried building the login server under a more recent version of CentOS? |
Quote:
|
you could try using alien and debbootstrap to build a minimal up-to-date version of debian that runs in a chroot and build your login server in that. Probably wise to test on a non-critical system 1st though.
Once you have the server built, put it in a directory with the libraries it depends upon and use the LD_PRELOAD variable to force it to use the right libraries, so you don't have to use a chroot if you don't want to (I would run it in a chroot, to minimise the risk to business applications). The old-school businessman part of me wonders why you'd build a game server on a system that has a "mission critical" role. Seems like a great way to piss off bosses/shareholders. |
Quote:
Thanks for the ideas, I'll ponder... Paul. |
A very quick update - I got it working! I compiled with Centos 5.4 and copied the binary and libraries over. The only extra thing was to launch the executable with ld-2.5.so - see the following script which also shows the various libraries that were copied. I simply put these in a subdirectory "lib". Anyway I hope this is of some use to someone.
Cheers Paul. Code:
#!/bin/sh |
All times are GMT -4. The time now is 04:41 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.