Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 0
Trouble with libc6-dev-i386


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++/] Error 1
Nothing to be done for libG4parmodels in gflash/.
Creating global shared library /home/myconid/Geant4/geant4.9.3.p01/lib/Linux-g++/ ...
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
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2018 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,126

Rep: Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491
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 && ./configure && make && sudo make install && exit
2) Geant4
cd geant4.9.3.p01/ && ./Configure -build

Which configuration are you using ? And which commands ?

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 ? ?
Old 08-23-2010, 03:16 PM   #3
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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:17 PM.

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