Update (30/09/2013): Now magic can be installed directly from synaptic package manager (So no need of the steps in orange color)-- Mr. Amaldev V, IITB
Courtesy: Mr. Manu Velayudhan, IITB (e-mail)
Verified with: Ubuntu 10.04 (32 & 64 bit)
Installing Packages:
sudo apt-get install m4 tcl-dev tk-dev blt freeglut3 libglut3 libgl1-mesa-dev libglu1-mesa-dev csh
cd Downloads/
tar xzf magic-7.5.225.tgz
cd magic-7.5.225/
./configure
sudo make
sudo make install
__________________________________________________________________________
Possible errors:
During installation of magic in ubuntu 10.04 32 bit instide Virtual box in windows 7, after make install step we got the error
root@ubuntu:/home/vineeth/Downloads/magic-7.5.226# sudo make install
--- installing executable to /usr/local/bin
--- installing runtime files to /usr/local/lib
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make[2]: *** [tclmagic.so] Error 1
We changed the libstdc++.so.6 in /usr/lib/vmware-tools/lib32 to libstdc++.so.Still it did not work
then we changed libstdc++.so.6 in /usr/lib/vmware-tools/lib32/libstdc++.so.6 to libstdc++.so then it worked.:)
Update (23/09/2014): The location of the libstdc++.so.6 varies with the OS. Thanks to Reshma Krishnan for pointing it out. (Eg : /usr/lib/i686... ). Use 'locate' command to find out the correct location
Screenshots of commands (23/09/2014):
__________________________________________________________________________
Comments and suggestions are most welcome :)
Courtesy: Mr. Manu Velayudhan, IITB (e-mail)
Verified with: Ubuntu 10.04 (32 & 64 bit)
Installing Packages:
sudo apt-get install m4 tcl-dev tk-dev blt freeglut3 libglut3 libgl1-mesa-dev libglu1-mesa-dev csh
Installing magic:
Download magic-7.5.225.tgz from http://opencircuitdesign.com/magic/
cd Downloads/
tar xzf magic-7.5.225.tgz
cd magic-7.5.225/
./configure
sudo make
sudo make install
__________________________________________________________________________
Possible errors:
During installation of magic in ubuntu 10.04 32 bit instide Virtual box in windows 7, after make install step we got the error
root@ubuntu:/home/vineeth/Downloads/magic-7.5.226# sudo make install
--- installing executable to /usr/local/bin
--- installing runtime files to /usr/local/lib
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make[2]: *** [tclmagic.so] Error 1
We changed the libstdc++.so.6 in /usr/lib/vmware-tools/lib32 to libstdc++.so.Still it did not work
then we changed libstdc++.so.6 in /usr/lib/vmware-tools/lib32/libstdc++.so.6 to libstdc++.so then it worked.:)
Note: Or if you find similar errors, type 'locate ' in terminal. Then you can find the location of the file libstdc++.so.6. There may be more than one location. Make one copy of the file at desktop and rename it to libstdc++.so and then copy the same to the locations where we there is libstdc++.so.6 one by one. After each replacement try ' sudo make install' in terminal. Repeat the procedure until it works.
Update (23/09/2014): The location of the libstdc++.so.6 varies with the OS. Thanks to Reshma Krishnan for pointing it out. (Eg : /usr/lib/i686... ). Use 'locate' command to find out the correct location
Screenshots of commands (23/09/2014):
Finding the location of libstdc++.so.6 |
Making a copy of the above file with name libstdc++.so |
Installing magic |
Comments and suggestions are most welcome :)
Latest version of MAGIC (7.5.233) can be downloaded in following link.
ReplyDeletehttp://opencircuitdesign.com/magic/archive/magic-7.5.233.tgz
hi all,
ReplyDeleteNow you can install MAGIC directly from 'synaptic package manager'. No need for all these steps
but how to do it can u pls explain
Deletei already have a version of magic installed through synaptic manager but then then the file ext2spic.so doesnt work
This comment has been removed by the author.
DeleteYou may uninstall that one and follow the steps in orange color then. Please post the results. Thanks
DeleteThank you. I am running ubuntu 12.04 LTS on my laptop. After installing the
Deleterequired dependencies, I installed magic through synaptic package manager.
Howerver like Rahul, I got ext2spice.so error.
I reinstalled magc from opencircuitdesign.com (using commands in Orange),
and now everything is smooth.
@Srinivas : Thanks for your feedback :)
DeleteBut you still need to install other packages for 'magic' to run properly.
ReplyDeleteThe name of some of the packages will be different if you are using latest version of Ubuntu.
ReplyDeleteincorporate a feeling of tipsiness, mental trips and even fever. Notice that the signs will introduce themselves between 30-180 minutes and can endure for even 3 days.
ReplyDeletecapsulesmagic
There are a lot of blogs over the Internet. But I can surely say that your blog is amazing in all. It has all the qualities that a perfect blog should have. semrush pricing
ReplyDelete