Error while loading shared libraries: libdb_cxx-4.8.so
I'm trying to execute a program but got the error
error while loading shared libraries: libdb_cxx-4.8.so: cannot open shared object file: No such file or directory
Is there a way to find out how to fix it?
Thank you!
libraries
add a comment |
I'm trying to execute a program but got the error
error while loading shared libraries: libdb_cxx-4.8.so: cannot open shared object file: No such file or directory
Is there a way to find out how to fix it?
Thank you!
libraries
Where did you get this program? How did you install it? What version of Ubuntu are you using?
– steeldriver
Feb 1 '18 at 18:57
add a comment |
I'm trying to execute a program but got the error
error while loading shared libraries: libdb_cxx-4.8.so: cannot open shared object file: No such file or directory
Is there a way to find out how to fix it?
Thank you!
libraries
I'm trying to execute a program but got the error
error while loading shared libraries: libdb_cxx-4.8.so: cannot open shared object file: No such file or directory
Is there a way to find out how to fix it?
Thank you!
libraries
libraries
edited Feb 1 '18 at 19:08
davidbaumann
1,45911127
1,45911127
asked Feb 1 '18 at 18:53
The_ImmortalThe_Immortal
112
112
Where did you get this program? How did you install it? What version of Ubuntu are you using?
– steeldriver
Feb 1 '18 at 18:57
add a comment |
Where did you get this program? How did you install it? What version of Ubuntu are you using?
– steeldriver
Feb 1 '18 at 18:57
Where did you get this program? How did you install it? What version of Ubuntu are you using?
– steeldriver
Feb 1 '18 at 18:57
Where did you get this program? How did you install it? What version of Ubuntu are you using?
– steeldriver
Feb 1 '18 at 18:57
add a comment |
1 Answer
1
active
oldest
votes
you may want to try and locate it first
find ~ / -name *libdb*
ldconfig creates the necessary links and cache to the most recent
shared libraries found in the directories specified on the command
line, in the file /etc/ld.so.conf
apt-cache search libdb
apt-get install libdb5.3++-dev libdb++-dev libdb5.3-dev libdb-dev && ldconfig
LD_LIBRARY_PATH is the predefined environmental variable in Linux/Unix which sets the path which the linker should look in to while linking dynamic libraries/shared libraries.
export LD_LIBRARY_PATH="/list/of/library/path"
The LD_PRELOAD allow an extra library not specified in the executable to be loaded:
export LD_PRELOAD="/list/of/library/path"
ldd checks the (so) shared library files for any missing dependencies
ldd /usr/lib/x86_64-linux-gnu/libdb-5.3.so
if you're installing it with a package use:
./configure --prefix=/usr/local --enable-cxx
Thank you, man! Unfortunately I'm too low to add a point for you but u really helped me!
– The_Immortal
Feb 2 '18 at 1:24
it's my pleasure, you're welcome
– Jojo
Feb 3 '18 at 1:04
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002154%2ferror-while-loading-shared-libraries-libdb-cxx-4-8-so%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
you may want to try and locate it first
find ~ / -name *libdb*
ldconfig creates the necessary links and cache to the most recent
shared libraries found in the directories specified on the command
line, in the file /etc/ld.so.conf
apt-cache search libdb
apt-get install libdb5.3++-dev libdb++-dev libdb5.3-dev libdb-dev && ldconfig
LD_LIBRARY_PATH is the predefined environmental variable in Linux/Unix which sets the path which the linker should look in to while linking dynamic libraries/shared libraries.
export LD_LIBRARY_PATH="/list/of/library/path"
The LD_PRELOAD allow an extra library not specified in the executable to be loaded:
export LD_PRELOAD="/list/of/library/path"
ldd checks the (so) shared library files for any missing dependencies
ldd /usr/lib/x86_64-linux-gnu/libdb-5.3.so
if you're installing it with a package use:
./configure --prefix=/usr/local --enable-cxx
Thank you, man! Unfortunately I'm too low to add a point for you but u really helped me!
– The_Immortal
Feb 2 '18 at 1:24
it's my pleasure, you're welcome
– Jojo
Feb 3 '18 at 1:04
add a comment |
you may want to try and locate it first
find ~ / -name *libdb*
ldconfig creates the necessary links and cache to the most recent
shared libraries found in the directories specified on the command
line, in the file /etc/ld.so.conf
apt-cache search libdb
apt-get install libdb5.3++-dev libdb++-dev libdb5.3-dev libdb-dev && ldconfig
LD_LIBRARY_PATH is the predefined environmental variable in Linux/Unix which sets the path which the linker should look in to while linking dynamic libraries/shared libraries.
export LD_LIBRARY_PATH="/list/of/library/path"
The LD_PRELOAD allow an extra library not specified in the executable to be loaded:
export LD_PRELOAD="/list/of/library/path"
ldd checks the (so) shared library files for any missing dependencies
ldd /usr/lib/x86_64-linux-gnu/libdb-5.3.so
if you're installing it with a package use:
./configure --prefix=/usr/local --enable-cxx
Thank you, man! Unfortunately I'm too low to add a point for you but u really helped me!
– The_Immortal
Feb 2 '18 at 1:24
it's my pleasure, you're welcome
– Jojo
Feb 3 '18 at 1:04
add a comment |
you may want to try and locate it first
find ~ / -name *libdb*
ldconfig creates the necessary links and cache to the most recent
shared libraries found in the directories specified on the command
line, in the file /etc/ld.so.conf
apt-cache search libdb
apt-get install libdb5.3++-dev libdb++-dev libdb5.3-dev libdb-dev && ldconfig
LD_LIBRARY_PATH is the predefined environmental variable in Linux/Unix which sets the path which the linker should look in to while linking dynamic libraries/shared libraries.
export LD_LIBRARY_PATH="/list/of/library/path"
The LD_PRELOAD allow an extra library not specified in the executable to be loaded:
export LD_PRELOAD="/list/of/library/path"
ldd checks the (so) shared library files for any missing dependencies
ldd /usr/lib/x86_64-linux-gnu/libdb-5.3.so
if you're installing it with a package use:
./configure --prefix=/usr/local --enable-cxx
you may want to try and locate it first
find ~ / -name *libdb*
ldconfig creates the necessary links and cache to the most recent
shared libraries found in the directories specified on the command
line, in the file /etc/ld.so.conf
apt-cache search libdb
apt-get install libdb5.3++-dev libdb++-dev libdb5.3-dev libdb-dev && ldconfig
LD_LIBRARY_PATH is the predefined environmental variable in Linux/Unix which sets the path which the linker should look in to while linking dynamic libraries/shared libraries.
export LD_LIBRARY_PATH="/list/of/library/path"
The LD_PRELOAD allow an extra library not specified in the executable to be loaded:
export LD_PRELOAD="/list/of/library/path"
ldd checks the (so) shared library files for any missing dependencies
ldd /usr/lib/x86_64-linux-gnu/libdb-5.3.so
if you're installing it with a package use:
./configure --prefix=/usr/local --enable-cxx
edited Feb 1 '18 at 20:00
answered Feb 1 '18 at 19:38
JojoJojo
106
106
Thank you, man! Unfortunately I'm too low to add a point for you but u really helped me!
– The_Immortal
Feb 2 '18 at 1:24
it's my pleasure, you're welcome
– Jojo
Feb 3 '18 at 1:04
add a comment |
Thank you, man! Unfortunately I'm too low to add a point for you but u really helped me!
– The_Immortal
Feb 2 '18 at 1:24
it's my pleasure, you're welcome
– Jojo
Feb 3 '18 at 1:04
Thank you, man! Unfortunately I'm too low to add a point for you but u really helped me!
– The_Immortal
Feb 2 '18 at 1:24
Thank you, man! Unfortunately I'm too low to add a point for you but u really helped me!
– The_Immortal
Feb 2 '18 at 1:24
it's my pleasure, you're welcome
– Jojo
Feb 3 '18 at 1:04
it's my pleasure, you're welcome
– Jojo
Feb 3 '18 at 1:04
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002154%2ferror-while-loading-shared-libraries-libdb-cxx-4-8-so%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Where did you get this program? How did you install it? What version of Ubuntu are you using?
– steeldriver
Feb 1 '18 at 18:57