Hi,
Nikita Karetnikov <[email protected]> skribis:
>> Could it be that libattr.so is a dangling symlink? Try ‘ls -l’.
>
> You're right.
>
> # ls -l /nix/store/l2flx95wgcf0i7nlivgz7p4z8h8qfkak-attr-2.4.46/lib
> total 8
> libattr.a ->
> /nix/store/l2flx95wgcf0i7nlivgz7p4z8h8qfkak-attr-2.4.46/libexec/libattr.a
> libattr.la ->
> /nix/store/l2flx95wgcf0i7nlivgz7p4z8h8qfkak-attr-2.4.46/libexec/libattr.la
> libattr.so -> libattr.so.1
Yes, Nixpkgs[0] has this:
installTargets = "install install-lib install-dev";
Meaning that “make install” alone isn’t enough. So I’d recommend doing
the same, basically. :-)
When in doubt, checking how others do it is often helpful (not always,
because sometimes they were just as clueless ;-)).
HTH,
Ludo’.
PS: IRC may be more appropriate for this kind of debugging. I’m often
on #guix and #guile on Freenode, if that’s an option for you.
[0]
https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/attr/default.nix