[MCOL-3309] 1.2.2/1.2.3 Ubuntu 18 debian packages failed to install - libboost dep issue Created: 2019-05-14  Updated: 2019-05-16  Resolved: 2019-05-16

Status: Closed
Project: MariaDB ColumnStore
Component/s: Build
Affects Version/s: 1.2.3
Fix Version/s: Icebox

Type: Bug Priority: Major
Reporter: David Hill (Inactive) Assignee: Andrew Hutchings (Inactive)
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

Ubuntu 18



 Description   

Customer reported and reproduced when install 1.2.2 debina packages onto Ubuntu 18.04 system, the received the below dependency error for libboost.

dpkg -i mariadb-columnstore*1.2.3-1*.deb
(Reading database ... 137552 files and directories currently installed.)
Preparing to unpack mariadb-columnstore-1.2.3-1-amd64-client.deb ...
Unpacking mariadb-columnstore-client (1.2.3-1) over (1.2.2) ...
Preparing to unpack mariadb-columnstore-1.2.3-1-amd64-common.deb ...
Unpacking mariadb-columnstore-common (1.2.3-1) over (1.2.2) ...
Preparing to unpack mariadb-columnstore-1.2.3-1-amd64-gssapi-server.deb ...
Unpacking mariadb-columnstore-gssapi-server (1.2.3-1) over (1.2.2) ...
Preparing to unpack mariadb-columnstore-1.2.3-1-amd64-libs.deb ...
Unpacking mariadb-columnstore-libs (1.2.3-1) over (1.2.2) ...
Preparing to unpack mariadb-columnstore-1.2.3-1-amd64-platform.deb ...
/usr/local/mariadb/columnstore/bin/getConfig: error while loading shared libraries: libboost_system.so.1.58.0: cannot open shared object file: No such file or directory

Ubuntu 18.04 latest version of boost is 1.65. Looks like cmake needs to be updated



 Comments   
Comment by Andrew Hutchings (Inactive) [ 2019-05-16 ]

Lots to unpack here, so...

1. Don't install Debian's packages on Ubuntu. You need to install Ubuntu's packages.
2. If you are install Ubuntu's packages you are installing the wrong ones for your OS (I'm guessing the 16.04 packages).
3. Boost version is nothing to do with CMake, it is OS dependent (and is version pinned by the OS)
4. You didn't install all the packages there so I'm guessing you have some in a mixed/bad state.
5. The correct 18.04 packages work fine:

$ ldd /usr/local/mariadb/columnstore/bin/getConfig
...
        libboost_system.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.65.1 (0x00007fd6d3b4f000)
        libboost_filesystem.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.65.1 (0x00007fd6d3935000)
        libboost_thread.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.65.1 (0x00007fd6d3710000)
        libboost_regex.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.65.1 (0x00007fd6d3408000)
        libboost_date_time.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.65.1 (0x00007fd6d31f7000)
        libboost_chrono.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.65.1 (0x00007fd6d2ff2000)
        libboost_atomic.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.65.1 (0x00007fd6d2df0000)
...

Generated at Thu Feb 08 02:41:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.