ibarwick / firebird_fdw

A PostgreSQL foreign data wrapper (FDW) for Firebird - latest version 1.4.0 (2024-05-11)
https://sql-info.de/postgresql/firebird-fdw/index.html
Other
36 stars 9 forks source link

firebird_fdw and new libfq version #6

Closed banguzun closed 5 years ago

banguzun commented 5 years ago

the postgresql10-firebird_fdw package requires libfq-0.2.0.so dependency. But the libfq current version is 0.3.0 (updated 28.09.18). Thus it is impossible to install the postgresql10-firebird_fdw package from repo.

Resolving Dependencies --> Running transaction check ---> Package postgresql10-firebird_fdw.x86_64 0:0.3.0-1 will be installed --> Processing Dependency: libfq for package: postgresql10-firebird_fdw-0.3.0-1.x86_64 --> Processing Dependency: libfq-0.2.0.so()(64bit) for package: postgresql10-firebird_fdw-0.3.0-1.x86_64 --> Running transaction check ---> Package libfq.x86_64 0:0.3.0-1 will be installed ---> Package postgresql10-firebird_fdw.x86_64 0:0.3.0-1 will be installed --> Processing Dependency: libfq-0.2.0.so()(64bit) for package: postgresql10-firebird_fdw-0.3.0-1.x86_64 --> Finished Dependency Resolution Error: Package: postgresql10-firebird_fdw-0.3.0-1.x86_64 (ibarwick-firebird_fdw) Requires: libfq-0.2.0.so()(64bit)

Installing package libfq.x86_64 0:0.3.0-1 does not solve the problem, since libfq-0.3.0.so file is being installed.

ibarwick commented 5 years ago

firebird_fdw 0.4.0 is now released, which resolves this issue.

# yum install -y postgresql10-firebird_fdw 
...
--> Running transaction check
---> Package postgresql10-firebird_fdw.x86_64 0:0.4.0-1 will be installed
--> Processing Dependency: libfq for package: postgresql10-firebird_fdw-0.4.0-1.x86_64
--> Processing Dependency: libfq-0.3.0.so()(64bit) for package: postgresql10-firebird_fdw-0.4.0-1.x86_64
--> Running transaction check
---> Package libfq.x86_64 0:0.3.0-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================
 Package                       Arch       Version     Repository                 Size
======================================================================================
Installing:
 postgresql10-firebird_fdw     x86_64     0.4.0-1     ibarwick-firebird_fdw      32 k
Installing for dependencies:
 libfq                         x86_64     0.3.0-1     ibarwick-libfq             37 k

Transaction Summary
======================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 69 k
Installed size: 188 k
Downloading packages:
(1/2): postgresql10-firebird_fdw-0.4.0-1.x86_64.rpm            |  32 kB  00:00:00     
(2/2): libfq-0.3.0-1.x86_64.rpm                                |  37 kB  00:00:01     
--------------------------------------------------------------------------------------
Total                                                     66 kB/s |  69 kB  00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libfq-0.3.0-1.x86_64                                               1/2 
  Installing : postgresql10-firebird_fdw-0.4.0-1.x86_64                           2/2 
  Verifying  : libfq-0.3.0-1.x86_64                                               1/2 
  Verifying  : postgresql10-firebird_fdw-0.4.0-1.x86_64                           2/2 

Installed:
  postgresql10-firebird_fdw.x86_64 0:0.4.0-1                                          

Dependency Installed:
  libfq.x86_64 0:0.3.0-1
banguzun commented 5 years ago

Thank you very much, everything works!