Skip to content

'Undefined symbol' at runtime (ArchLinux) #2

@vitaminwater

Description

@vitaminwater

Hi,

Got a small issue when installing WiringPi-Ruby, all compilation and gem installation went well (except the include path to the WiringPi headers were wrong (?)).
But when I tried running it I got 'Undefined symbol' for wiringPiSetup, after checking with nm,
none of the WiringPi functions were "linked" inside the .so.
But all this seems "normal" as neither the Makefile nor any other files have anything related to libwiringpi.a;
which makes me think that I've done something wrong...

I ended up modifying the Makefile created by ruby :/ to explicitly link to libwiringpi..
Looks like everything works now, but I still feel like something is wrong :/

Thanks for your work !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions