Skip to content

Commit 59d2c5c

Browse files
committed
Depend on libsqlite3-0.
pgloader --regress allcols.load debugger invoked on a SIMPLE-ERROR in thread #<THREAD "main thread" RUNNING {10070C8003}>: Error opening shared object "libsqlite3.so.0": libsqlite3.so.0: cannot open shared object file: No such file or directory.
1 parent 350bcc0 commit 59d2c5c

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
pgloader (3.6.7-2) UNRELEASED; urgency=medium
2+
3+
* Depend on libsqlite3-0.
4+
5+
-- Christoph Berg <[email protected]> Mon, 26 Sep 2022 11:09:44 +0200
6+
17
pgloader (3.6.7-1) unstable; urgency=medium
28

39
* New upstream version:

debian/control

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,13 @@ Build-Depends:
5050
debhelper-compat (= 13),
5151
gawk,
5252
help2man,
53+
libsqlite3-dev,
5354
postgresql-14-ip4r <!nocheck> | postgresql-ip4r <!nocheck>,
5455
python3-sphinx,
5556
python3-sphinx-rtd-theme,
5657
sbcl (>= 1.1.13),
5758
tzdata,
58-
Standards-Version: 4.5.0
59+
Standards-Version: 4.6.0
5960
Homepage: https://github.com/dimitri/pgloader
6061
Vcs-Git: https://github.com/dimitri/pgloader.git
6162
Vcs-Browser: https://github.com/dimitri/pgloader
@@ -66,6 +67,7 @@ Depends:
6667
freetds-dev,
6768
${misc:Depends},
6869
${shlibs:Depends},
70+
${sqlite:Depends},
6971
${ssl:Depends},
7072
Description: extract, transform and load data into PostgreSQL
7173
pgloader imports data from different kind of sources and COPY it into

debian/rules

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
include /usr/share/dpkg/pkg-info.mk
44

5+
# get libsqlite3 package name from libsqlite3-dev
6+
LIBSQLITE := $(shell dpkg-query --showformat='$${Depends}' --show libsqlite3-dev | grep -o 'libsqlite[^ ]*')
57
# make pgloader depend on the libssl package cl-plus-ssl depends on
68
LIBSSL := $(shell dpkg-query --showformat='$${Depends}' --show cl-plus-ssl | grep -o 'libssl[^ ]*')
79

@@ -64,7 +66,9 @@ override_dh_installman-arch:
6466
debian/pgloader/usr/share/man/man1/pgloader.1
6567

6668
override_dh_gencontrol:
67-
dh_gencontrol -- -V"ssl:Depends=$(LIBSSL)"
69+
dh_gencontrol -- \
70+
-V"sqlite:Depends=$(LIBSQLITE)" \
71+
-V"ssl:Depends=$(LIBSSL)"
6872

6973
%:
7074
dh $@

0 commit comments

Comments
 (0)