LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-19-2010, 03:41 PM   #1
myconid
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
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.
 
Old 08-20-2010, 04:29 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
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
..
 
Old 08-23-2010, 03:16 PM   #3
myconid
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with installing libc6-dev a.dehqan Linux - Software 7 08-27-2008 08:56 AM
Unable to install libc6-dev rstaveley Debian 8 02-12-2007 01:49 PM
libc6-dev version conflicts with libc6 in Dapper peppill Ubuntu 2 12-04-2006 02:13 PM
xwindows trouble -no /dev/mouse /dev/input/mice fatblueduck Linux - General 2 06-06-2005 12:03 AM
Problems with installation of httpd-dev-2.0.40-8.i386.rpm muhammade Linux - Software 1 01-21-2003 04:06 AM


All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration