1

I am on Ubuntu 14.10 and I try to install new mongodb driver, but I have this error:

configure: error: Cannot find OpenSSL's libraries
ERROR: `/tmp/pear/temp/mongodb/configure' failed

I find that i need before installing new driver to install pkg-config, but when I try that I get following error:

E: Package 'pkg-config' has no installation candidate

Can someone please help me?

OstMil
  • 113
  • 1
  • 3
  • how you install ?? try to follow these guides https://docs.mongodb.com/manual/tutorial/install-mongodb-on-linux/ – Mohamed Slama Jun 01 '16 at 15:37
  • I'm not trying to install mongo, but mongodb driver for php. – OstMil Jun 01 '16 at 15:43
  • oops ! sorry check this question may helping you http://stackoverflow.com/questions/22459164/easiest-way-to-install-mongodb-php-extension-in-ubuntu-13-10-saucy – Mohamed Slama Jun 01 '16 at 15:46
  • can you post the output of cat /etc/apt/sources.list –  Jun 01 '16 at 15:50
  • 2
    You are getting this error because 14.10 went End-Of-Life a while ago and its repositories have since been archived. Upgrade to a supported release to continue receiving updates and support (currently: 12.04, 14.04, 15.10 (will go EOL next month), and 16.04). Voting to close this question as off-topic. –  Jun 01 '16 at 15:52
  • @R00t http://pastebin.com/vpeC5bQR – OstMil Jun 01 '16 at 16:16
  • @OstMil like Paranoid Panda said you are using a version of ubuntu that is no longer supported. I can only think of 3 options, you upgrade, you change the links in the source.list from archive.ubuntu.com to old-releases.ubuntu.com or you compile everything from source. –  Jun 01 '16 at 16:24

1 Answers1

0

Ubuntu 14.10 : Please replace all text in /etc/apt/sources.list with this new text

deb http://old-releases.ubuntu.com/ubuntu/ utopic main restricted
deb http://old-releases.ubuntu.com/ubuntu/ utopic multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ utopic-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ utopic-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ utopic-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ utopic-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ utopic-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ utopic-security multiverse universe

... and run sudo apt-get update

Installing "OpenSSL's libraries" : sudo apt-get install libssl-dev pkg-config


Knud Larsen
  • 3,084