-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined symbol: pthread_atfork #156
Comments
Hi @Jean-Malan, Did you find a solution ? I have the same issue. |
I have the same issue |
My current solution has been to eliminate stackprof from the Gemfile since it is typically not a production dependency. I am also experiencing this in a Ruby 2.6.8 / Rails 4.x environment. |
Workaround: explicitly add Configure via bundler: bundle config build.stackprof --with-ldflags=-pthread
bundle install Or install the gem directly: gem install stackprof -- --with-ldflags=-pthread In my case, I was installing stackprof into an ubuntu-based docker image on an arm64 architecture, and had to install the pthreads stubs as a dependency first: apt-get install libpthread-stubs0-dev |
Hey Team,
I am running a Rails (6.0.3.4) app on my Mac (M1 Chip). This error is persisting and is killing my builds:
I am really struggling to find where / why this error is happening and I'm not sure if its versioning / compatibility issues that it is running into.
The text was updated successfully, but these errors were encountered: