Hlds_boost Giving Me An Error

XvarionXvarion 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

Comments

  • RanmaRanma Join Date: 2002-11-02 Member: 5151Members
    I'm having the same problem. Can someone help us?
  • HukkaHukka Join Date: 2002-11-05 Member: 6989Members
    <!--QuoteBegin--Ranma+Nov 15 2002, 06:42 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Ranma @ Nov 15 2002, 06:42 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I'm having the same problem. Can someone help us?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    I gonna check out some possibles.. Please post here your configuration file.. (halfd)..
  • MonsieurEvilMonsieurEvil Join Date: 2002-01-22 Member: 4Members, Retired Developer, NS1 Playtester, Contributor
    Xvarion - is this (in your HLBoost expertise) an issue inherent to HLB or the NS HLDS code? We need to know in order to get the remedy looked into.
  • XvarionXvarion Join Date: 2002-11-06 Member: 7281Members
    I've figured this out:

    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
  • MafukieMafukie Join Date: 2002-11-01 Member: 2769Members
    can you make that explination a little more user freindly ( morning here )

    like show exact examples ( open this put this here ect ) thanks!
Sign In or Register to comment.