[odb-users] libsqlite3-1.so => not found
Javier Gutierrez
javier.gutierrez at web.de
Thu Nov 17 06:57:19 EST 2022
Hello Boris,
Hope this mail finds you well.
I am trying to install odb on a brand new Ubuntu 22.04 box. But after
installation I see the libraries somehow "lose" their dependencies. Here is
what I mean:
For the installation I follow Installing ODB with build2 (codesynthesis.com)
<https://www.codesynthesis.com/products/odb/doc/install-build2.xhtml#linux-b
uild2>
In the section 1.3 Building ODB Runtime Libraries, in my folder
"/home/user1/odb/odb-build/libodb-gcc-11" I run the following:
# bpkg build libodb-sqlite
.
# ldd ./libodb-sqlite-2.5.0-b.23/odb/sqlite/libodb-sqlite-2.5.0-b.23.so
linux-vdso.so.1 (0x00007ffef9d66000)
libodb-2.5.0-b.23.so => /home/user1/
odb/odb-build/libodb-gcc-11/libodb-2.5.0-b.23/odb/libodb-2.5.0-b.23.so
(0x00007f6bd67d2000)
libsqlite3-1.so =>
/home/user1/odb/odb-build/libodb-gcc-11/libsqlite3-3.35.5/libsqlite3/libsqli
te3-1.so (0x00007f6bd661e000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f6bd63e3000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007f6bd63c3000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6bd6199000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6bd6832000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6bd60b2000)
Then I install:
# bpkg uninstall --all -recursive
After installation when I run ldd on
"/home/user1/odb/odb-build/libodb-gcc-11" I see following:
# ldd ./libodb-sqlite-2.5.0-b.23/odb/sqlite/libodb-sqlite-2.5.0-b.23.so
linux-vdso.so.1 (0x00007ffec59a7000)
libodb-2.5.0-b.23.so => not found <----------
libsqlite3-1.so => not found <----------
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f1c49194000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007f1c49174000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1c48f4c000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1c48e63000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1c49407000)
Any idea why these libraries are not found any more after running the
installation?
How to make bpkg download other versions, e.g.: 2.5.0-b.19?
NOTE: If I run "bpkg build libodb-sqlite ?sys:libsqlite3" using my
installation of sqlite3 libraries, then that dependency is not "lost" but
libodb-2.5.0-b.23.so is.
Thanks in advance.
Best regards,
Javier Gutierrez
More information about the odb-users
mailing list