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

Installing generated rpm on a clean centos (6.6 and 7.0) #484

Closed
behrad opened this issue Feb 7, 2015 · 5 comments
Closed

Installing generated rpm on a clean centos (6.6 and 7.0) #484

behrad opened this issue Feb 7, 2015 · 5 comments
Labels

Comments

@behrad
Copy link

behrad commented Feb 7, 2015

I tested rpm:packageBin on both cent 6.6 and 7.0 and got the following installation error:

[root@myServer ~]# rpm -ivh adp-pardis-1.0-1.x86_64.rpm 
error: Failed dependencies:
    libc.so.6 is needed by adp-pardis-1.0-1.x86_64
    libc.so.6(GLIBC_2.0) is needed by adp-pardis-1.0-1.x86_64
    libc.so.6(GLIBC_2.1) is needed by adp-pardis-1.0-1.x86_64
    libc.so.6(GLIBC_2.1.2) is needed by adp-pardis-1.0-1.x86_64
    libc.so.6(GLIBC_2.1.3) is needed by adp-pardis-1.0-1.x86_64
    libc.so.6(GLIBC_2.2) is needed by adp-pardis-1.0-1.x86_64
    libc.so.6(GLIBC_2.2)(64bit) is needed by adp-pardis-1.0-1.x86_64
    libc.so.6(GLIBC_2.3) is needed by adp-pardis-1.0-1.x86_64
    libc.so.6.1()(64bit) is needed by adp-pardis-1.0-1.x86_64
    libc.so.6.1(GLIBC_2.2)(64bit) is needed by adp-pardis-1.0-1.x86_64
    libc.so.6.1(GLIBC_2.3)(64bit) is needed by adp-pardis-1.0-1.x86_64
    libkstat.so.1 is needed by adp-pardis-1.0-1.x86_64
    libkstat.so.1()(64bit) is needed by adp-pardis-1.0-1.x86_64
    libkstat.so.1(SUNW_0.7) is needed by adp-pardis-1.0-1.x86_64
    libkstat.so.1(SUNW_0.7)(64bit) is needed by adp-pardis-1.0-1.x86_64
    libkvm.so.2 is needed by adp-pardis-1.0-1.x86_64
    libkvm.so.3 is needed by adp-pardis-1.0-1.x86_64
    libkvm.so.3()(64bit) is needed by adp-pardis-1.0-1.x86_64
    libnm.so is needed by adp-pardis-1.0-1.x86_64
    libnsl.so.1 is needed by adp-pardis-1.0-1.x86_64

I couldn't find any documentation about which packages should be already installed by hand on deployment :(

@muuki88
Copy link
Contributor

muuki88 commented Feb 7, 2015

This doesn't look like a sbt-native-packager problem, as the rpm by default has no requirements. You have to define them explicitly. Can you post a build.sbt (or a small project) to reproduce this.

@muuki88 muuki88 added the rpm label Feb 7, 2015
@behrad
Copy link
Author

behrad commented Feb 7, 2015

@muuki88 these look like dev tools packages, shall I install development tools group on the fresh centOS?

@muuki88
Copy link
Contributor

muuki88 commented Feb 8, 2015

I don't know. What are you packaging? By default the rpmPrerequisites and rpmRequierements are empty, so the installation doesn't check for anything. Your rpm seems to require adp-pardis-1.0-1.x86_64 for some reason. So a small example project to reproduce this or to see the config would be very helpful.

You are building it for a certain architecture as well (x86_64), so you include native libraries, right?

@muuki88
Copy link
Contributor

muuki88 commented Apr 17, 2015

@behrad any updates on this?

@behrad
Copy link
Author

behrad commented Apr 17, 2015

actually haven't time to test this yet... will let you know...

@muuki88 muuki88 closed this as completed Mar 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants