Skip to content
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

Problem with a fresh installation: "undefined symbol: gimme_the_mate" #44

Open
HaraldJoerg opened this issue Jan 21, 2025 · 0 comments
Open

Comments

@HaraldJoerg
Copy link

Trying to start over I could no longer install PDL::Drawing::Prima:

#   Failed test 'use PDL::Drawing::Prima;'
#   at t/00-load-main.t line 8.
#     Tried to use 'PDL::Drawing::Prima'.
#     Error:  Can't load '/home/haj/devel/perl/PDL-Drawing-Prima/blib/arch/auto/PDL/Drawing/Prima/Prima.so' for module PDL::Drawing::Prima: /home/haj/devel/perl/PDL-Drawing-Prima/blib/arch/auto/PDL/Drawing/Prima/Prima.so: undefined symbol: gimme_the_mate at /usr/lib/x86_64-linux-gnu/perl-base/DynaLoader.pm line 201.
#  at t/00-load-main.t line 8.
# Compilation failed in require at t/00-load-main.t line 8.
# BEGIN failed--compilation aborted at t/00-load-main.t line 8.
t/00-load-main.t ..... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests 
FAILED--Further testing stopped: Unable to load PDL::Drawing::Prima!
make: *** [Makefile:1057: test_dynamic] Error 255

The symbol gimme_the_mate is in my Prima.so, and Prima works just fine otherwise.

Inspecting the test files I noticed that they use Prima::noX11, but not Prima. If I add "use Prima;", then the tests pass. There have been no changes in that file, yet I know I had PDL::Drawing::Prima up and running last week. I have no clue what changed the behavior and what the correct fix would be.

I am using Perl 5.38.2 on Ubuntu 24.04.1 LTS in an X11 session... anything else I should add?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant