Trouble with libc6-dev-i386
Hello,
I'm trying to install Geant4, but before I had to do that I had to install libc6-dev-i386 but I got a message Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package libc6-dev-i386 So I tried libc6-dev-amd64 and it worked just fine. Then when I went to install Geant4 everything was fine for a while and then it gave me about 29 errors that all said basically the same thing and they looked like this make[1]: *** [/home/myconid/Geant4/geant4.9.3.p01/lib/Linux-g++/libG4processes.so] Error 1 Nothing to be done for libG4parmodels in gflash/. Creating global shared library /home/myconid/Geant4/geant4.9.3.p01/lib/Linux-g++/libG4parmodels.so ... collect2: ld terminated with signal 11 [Segmentation fault] /usr/bin/ld: i386:x86-64 architecture of input file `G4gflash/GFlashEnergySpot.o' is incompatible with i386 output The bottom two lines get repeated for several different files I just put one in to save space though. I don't understand what is wrong here, if someone can clue me in it would be much appreciated. |
Welcome to LQ. .. .. :) ..
Not quite clear, why you mention libc6-dev-i386, when you have a 64 bits Ubuntu ? libc6-dev is automatically installed, when you install g++. Is any 32 bits 'binutils' / 'g++-multilib' installed ? ? And why ? Your errors seems to indicate an impossible situation : The "64 bits linker (ld)" is used to link objcts created by a "32 bits g++". Building the files ..... 1) First the install of the CLHEP libraries : cd 2.1.0.0/CLHEP/ && ./configure && make && sudo make install && exit 2) Geant4 cd geant4.9.3.p01/ && ./Configure -build Which configuration are you using ? And which commands ? http://geant4.cern.ch/support/index.shtml http://geant4.web.cern.ch/geant4/Use...tml/index.html ...... Ubuntu, is based on "Debian Sid". I used the 64 bits Debian Sid for the Geant4 build test. Got no errors at all. Which Ubuntu are you using ? ? http://www.linuxquestions.org/linux/...Ask_a_Question http://www.catb.org/~esr/faqs/smart-questions.html .. |
Thanks knudfl for trying to help.
I actually figured out what was going on. First of all a colleague explained some things to me about Linux so I think it's a little clearer to me how this works. Second, I did not go to Geant4's website to download Geant4 I was actually given Geant4 from another colleague. What I was given was incomplete, however, and I actually began getting a lot of nonsensical errors. So I just started again from scratch and everything works fine now. Thanks again. |
All times are GMT -5. The time now is 03:37 PM. |