zrhoffman opened a new issue, #7649:
URL: https://github.com/apache/trafficcontrol/issues/7649

   <!--
   ************ STOP!! ************
   If this issue identifies a security vulnerability, DO NOT submit it! 
Instead, contact
   the Apache Traffic Control Security Team at 
secur...@trafficcontrol.apache.org and follow the
   guidelines at https://apache.org/security regarding vulnerability disclosure.
   
   - For *SUPPORT QUESTIONS*, use the #traffic-control channel on the ASF slack 
(https://s.apache.org/tc-slack-request)
   or the Traffic Control Users mailing list (send an email to 
users-subscr...@trafficcontrol.apache.org to subscribe).
   - Before submitting, please **SEARCH GITHUB** for a similar issue or PR
       * https://github.com/apache/trafficcontrol/issues
       * https://github.com/apache/trafficcontrol/pulls
   -->
   
   <!-- Do not submit security vulnerabilities or support requests here - see 
above -->
   ## This Bug Report affects these Traffic Control components:
   <!-- delete all those that don't apply -->
   - CDN in a Box
   
   ## What did you do?
   <!-- If the current behavior is a bug, please provide the *STEPS TO 
REPRODUCE* and
   include the applicable TC version.
   -->
   Tried to run the CDN in a Box socksproxy service now that CDN in a Box is on 
RHEL 8:
   
   ```shell
   docker-compose -f docker-compose.yml -f 
optional/docker-compose.socksproxy.yml up --build -d
   docker-compose -f docker-compose.yml -f 
optional/docker-compose.socksproxy.yml logs -f socksproxy
   ```
   
   ## What did you expect to happen?
   <!-- Describe how the bug happens -->
   `sockd` runs
   
   ## What actually happened?
   <!-- Describe what the behavior would be without the bug -->
   The error you see when starting `sockd`:
   
   ```shell
   $ sockd
   Jul 14 16:26:03 (1689351963.686598) sockd[41]: error: symbolfunction(): 
compile time configuration error?  Failed to open library "libc.so": libc.so: 
cannot open shared object file: No such file or directory
   Jul 14 16:26:03 (1689351963.686702) sockd[41]: alert: mother[1/1]: shutting 
down
   ```
   
   and if you symlink `libc.so.6` to `libc.so` like this,
   
   ```shell
   ln -s libc.so.6 /lib64/libc.so
   ```
   
   `sockd` instead gives this error:
   
   ```shell
   Jul 14 16:28:35 (1689352115.892862) sockd[37]: error: symbolfunction(): 
compile time configuration error?  Failed to find "_gethostbyaddr" in 
"libc.so": /lib64/libc.so.6: undefined symbol: _gethostbyaddr
   Jul 14 16:28:35 (1689352115.892971) sockd[37]: alert: mother[1/1]: shutting 
down
   ```
   
   IIRC, CentOS 8 did not require symlinking `libc.so` to get the `undefined 
symbol: _gethostbyaddr` error.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@trafficcontrol.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to