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

incompatible RPM with CentOS 7 [CORE5933] #6190

Open
firebird-automations opened this issue Oct 1, 2018 · 5 comments
Open

incompatible RPM with CentOS 7 [CORE5933] #6190

firebird-automations opened this issue Oct 1, 2018 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Luděk Janča (joelp)

I have problem with error "bad parameters on attach or create database CHARACTER SET WIN1250 is not defined" which is "solved" here CORE5925

So, I tried to install original RPM from http://firebirdsql.org. This package is incompatible with CentOS 7:

yum install FirebirdSS-2.5.8.27089-0.amd64.rpm
Loaded plugins: fastestmirror
Examining FirebirdSS-2.5.8.27089-0.amd64.rpm: FirebirdSS-2.5.8.27089-0.amd64
Cannot add package FirebirdSS-2.5.8.27089-0.amd64.rpm to transaction. Not a compatible architecture: amd64
Error: Nothing to do

Why isn't here x86_64?

When I try to use rpm utility, it returns:
rpm -ivh FirebirdSS-2.5.8.27089-0.amd64.rpm
Preparing... #⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠#⁠ [100%]
file / from install of FirebirdSS-2.5.8.27089-0.amd64 conflicts with file from package filesystem-3.2-25.el7.x86_64
file /usr/lib64 from install of FirebirdSS-2.5.8.27089-0.amd64 conflicts with file from package filesystem-3.2-25.el7.x86_64

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

When 17 years ago we started to provide binaries in rpm format we did not know that it will become so different for various linux distro. Sorry, our project can't provide rpms (we finally stopped doing this since FB3). Please use .tar.gz instead. Among other it correctly detects what directory to use - lib or lib64.

@firebird-automations
Copy link
Collaborator Author

Commented by: @mrotteveel

Note that amd64 **is** x86_64.

@firebird-automations
Copy link
Collaborator Author

Commented by: Luděk Janča (joelp)

That's sad. Coz when it works from tarball, it should works from RPM. RPM can be just about copy binaries here, config here and init scripts here.

And what about docker containers? Are you planing it? Easy to build image, easy to deploy. And works everywhere. Easy example of dockerfile can see here:
https://hub.docker.com/r/jacobalberty/firebird/~/dockerfile/

And about amd64 vs x86_64. Yes, both are 64bit. But as you can see above amd64 !== x86_64.

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Mark, to be precise x86_64 is amd64 - under amd64 name this architecture arrived (compare ia64).

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Luděk, I use docker a lot, including with Firebird.

I think it would be good if the project has a official image, but anyway, it's so easy to do it manually and customized the way each one wants...

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

No branches or pull requests

1 participant