-
Notifications
You must be signed in to change notification settings - Fork 156
Using automated install for Nginx 1.21.3 - Nginx does not start after successfull build and install - Ubuntu Impish #2083
Comments
Hi |
Hi, ok, the error message sounds like it is included in pagespeed.so. So what's the problem? Is pagespeed.so using something which is depreciated or is this a bug in the new pthread.h version? Ubuntu 21.10 (relevant part):
Ubuntu 20.04:
|
Hi P.D. Have you tried to compile in an older Ubuntu version? P.D 1: Seems is deprecated in GNU C Library version 2.34 released 1/08/2021 |
If the function is just renamed from pthread_mutex_consistent_np to pthread_mutex_consistent you should be able to do It seems I have the same problem, I can't compile PSOL on Impish, so I am going to try this ;-) |
And then I get the same error about pthread_yield ;-) |
Ok, on modern libc you can execute the following when building PSOL: Got a running Impish NGINX with pagespeed now. |
@oschaaf Maybe apr must be updated? |
Same with 22.04 LTS. I have removed pagespeed now from Nginx due to missing maitenance |
Hello Guys, any help in fixing the problem? "nginx: [emerg] dlopen() "/usr/share/nginx/modules/ngx_pagespeed.so" failed (/usr/share/nginx/modules/ngx_pagespeed.so: undefined symbol: pthread_mutex_consistent_np) in /etc/nginx/nginx.conf:2 I am running nginx version: nginx/1.22.1 and ubuntu version 22.04. Thanks |
sudo nginx -t
nginx: [emerg] dlopen() "/usr/lib/nginx/modules/ngx_pagespeed.so" failed (/usr/lib/nginx/modules/ngx_pagespeed.so: undefined symbol: pthread_mutex_consistent_np) in /etc/nginx/modules-enabled/50-mod-pagespeed.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
Content of /etc/nginx/modules-enabled/50-mod-pagespeed.conf
load_module modules/ngx_pagespeed.so;
Nginx Error log:
2021/10/04 15:52:07 [emerg] 68172#0: dlopen() "/usr/lib/nginx/modules/ngx_pagespeed.so" failed (/usr/lib/nginx/modules/ngx_pagespeed.so: undefined symbol: pthread_mutex_consistent_np) in /etc/nginx/modules-enabled/50-mod-pagespeed.conf:1
The text was updated successfully, but these errors were encountered: