swig error in ubuntu 16.04

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








up vote
0
down vote

favorite












For some reason swig on my computer is not configured correctly.
It gives this output on checking version:



$ swig --version

swig: error while loading shared libraries: libpcre.so.1: cannot open
shared object file: No such file or directory


whereas on reinstalling it the following output is generated:



piyush@piyush-HP:~/test$ sudo apt-get install swig
[sudo] password for piyush:
Reading package lists... Done
Building dependency tree
Reading state information... Done
swig is already the newest version (3.0.8-0ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


any suggestions for how to fix it?
thanks.










share|improve this question





















  • Try sudo apt-get -f install and see if that helps, look slike there might be an issue with a dependency.
    – Robby1212
    Feb 1 at 18:36











  • cross-posted unix.stackexchange.com/questions/421257/…
    – steeldriver
    Feb 1 at 19:42














up vote
0
down vote

favorite












For some reason swig on my computer is not configured correctly.
It gives this output on checking version:



$ swig --version

swig: error while loading shared libraries: libpcre.so.1: cannot open
shared object file: No such file or directory


whereas on reinstalling it the following output is generated:



piyush@piyush-HP:~/test$ sudo apt-get install swig
[sudo] password for piyush:
Reading package lists... Done
Building dependency tree
Reading state information... Done
swig is already the newest version (3.0.8-0ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


any suggestions for how to fix it?
thanks.










share|improve this question





















  • Try sudo apt-get -f install and see if that helps, look slike there might be an issue with a dependency.
    – Robby1212
    Feb 1 at 18:36











  • cross-posted unix.stackexchange.com/questions/421257/…
    – steeldriver
    Feb 1 at 19:42












up vote
0
down vote

favorite









up vote
0
down vote

favorite











For some reason swig on my computer is not configured correctly.
It gives this output on checking version:



$ swig --version

swig: error while loading shared libraries: libpcre.so.1: cannot open
shared object file: No such file or directory


whereas on reinstalling it the following output is generated:



piyush@piyush-HP:~/test$ sudo apt-get install swig
[sudo] password for piyush:
Reading package lists... Done
Building dependency tree
Reading state information... Done
swig is already the newest version (3.0.8-0ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


any suggestions for how to fix it?
thanks.










share|improve this question













For some reason swig on my computer is not configured correctly.
It gives this output on checking version:



$ swig --version

swig: error while loading shared libraries: libpcre.so.1: cannot open
shared object file: No such file or directory


whereas on reinstalling it the following output is generated:



piyush@piyush-HP:~/test$ sudo apt-get install swig
[sudo] password for piyush:
Reading package lists... Done
Building dependency tree
Reading state information... Done
swig is already the newest version (3.0.8-0ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


any suggestions for how to fix it?
thanks.







shared-library






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 1 at 18:12









Piyush Verma

11




11











  • Try sudo apt-get -f install and see if that helps, look slike there might be an issue with a dependency.
    – Robby1212
    Feb 1 at 18:36











  • cross-posted unix.stackexchange.com/questions/421257/…
    – steeldriver
    Feb 1 at 19:42
















  • Try sudo apt-get -f install and see if that helps, look slike there might be an issue with a dependency.
    – Robby1212
    Feb 1 at 18:36











  • cross-posted unix.stackexchange.com/questions/421257/…
    – steeldriver
    Feb 1 at 19:42















Try sudo apt-get -f install and see if that helps, look slike there might be an issue with a dependency.
– Robby1212
Feb 1 at 18:36





Try sudo apt-get -f install and see if that helps, look slike there might be an issue with a dependency.
– Robby1212
Feb 1 at 18:36













cross-posted unix.stackexchange.com/questions/421257/…
– steeldriver
Feb 1 at 19:42




cross-posted unix.stackexchange.com/questions/421257/…
– steeldriver
Feb 1 at 19:42















active

oldest

votes











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%2f1002147%2fswig-error-in-ubuntu-16-04%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002147%2fswig-error-in-ubuntu-16-04%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