Skip to content

libregex-1cae1bee-0.11-pre.so: No such file or directory #13900

Closed
@suhr

Description

@suhr

I'm trying to use a regex library. But when I try to compile the code, this happens:

% rustc main.rs
refix/fixset.rs:2:18: 2:44 error: libregex-1cae1bee-0.11-pre.so: cannot open shared object file: No such file or directory
refix/fixset.rs:2 #[phase(syntax)] extern crate regex_macros;
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~

Setting a library path by -L /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/ doesn't help. But the file libregex-1cae1bee-0.11-pre.so exists:

% du -h /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libregex-1cae1bee-0.11-pre.so
376K    /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libregex-1cae1bee-0.11-pre.so

Also, the code: https://gist.github.com/suhr/11207656 (there may be some errors, but I'm interested about this issue).

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