Jump to content


0

Ubuntu 12.04 libcrypto.so.4 => not found


24 replies to this topic

#15 Curioser

Curioser

    Member

  • Members
  • PipPip
  • 31 posts
  • 427 thanks

Posted 10 July 2012 - 01:17 AM

yeah sym links are kind of similar to aliases (on mac), or shorcuts (on windows). the iou images are asking for specific libraries and all you need to do is to make shortcuts to the exact places where the images are expecting the libraries to be.

if I do ls -la on this particular library that I just made a shortcut to, it will tell me where exactly is it pointing to in the filesystem hierarchy.
the arrow pointing to the real file is self-explanatory. i,e this file is a symlink, the real file is in this -> place

ls -la /usr/lib/libcrypto.so.4
lrwxrwxrwx 1 root root 38 Jul  8 19:49 /usr/lib/libcrypto.so.4 -> /lib/i386-linux-gnu/libcrypto.so.0.9.8

if I erase the real file, the symlink will still think there's a file there, and it will still point to it even if the real file is gone. It's easy to screw up if you forget the places of the real file and the shortcut file at the time you do the symlink.

it should always be:
ln -s   path_and_name_of_real_file   path_and_name_of_sym_link

you gotta make sure that  path_and_name_of_real_file is in itself a real file and not another symbolic link, or a file that doesn't exist anymore.

#16 ukon

ukon

    Advanced Member

  • Members
  • PipPipPip
  • 662 posts
  • 218 thanks

Posted 10 July 2012 - 01:07 PM

Thanks a lot.
Currently I'm in office and will try it later if it works...

Regards
ukon

View PostCurioser, on 09 July 2012 - 07:15 PM, said:

ukon, copy & paste this in the terminal

ls -la `find /usr /lib -name *libcrypto*` | awk '{print $9,$10,$11}'

copy and paste the results. I believe you may have accidentally erased the library and instead made a sym link to another sym link which may be pointed to a non-existent file.

if the above doesn't work, just type this instead:
ls -la /*/*/libcrypto*

alternatively you can reinstall ia32-libs with
sudo apt-get remove ia32-libs
sudo apt-get install ia32-libs

and make this sym-link again
sudo ln -s /lib/i386-linux-gnu/libcrypto.so.0.9.8  /usr/lib/libcrypto.so.4

you don't need to mess with your $PATH env variables.

/lib is not even in my $PATH


#17 ukon

ukon

    Advanced Member

  • Members
  • PipPipPip
  • 662 posts
  • 218 thanks

Posted 10 July 2012 - 01:40 PM

Curioser,

thanks a lot...
after removing and installing the ia32-libs it works fine.
But still I have another problem...;-(

The license file doesn't work althought I executed the "crack.py" and put the result in the iourc file.

*********************************************************************
Cisco IOU License Generator - Kal 2011, python port of 2006 C version
hostid=007f0101, hostname=Wotan-Ubuntu, ioukey=7f05ba

Add the following text to ~/.iourc:
[license]
Wotan-Ubuntu = 7b5e3db5ad3da96e;

You can disable the phone home feature with something like:
echo '127.0.0.127 xml.cisco.com' >> /etc/hosts

[license]
Wotan-Ubuntu = 7b5e3db5ad3da96e;

Maybe you found also a solution..;-)

thanks again

ukon

#18 Crackingfever

Crackingfever

    Member

  • Banned
  • PipPip
  • 22 posts
  • 613 thanks

Posted 10 July 2012 - 01:49 PM

Thanks.... For u'r help...

#19 Curioser

Curioser

    Member

  • Members
  • PipPip
  • 31 posts
  • 427 thanks

Posted 10 July 2012 - 06:20 PM

View Postukon, on 10 July 2012 - 01:40 PM, said:

Curioser,

thanks a lot...
after removing and installing the ia32-libs it works fine.
But still I have another problem...;-(

The license file doesn't work althought I executed the "crack.py" and put the result in the iourc file.

*********************************************************************
Cisco IOU License Generator - Kal 2011, python port of 2006 C version
hostid=007f0101, hostname=Wotan-Ubuntu, ioukey=7f05ba

Add the following text to ~/.iourc:
[license]
Wotan-Ubuntu = 7b5e3db5ad3da96e;

You can disable the phone home feature with something like:
echo '127.0.0.127 xml.cisco.com' >> /etc/hosts

[license]
Wotan-Ubuntu = 7b5e3db5ad3da96e;

Maybe you found also a solution..;-)

thanks again

ukon

two things. you probably have an old iourc file with the wrong license in the same folder/directory as that of the iou images you're trying to launch. Or, you have an .iourc file in your root user dir conflicting with the other iourc license.

IOU is going to look for the license either in ~/.iourc  ( where ~/ is the root directory of the user, the initial working path where the shell drops you into when you launch a terminal)

or in ./iourc (where ./ symbolizes the current working directory, regardless of where you're at in the directory hierarchy.. )

.iourc  goes into the root directory of the user (or user home directory)
and iourc (without the dot) goes into the same folder of the iou images.

i,e

/home/curioser/.iourc
/home/curioser/myiouimages/iourc
/home/curioser/myiouimages/i86bi_linux-adventerprisek9-ms

my guess is that when you launch iou, it looks first inside the same folder where the iou image is in, if it doesn't find it there, it will look in /home/curioser/.iourc

does this make any sense?

I would erase  /home/yourUsername/.iourc
and then put that license you generated in the same folder as the iou images. put it as iourc (without the dot)

Your license should work.

#20 ukon

ukon

    Advanced Member

  • Members
  • PipPipPip
  • 662 posts
  • 218 thanks

Posted 11 July 2012 - 07:32 AM

Thanks again Curioser,

I think you are right...because I had the iourc in different places..;-(
I will delete all except the one which are directly in the images folder....

And I will give you the feedback....

ukon


View PostCurioser, on 10 July 2012 - 06:20 PM, said:



two things. you probably have an old iourc file with the wrong license in the same folder/directory as that of the iou images you're trying to launch. Or, you have an .iourc file in your root user dir conflicting with the other iourc license.

IOU is going to look for the license either in ~/.iourc  ( where ~/ is the root directory of the user, the initial working path where the shell drops you into when you launch a terminal)

or in ./iourc (where ./ symbolizes the current working directory, regardless of where you're at in the directory hierarchy.. )

.iourc  goes into the root directory of the user (or user home directory)
and iourc (without the dot) goes into the same folder of the iou images.

i,e

/home/curioser/.iourc
/home/curioser/myiouimages/iourc
/home/curioser/myiouimages/i86bi_linux-adventerprisek9-ms

my guess is that when you launch iou, it looks first inside the same folder where the iou image is in, if it doesn't find it there, it will look in /home/curioser/.iourc

does this make any sense?

I would erase  /home/yourUsername/.iourc
and then put that license you generated in the same folder as the iou images. put it as iourc (without the dot)

Your license should work.


#21 mayeror

mayeror

    Junior Member

  • Members
  • PipPip
  • 1 posts
  • 1 thanks

Posted 14 July 2012 - 12:20 PM

sudo ln -s /lib/i386-linux-gnu/libcrypto.so.0.9.8  /lib/i386-linux-gnu/libcrypto.so.4

Thanked by 1 Member:
ahmadibrahim

#22 m8t6k842arg

m8t6k842arg

    Advanced Member

  • Members
  • PipPipPip
  • 99 posts
  • 33 thanks

Posted 20 August 2012 - 03:53 PM

hello

I have similar problem too. In the i386-linux-gnu folder I just have libcrypto.so and libcrypto.a and under the lib folder libcrypto++.so.9, libcrypto++.so.9.0.0 and libcryptopp.so.9 files and I need libcrypto.so.4 I think.

I'm running a 32 bit Linux ubuntu 12.04 Can you please help me?




I've solved my problem. You can erase my post.

Edited by m8t6k842arg, 20 August 2012 - 08:45 PM.


#23 vishwanath99

vishwanath99

    Member

  • Members
  • PipPip
  • 14 posts
  • 144 thanks
  • LocationKarnataka bagalkot

Posted 16 October 2012 - 07:28 AM

Good work bro.. i m new to linux but i m able install and run 12.2 to 15.2 iol.. on Ubuntu 12.04

#24 CCIEx3king

CCIEx3king

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • 55 thanks

Posted 15 May 2013 - 05:38 PM

View Postmayeror, on 14 July 2012 - 12:20 PM, said:

sudo ln -s /lib/i386-linux-gnu/libcrypto.so.0.9.8  /lib/i386-linux-gnu/libcrypto.so.4


this one worked for 64 bit Ubuntu.

Thanked by 1 Member:
chotelaldon

#25 chotelaldon

chotelaldon

    Junior Member

  • Members
  • PipPip
  • 3 posts
  • 16 thanks

Posted 12 November 2013 - 02:36 PM

View Postahmadibrahim, on 15 May 2013 - 05:38 PM, said:

this one worked for 64 bit Ubuntu.

y cant i find it before some days ......doing form so many says working this like charm thank you bro
chotelaldon, proud to be a member of IT Certification Forum since Feb 2009.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Organization

Community

Downloads

Test Providers

Site Info


Go to top