# paraview: error while loading shared libraries: libpdal\_base.so.13: cannot open shared object file

**URL:** https://discourse.paraview.org/t/paraview-error-while-loading-shared-libraries-libpdal-base-so-13-cannot-open-shared-object-file/14000
**Category:** ParaView Support
**Created:** [February 23, 2024, 10:20am UTC](https://discourse.paraview.org/t/paraview-error-while-loading-shared-libraries-libpdal-base-so-13-cannot-open-shared-object-file/14000 "2024-02-23T10:20:00Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![gazzafield](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/fbc32d/32.png) [@gazzafield](https://discourse.paraview.org/u/gazzafield)
#### Post date: [February 23, 2024, 10:20am UTC](https://discourse.paraview.org/t/paraview-error-while-loading-shared-libraries-libpdal-base-so-13-cannot-open-shared-object-file/14000/1 "2024-02-23T10:20:00Z")

</div>

I have installed Paraview Version 10 on Ubuntu v22.04LTS

When attempting to run Paraview for the first time:-

./bin/pvserver

The following error occurs:-

paraview: error while loading shared libraries: [libpdal\_base.so](http://libpdal_base.so/).13: cannot open shared object file: No such file or directory

I have tried to install libpdal\_base13 however Ubuntu proudly reports that the latest version is already installed whixh is libpdal\_base15.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 23, 2024, 10:25am UTC](https://discourse.paraview.org/t/paraview-error-while-loading-shared-libraries-libpdal-base-so-13-cannot-open-shared-object-file/14000/2 "2024-02-23T10:25:18Z")

</div>

Please use latest ParaView binary release from [https://paraview.org/download](https://paraview.org/download)

---

<div class="post-metadata">

### Author: ![gazzafield](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/fbc32d/32.png) [@gazzafield](https://discourse.paraview.org/u/gazzafield)
#### Post date: [February 23, 2024, 11:35am UTC](https://discourse.paraview.org/t/paraview-error-while-loading-shared-libraries-libpdal-base-so-13-cannot-open-shared-object-file/14000/3 "2024-02-23T11:35:19Z")

</div>

Download latest release candidate. Extracted the file.

Entered the directory that was created:- ParaView-5.12.0-RC3-MPI-Linux-Python3.10-x86\_64

cd bin  
./paraview

No change. Same error.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 23, 2024, 1:00pm UTC](https://discourse.paraview.org/t/paraview-error-while-loading-shared-libraries-libpdal-base-so-13-cannot-open-shared-object-file/14000/4 "2024-02-23T13:00:50Z")

</div>

what is the output of `printenv` ?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [February 26, 2024, 1:50am UTC](https://discourse.paraview.org/t/paraview-error-while-loading-shared-libraries-libpdal-base-so-13-cannot-open-shared-object-file/14000/5 "2024-02-26T01:50:16Z")

</div>

I do not see any reference to `libpdal_base.so.13` in the 5.12.0-RC3 package. Does running with the `--dr` flag work (i.e., `paraview --dr`)? If so, your configuration may be trying to load a plugin that was compiled against an older ParaView (where `libpdal_base.so.13` did exist).

---

<div class="post-metadata">

### Author: ![gazzafield](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/fbc32d/32.png) [@gazzafield](https://discourse.paraview.org/u/gazzafield)
#### Post date: [February 29, 2024, 8:10am UTC](https://discourse.paraview.org/t/paraview-error-while-loading-shared-libraries-libpdal-base-so-13-cannot-open-shared-object-file/14000/6 "2024-02-29T08:10:06Z")

</div>

Output of printenv:-

SHELL=/bin/bash  
LANGUAGE=en\_GB:en  
GTK\_MODULES=appmenu-gtk-module  
PWD=/media/8TB-LOCAL-VOLUME/User\_Homes/tech/Downloads/ParaView-5.12.0-RC3-MPI-Linux-Python3.10-x86\_64/bin  
LOGNAME=tech  
XDG\_SESSION\_TYPE=tty  
MOTD\_SHOWN=pam  
HOME=/media/8TB-LOCAL-VOLUME/User\_Homes/tech  
LANG=en\_GB.UTF-8  
SSH\_CONNECTION=130.209.26.149 49753 130.209.26.216 22  
XDG\_SESSION\_CLASS=user  
TERM=xterm-256color  
LIBVIRT\_DEFAULT\_URI=qemu:///system  
USER=tech  
SHLVL=1  
UBUNTU\_MENUPROXY=1  
XDG\_SESSION\_ID=357  
XDG\_RUNTIME\_DIR=/run/user/1000  
SSH\_CLIENT=130.209.26.149 49753 22  
XDG\_DATA\_DIRS=/media/8TB-LOCAL-VOLUME/User\_Homes/tech/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop  
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin  
DBUS\_SESSION\_BUS\_ADDRESS=unix:path=/run/user/1000/bus  
SSH\_TTY=/dev/pts/0  
OLDPWD=/media/8TB-LOCAL-VOLUME/User\_Homes/tech/Downloads/ParaView-5.12.0-RC3-MPI-Linux-Python3.10-x86\_64  
\_=/usr/bin/printenv

---

<div class="post-metadata">

### Author: ![gazzafield](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/fbc32d/32.png) [@gazzafield](https://discourse.paraview.org/u/gazzafield)
#### Post date: [February 29, 2024, 8:12am UTC](https://discourse.paraview.org/t/paraview-error-while-loading-shared-libraries-libpdal-base-so-13-cannot-open-shared-object-file/14000/7 "2024-02-29T08:12:25Z")

</div>

Running pvserver or paravieww qith --dr makes no difference.

This is a fresh installation of Ubuntu v22.04 LTS (MATE) on a new Workstation with many and varied Apps and all updates installed. I have installed Paraview v5.10, which did not run correctly, and have downloaded the latest Release Candidate and tried that as suggested.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [February 29, 2024, 11:20am UTC](https://discourse.paraview.org/t/paraview-error-while-loading-shared-libraries-libpdal-base-so-13-cannot-open-shared-object-file/14000/8 "2024-02-29T11:20:22Z")

</div>

That is strange…we need to find what thinks it needs `libpdal_base.so.13`. Do you see any reference in the ParaView tree (`grep -alR pdal_base /path/to/pv/extracted/package` may result in some files; their paths and the output of `readelf -d $path` on each would be useful)?

If that comes up empty, tracing loaded libraries with `LD_DEBUG=libs` in the environment may provide hints as to what wants it in its output.

---

<div class="post-metadata">

### Author: ![gazzafield](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/fbc32d/32.png) [@gazzafield](https://discourse.paraview.org/u/gazzafield)
#### Post date: [March 4, 2024, 3:17pm UTC](https://discourse.paraview.org/t/paraview-error-while-loading-shared-libraries-libpdal-base-so-13-cannot-open-shared-object-file/14000/9 "2024-03-04T15:17:56Z")

</div>

Output of grep:-

grep -alR pdal\_base /media/8TB-LOCAL-VOLUME/User\_Homes/tech/Downloads/ParaView-5.12.0-RC3-MPI-Linux-Python3.10-x86\_64  
/media/8TB-LOCAL-VOLUME/User\_Homes/tech/Downloads/ParaView-5.12.0-RC3-MPI-Linux-Python3.10-x86\_64/lib/libvtkIOPDAL-pv5.12.so.1  
/media/8TB-LOCAL-VOLUME/User\_Homes/tech/Downloads/ParaView-5.12.0-RC3-MPI-Linux-Python3.10-x86\_64/lib/libvtkIOPDAL-pv5.12.so.5.12  
/media/8TB-LOCAL-VOLUME/User\_Homes/tech/Downloads/ParaView-5.12.0-RC3-MPI-Linux-Python3.10-x86\_64/lib/libpdal\_base.so.15  
/media/8TB-LOCAL-VOLUME/User\_Homes/tech/Downloads/ParaView-5.12.0-RC3-MPI-Linux-Python3.10-x86\_64/lib/libvtkIOPDAL-pv5.12.so  
/media/8TB-LOCAL-VOLUME/User\_Homes/tech/Downloads/ParaView-5.12.0-RC3-MPI-Linux-Python3.10-x86\_64/lib/libpdal\_base.so.15.6.0  
/media/8TB-LOCAL-VOLUME/User\_Homes/tech/Downloads/ParaView-5.12.0-RC3-MPI-Linux-Python3.10-x86\_64/lib/libpdal\_base.so

Is the command LD\_DEBUG=libs simply run as that? If so, it returned nothing at all.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [March 4, 2024, 5:33pm UTC](https://discourse.paraview.org/t/paraview-error-while-loading-shared-libraries-libpdal-base-so-13-cannot-open-shared-object-file/14000/10 "2024-03-04T17:33:58Z")

</div>

> [@ben.boeckel](#):
>
> `with `LD_DEBUG=libs` in the environment`
> 
> ```auto
> ^^^^^^^^^^^^^^^^^^
> 
> ```

🙂

> [@gazzafield](#):
>
> grep -alR pdal\_base

OK; can you provide `readelf -d $path` on each result? These should all be `.so.15`, not `.so.13`.

---

<div class="post-metadata">

### Author: ![gazzafield](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/fbc32d/32.png) [@gazzafield](https://discourse.paraview.org/u/gazzafield)
#### Post date: [March 5, 2024, 1:31pm UTC](https://discourse.paraview.org/t/paraview-error-while-loading-shared-libraries-libpdal-base-so-13-cannot-open-shared-object-file/14000/11 "2024-03-05T13:31:45Z")

</div>

There’s A LOT of info on these so I have supplied the result of the first two:-

tech@Ubuntu-MATE-22:~$ readelf -d /media/8TB-LOCAL-VOLUME/User\_Homes/tech/Downloads/ParaView-5.12.0-RC3-MPI-Linux-Python3.10-x86\_64/lib/libvtkIOPDAL-pv5.12.so.1

Dynamic section at offset 0x13c30 contains 46 entries:  
Tag Type Name/Value  
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]  
0x0000000000000001 (NEEDED) Shared library: [libvtkFiltersGeneral-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libpdal\_base.so.15]  
0x0000000000000001 (NEEDED) Shared library: [libvtkFiltersCore-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtkCommonExecutionModel-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtkCommonDataModel-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtkCommonMisc-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtkCommonTransforms-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtkCommonMath-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtkkissfft-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtkCommonCore-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtktoken-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]  
0x0000000000000001 (NEEDED) Shared library: [libtbb.so.12]  
0x0000000000000001 (NEEDED) Shared library: [libgomp.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtksys-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]  
0x0000000000000001 (NEEDED) Shared library: [libpdal\_util.so.15]  
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]  
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]  
0x0000000000000001 (NEEDED) Shared library: [libgcc\_s.so.1]  
0x000000000000000e (SONAME) Library soname: [libvtkIOPDAL-pv5.12.so.1]  
0x000000000000000f (RPATH) Library rpath: [$ORIGIN:ORIGIN/../lib] 0x000000000000000c (INIT) 0x6000 0x000000000000000d (FINI) 0x10e78 0x0000000000000019 (INIT\_ARRAY) 0x147b0 0x000000000000001b (INIT\_ARRAYSZ) 16 (bytes) 0x000000000000001a (FINI\_ARRAY) 0x147c0 0x000000000000001c (FINI\_ARRAYSZ) 8 (bytes) 0x000000006ffffef5 (GNU\_HASH) 0x260 0x0000000000000005 (STRTAB) 0x1790 0x0000000000000006 (SYMTAB) 0x338 0x000000000000000a (STRSZ) 8631 (bytes) 0x000000000000000b (SYMENT) 24 (bytes) 0x0000000000000003 (PLTGOT) 0x15000 0x0000000000000002 (PLTRELSZ) 2904 (bytes) 0x0000000000000014 (PLTREL) RELA 0x0000000000000017 (JMPREL) 0x4970 0x0000000000000007 (RELA) 0x3bc0 0x0000000000000008 (RELASZ) 3504 (bytes) 0x0000000000000009 (RELAENT) 24 (bytes) 0x000000006ffffffe (VERNEED) 0x3b00 0x000000006fffffff (VERNEEDNUM) 4 0x000000006ffffff0 (VERSYM) 0x3948 0x000000006ffffff9 (RELACOUNT) 43 0x0000000000000000 (NULL) 0x0 tech@Ubuntu-MATE-22:~ readelf -d /media/8TB-LOCAL-VOLUME/User\_Homes/tech/Downloads/ParaView-5.12.0-RC3-MPI-Linux-Python3.10-x86\_64/lib/libvtkIOPDAL-pv5.12.so.5.12

Dynamic section at offset 0x13c30 contains 46 entries:  
Tag Type Name/Value  
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]  
0x0000000000000001 (NEEDED) Shared library: [libvtkFiltersGeneral-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libpdal\_base.so.15]  
0x0000000000000001 (NEEDED) Shared library: [libvtkFiltersCore-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtkCommonExecutionModel-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtkCommonDataModel-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtkCommonMisc-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtkCommonTransforms-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtkCommonMath-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtkkissfft-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtkCommonCore-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtktoken-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]  
0x0000000000000001 (NEEDED) Shared library: [libtbb.so.12]  
0x0000000000000001 (NEEDED) Shared library: [libgomp.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libvtksys-pv5.12.so.1]  
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]  
0x0000000000000001 (NEEDED) Shared library: [libpdal\_util.so.15]  
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]  
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]  
0x0000000000000001 (NEEDED) Shared library: [libgcc\_s.so.1]  
0x000000000000000e (SONAME) Library soname: [libvtkIOPDAL-pv5.12.so.1]  
0x000000000000000f (RPATH) Library rpath: [$ORIGIN:ORIGIN/../lib] 0x000000000000000c (INIT) 0x6000 0x000000000000000d (FINI) 0x10e78 0x0000000000000019 (INIT\_ARRAY) 0x147b0 0x000000000000001b (INIT\_ARRAYSZ) 16 (bytes) 0x000000000000001a (FINI\_ARRAY) 0x147c0 0x000000000000001c (FINI\_ARRAYSZ) 8 (bytes) 0x000000006ffffef5 (GNU\_HASH) 0x260 0x0000000000000005 (STRTAB) 0x1790 0x0000000000000006 (SYMTAB) 0x338 0x000000000000000a (STRSZ) 8631 (bytes) 0x000000000000000b (SYMENT) 24 (bytes) 0x0000000000000003 (PLTGOT) 0x15000 0x0000000000000002 (PLTRELSZ) 2904 (bytes) 0x0000000000000014 (PLTREL) RELA 0x0000000000000017 (JMPREL) 0x4970 0x0000000000000007 (RELA) 0x3bc0 0x0000000000000008 (RELASZ) 3504 (bytes) 0x0000000000000009 (RELAENT) 24 (bytes) 0x000000006ffffffe (VERNEED) 0x3b00 0x000000006fffffff (VERNEEDNUM) 4 0x000000006ffffff0 (VERSYM) 0x3948 0x000000006ffffff9 (RELACOUNT) 43 0x0000000000000000 (NULL) 0x0 tech@Ubuntu-MATE-22:~

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 7, 2024, 1:44pm UTC](https://discourse.paraview.org/t/paraview-error-while-loading-shared-libraries-libpdal-base-so-13-cannot-open-shared-object-file/14000/12 "2024-03-07T13:44:29Z")

</div>

> [@gazzafield](#):
>
> 0x0000000000000001 (NEEDED) Shared library: [libpdal\_base.so.15]

I confirm that the libs in the package are pointing to the right `libpdal_base.so.15`

Something else must be amiss in @gazzafield environnement.
