You are not logged in.

#1 2018-08-26 10:23:24

-MacNuke-
Member
Registered: 2013-01-29
Posts: 24

libperl.so missing (for PostgreSQL). What do I need?

Hello,

I already opened I bug report about this ( https://bugs.archlinux.org/task/59767 ) but it got closed with the comment "Not a bug - Covered by both optional deps and the base group."

But that does not help me much. Perl is installed and I don't know what I need additional to that.

$ ldd /usr/lib/postgresql/plperl.so still gives me:

	linux-vdso.so.1 (0x00007ffe8a110000)
	libperl.so => not found
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f14a81f6000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f14a8032000)
	/usr/lib64/ld-linux-x86-64.so.2 (0x00007f14a8271000)

Does anyone know what I need to install? edit: perl is installed.

Last edited by -MacNuke- (2018-08-26 10:27:03)

Offline

#2 2018-08-26 10:44:39

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 259
Website

Re: libperl.so missing (for PostgreSQL). What do I need?

What is the output of:

pacman -Qi perl 

Offline

#3 2018-08-26 10:47:53

-MacNuke-
Member
Registered: 2013-01-29
Posts: 24

Re: libperl.so missing (for PostgreSQL). What do I need?

Name            : perl
Version         : 5.28.0-1
Description     : A highly capable, feature-rich programming language
Architecture    : x86_64
URL             : http://www.perl.org
Licenses        : GPL  PerlArtistic
Groups          : base
Provides        : perl-archive-tar=2.30  perl-attribute-handlers=1.01  perl-autodie=2.29  perl-autoloader=5.74  perl-autouse=1.11  perl-b-debug=1.26  perl-base=2.27  perl-bignum=0.49
                  perl-carp=1.50  perl-compress-raw-bzip2=2.074  perl-compress-raw-zlib=2.076  perl-config-perl-v=0.29  perl-constant=1.33  perl-cpan-meta-requirements=2.140
                  perl-cpan-meta-yaml=0.018  perl-cpan-meta=2.150010  perl-cpan=2.20  perl-data-dumper=2.170  perl-db_file=1.840  perl-devel-ppport=3.40  perl-devel-selfstubber=1.06
                  perl-digest-md5=2.55  perl-digest-sha=6.01  perl-digest=1.17_01  perl-dumpvalue=1.18  perl-encode=2.97  perl-encoding-warnings=0.13  perl-env=1.04  perl-experimental=0.019
                  perl-exporter=5.73  perl-extutils-cbuilder=0.280230  perl-extutils-constant=0.25  perl-extutils-install=2.14  perl-extutils-makemaker=7.34  perl-extutils-manifest=1.70
                  perl-extutils-parsexs=3.39  perl-file-fetch=0.56  perl-file-path=2.15  perl-file-temp=0.2304  perl-filter-simple=0.95  perl-filter-util-call=1.58  perl-getopt-long=2.5
                  perl-http-tiny=0.070  perl-i18n-collate=1.02  perl-i18n-langtags=0.43  perl-if=0.0608  perl-io-compress=2.074  perl-io-socket-ip=0.39  perl-io-zlib=1.10  perl-io=1.39
                  perl-ipc-cmd=1.00  perl-ipc-sysv=2.07  perl-json-pp=2.97001  perl-lib=0.64  perl-libnet=3.11  perl-locale-codes=3.56  perl-locale-maketext-simple=0.21_01
                  perl-locale-maketext=1.29  perl-math-bigint-fastcalc=0.5006  perl-math-bigint=1.999811  perl-math-bigrat=0.2613  perl-math-complex=1.5901  perl-memoize=1.03_01
                  perl-mime-base64=3.15  perl-module-corelist=5.20180622  perl-module-load-conditional=0.68  perl-module-load=0.32  perl-module-loaded=0.08  perl-module-metadata=1.000033
                  perl-net-ping=2.62  perl-params-check=0.38  perl-parent=0.236  perl-pathtools=3.74  perl-perl-ostype=1.010  perl-perlfaq=5.021011  perl-perlio-via-quotedprint=0.08
                  perl-pod-checker=1.73  perl-pod-escapes=1.07  perl-pod-parser=1.63  perl-pod-perldoc=3.2801  perl-pod-simple=3.35  perl-pod-usage=1.69  perl-podlators=5.006  perl-safe=2.40
                  perl-scalar-list-utils=1.50  perl-search-dict=1.07  perl-selfloader=1.25  perl-socket=2.027  perl-storable=3.08  perl-sys-syslog=0.35  perl-term-ansicolor=4.06
                  perl-term-cap=1.17  perl-term-complete=1.403  perl-term-readline=1.17  perl-test-harness=3.42  perl-test-simple=1.302133  perl-test=1.31  perl-text-abbrev=1.02
                  perl-text-balanced=2.03  perl-text-parsewords=3.30  perl-text-tabs=2013.0523  perl-thread-queue=3.12  perl-thread-semaphore=2.13  perl-threads-shared=1.58
                  perl-threads=2.22  perl-tie-file=1.02  perl-tie-refhash=1.39  perl-time-hires=1.9759  perl-time-local=1.25  perl-time-piece=1.3204  perl-unicode-collate=1.25
                  perl-unicode-normalize=1.26  perl-version=0.9923  perl-xsloader=0.30
Depends On      : gdbm  db  glibc
Optional Deps   : None
Required By     : atool  automake  ebtables  git  gperftools  groff  hspell  hyphen  i2c-tools  lm_sensors  numactl  openssl  openssl-1.0  perl-digest-hmac  perl-digest-sha1  perl-error
                  perl-file-which  perl-image-exiftool  perl-net-ip  perl-parse-yapp  perl-rename  perl-text-iconv  perl-timedate  perl-x11-protocol  perl-xml-parser  perl-xml-twig  r  rsync
                  strace  texinfo  texlive-core  tigervnc  valgrind
Optional For    : aspell  gd  graphviz  hunspell  jemalloc  libproxy  libytnef  postgresql  qpdf  vim
Conflicts With  : None
Replaces        : None
Installed Size  : 57.47 MiB
Packager        : Florian Pritz <bluewind@xinu.at>
Build Date      : Wed Aug 1 10:43:05 2018
Install Date    : Wed Aug 8 09:04:48 2018
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

Offline

#4 2018-08-26 11:22:08

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 259
Website

Re: libperl.so missing (for PostgreSQL). What do I need?

I just installed postgresql myself from the repos, and it does indeed not seem to find libperl.so. I assume something is misconfigured in the PKGBUILD for the official package, since I attempted to rebuild it myself and it still does not find it.

I am personally not knowledgeable enough about packaging to spot the issue, but postgresql-git in the aur builds and finds libperl.so. I would suggest that you request a reopen of the bug, while also providing the output of pacman -Qi postgresql, which should indicate you have the optional dependencies installed.

Offline

#5 2018-08-26 11:24:10

-MacNuke-
Member
Registered: 2013-01-29
Posts: 24

Re: libperl.so missing (for PostgreSQL). What do I need?

Okay thanks. Will do it.

edit (added postgresql installation info for completeness):

Name            : postgresql
Version         : 10.5-1
Description     : Sophisticated object-relational DBMS
Architecture    : x86_64
URL             : https://www.postgresql.org/
Licenses        : custom:PostgreSQL
Groups          : None
Provides        : None
Depends On      : postgresql-libs>=10.5  krb5  libxml2  readline>=6.0  openssl>=1.0.0  pam
                  icu  libsystemd  libldap
Optional Deps   : python2: for PL/Python 2 support [installed]
                  python: for PL/Python 3 support [installed]
                  perl: for PL/Perl support [installed]
                  tcl: for PL/Tcl support [installed]
                  postgresql-old-upgrade: upgrade from previous major version using pg_upgrade
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 29.19 MiB
Packager        : Levente Polyak <anthraxx@archlinux.org>
Build Date      : Sun Aug 12 17:39:57 2018
Install Date    : Sun Aug 26 12:16:25 2018
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

Last edited by -MacNuke- (2018-08-26 11:26:38)

Offline

Board footer

Powered by FluxBB