Error while loading shared libraries: libdb_cxx-4.8.so

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












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!










share|improve this question























  • Where did you get this program? How did you install it? What version of Ubuntu are you using?
    – steeldriver
    Feb 1 at 18:57














up vote
0
down vote

favorite












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!










share|improve this question























  • Where did you get this program? How did you install it? What version of Ubuntu are you using?
    – steeldriver
    Feb 1 at 18:57












up vote
0
down vote

favorite









up vote
0
down vote

favorite











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!










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 1 at 19:08









davidbaumann

1,4361826




1,4361826










asked Feb 1 at 18:53









The_Immortal

112




112











  • Where did you get this program? How did you install it? What version of Ubuntu are you using?
    – steeldriver
    Feb 1 at 18:57
















  • Where did you get this program? How did you install it? What version of Ubuntu are you using?
    – steeldriver
    Feb 1 at 18:57















Where did you get this program? How did you install it? What version of Ubuntu are you using?
– steeldriver
Feb 1 at 18:57




Where did you get this program? How did you install it? What version of Ubuntu are you using?
– steeldriver
Feb 1 at 18:57










1 Answer
1






active

oldest

votes

















up vote
0
down vote













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





share|improve this answer






















  • Thank you, man! Unfortunately I'm too low to add a point for you but u really helped me!
    – The_Immortal
    Feb 2 at 1:24










  • it's my pleasure, you're welcome
    – Jojo
    Feb 3 at 1:04










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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













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





share|improve this answer






















  • Thank you, man! Unfortunately I'm too low to add a point for you but u really helped me!
    – The_Immortal
    Feb 2 at 1:24










  • it's my pleasure, you're welcome
    – Jojo
    Feb 3 at 1:04














up vote
0
down vote













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





share|improve this answer






















  • Thank you, man! Unfortunately I'm too low to add a point for you but u really helped me!
    – The_Immortal
    Feb 2 at 1:24










  • it's my pleasure, you're welcome
    – Jojo
    Feb 3 at 1:04












up vote
0
down vote










up vote
0
down vote









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





share|improve this answer














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






share|improve this answer














share|improve this answer



share|improve this answer








edited Feb 1 at 20:00

























answered Feb 1 at 19:38









Jojo

105




105











  • Thank you, man! Unfortunately I'm too low to add a point for you but u really helped me!
    – The_Immortal
    Feb 2 at 1:24










  • it's my pleasure, you're welcome
    – Jojo
    Feb 3 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 at 1:24










  • it's my pleasure, you're welcome
    – Jojo
    Feb 3 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 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 at 1:24












it's my pleasure, you're welcome
– Jojo
Feb 3 at 1:04




it's my pleasure, you're welcome
– Jojo
Feb 3 at 1:04

















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error