GwynethLlewelyn commented on issue #1743:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1743#issuecomment-1262768628

   @eilandert: it went remarkably well, thanks for your 'special' compilation!
   
   @mactrash: In the meantime, I've focused on 1.23.1 and left 1.22.X (because, 
well, it had some issues with newer versions of _other_, non-PageSpeed-related 
modules that I needed). Are you sure you have used @eilandert's PSOL 
compilation? I'm just asking since you get the error precisely while compiling 
PSOL.
   
   On the other hand, the error you got is related to the `pthread` library.
   
   So...
   
   - What GCC version do you have? I'm using 11.2.0, which is the current one 
on Ubuntu 22.04, AFAIK.
   - Did you install the dev version of `pthread`? If not, `sudo apt-get 
install libpthread-stubs0-dev`(see also [a thread on  StackOverflow 
](https://stackoverflow.com/questions/35932258/how-to-install-libpthread-a-in-ubuntu-14-04)—
 it's ancient, but nevertheless relevant)
   - Can you check if you GCC/linker is, indeed, [calling the correct option 
for linking with 
`libpthread.a`](https://stackoverflow.com/questions/1662909/undefined-reference-to-pthread-create-in-linux)?
 Or maybe you are _not_ using @eilandert's PSOL compilation after all? See 
#1760 — he's gone through all that trouble to get the only working PSOL 
compilation so far, and, AFAIK, there is no 'easy' alternative (for now), at 
least not until the pagespeed core developers wake up to the reality of a newer 
`glibc` version (a quick search on that error of yours on Google links to 
GitHub: namely, to this very rep, issue #1759!)
   
   I'll be posting some additional compilation instructions for those bold 
enough to try `nginx` with full HTTP/3 support _and_ PageSpeed, but, alas, this 
will be a bit beyond the scope of _this_ rep — I'll crosslink to the discussion 
elsewhere once I'm finished with those...
   
   Note, however, that my own compilation is (obviously!) pretty much built 
upon @eilandert's instructions, and it wouldn't have worked without his PSOL 
compilation; the rest is mostly a few more hacks to get HTTP/3 support 
_without_ breaking PageSpeed.


-- 
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: dev-unsubscr...@pagespeed.apache.org

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

Reply via email to