Hlds_boost Giving Me An Error
Xvarion
Join Date: 2002-11-06 Member: 7281Members
<div class="IPBDescription">./booster.so: undefined symbol: dlsym</div> The full error is:
grep: relocation error: ./booster.so: undefined symbol: dlsym
Has anyone else gotten this error when trying to use hlds_boost? Does anyone know a fix?
I'm running the 1.01 linux dedicated server with hlds_boost 1.0
Thanks,
Eric
grep: relocation error: ./booster.so: undefined symbol: dlsym
Has anyone else gotten this error when trying to use hlds_boost? Does anyone know a fix?
I'm running the 1.01 linux dedicated server with hlds_boost 1.0
Thanks,
Eric
Comments
I gonna check out some possibles.. Please post here your configuration file.. (halfd)..
The problem is that the hlds_boost script sets the LD_PRELOAD variable to point to ./booster.so, then calls hlds_run to actually execute the server.
The issue is that the hlds_run script does more than just execute hlds - it does some checks first to see if it is being restarted from a crash, etc. One of the things it does is call grep - I forget exactly why. If you look closely at the error, it's not actually hlds giving you the error - it's grep. There's some function call that grep is trying to make that's not covered by ./booster.so, but that's where it's looking since hlds_boost sets that variable for the entire hlds_run script.
To fix this, all I did was take the LD_PRELOAD and additional command-line parameters to hlds found in hlds_boost and I moved that stuff into hlds_run so the LD_PRELOAD gets set and unset immediately before and after the actual hlds program gets executed. That way grep and other programs executed in hlds_run aren't effected by a strange LD_PRELOAD. that got rid of all errors.
Then, I just wound up using halfd, so all this became moot <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
Eric
like show exact examples ( open this put this here ect ) thanks!