[Gate-users] Subject: Re: Trouble Compiling gate_v5_0_0_p1

Fares Alhassen fares.alhassen at radiology.ucsf.edu
Fri Apr 9 00:56:30 CEST 2010


Dear all,

In order to get GATE to compile, I had to go back and re-compile CLHEP,
geant4, and root. However, now I have another problem. When I try to run
GATE, I receive this error message:

"error while loading shared libraries: libGate.so: cannot open shared object
file: No such file or directory"

I found libGate.so in my /gate_v6.0_p01/tmp/Linux64-g++/Gate/ directory. I
tried copying it to other subfolders within my gate directory to see if GATE
would find it. No luck.

Any suggestions?

Sincerely,
Fares


On 4/8/10 2:28 PM, "Fares Alhassen" <fares.alhassen at radiology.ucsf.edu>
wrote:

> Thank you and Samuel Burg for the advice. I was able to compile CLHEP
> successfully following the instructions in GATE wiki install guide. As for
> root, I had asked about that before on this forum and received the advice
> below for installing on 64-bit Ubuntu 9.04. I don¹t know how helpful it will
> be to you:
> 
> Before installing root on 64-bit Ubuntu 9.04 (jaunty jackalope), you need to
> update GSL: GSL build:
> 
> 1. Make a folder for the gsl include and library files. From the
> /home/username/ directory:
> mkdir gsl
> 
> 2. Download the gsl source to your main directory (/home/username/). I
> downloaded gsl-1.13 and extracted the tar file so that the source folder was
> home/username/gsl-1.13
> 
> 3. Configure, compile, and install gsl. From the /home/username/ directory:
> cd gsl-1.13 ./configure ­prefix=/home/username/gsl ­with-pic make make
> install
> 
> 4. Follow the instructions below to download and install root. I used the
> SVN method to acquire the source. Use the following configure for root:
> ./configure --with-gsl-incdir=/home/username/gsl/include ­with-gsl-libdir=/
> home/username/gsl/lib ­disable-xrootd
> 
> 5. Install root by running the followings commands:
> make
> make install
> ldconfig
> 
> Sincerely,
> Fares
> 
> 
> 
> On 4/8/10 8:01 AM, "Melissa Freedenberg" <mfreeden at ucdavis.edu> wrote:
> 
>> Fares, I solved this problem first by finding where gcc-4.2 and gcc are
>> located. I found them in the same directory.
>>> 
>>>>>>> locate gcc-4.2
>>>>>>> locate gcc
>>> 
>>> Then, I removed the current gcc executable (version 4.3) and replaced it
>>> with
>>> the older version.
>>> 
>>>>>>> cd <directory gcc is in>
>>>>>>> rm gcc
>>>>>>> cp gcc-4.2 gcc
>>> 
>>> I think I may have done the same for g++
>>> 
>>> http://ubuntuforums.org/ has backlog of some similar questions, so you may
>>> want to check it out if for some reason this does not work for you,.
>>> 
>>> I was able to compile GATE this way (using compiler version 4.1), but I
>>> still
>>> had problems compiling root and CLHEP. If you are able to compile root and
>>> CLHEP successfully, please let me know.
>>> 
>>> Thanks, 
>>> 
>>> Melissa
>>> 
>>> 
>>> -------------------------------------------------------
>>> Dear all,
>>> 
>>> I think I have the same problem described below. I installed gcc-4.2 and
>>> g++-4.2 on my system, which currently has 4.3.3 versions of both. I had
>>> installed non-GATE packages using I think 4.2, which is why I have GATE5
>>> working properly on my system.
>>> 
>>> However, I'm not sure how to change the makefiles for GATE so that it uses
>>> g++-4.2 instead of g++ (the latest version on my system). Does anyone know
>>> where the executable is defined?
>>> 
>>> Sincerely,
>>> Fares
>>> 
>>> On Thu, Apr 8, 2010 at 2:52 AM,
>>> <gate-users-request at lists.opengatecollaboration.org> wrote:
>>>> Send Gate-users mailing list submissions to
>>>>         gate-users at lists.opengatecollaboration.org
>>>> 
>>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>>         http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>>> or, via email, send a message with subject or body 'help' to
>>>>         gate-users-request at lists.opengatecollaboration.org
>>>> 
>>>> You can reach the person managing the list at
>>>>         gate-users-owner at lists.opengatecollaboration.org
>>>> 
>>>> When replying, please edit your Subject line so it is more specific
>>>> than "Re: Contents of Gate-users digest..."
> 
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

------------------------------------------------
Fares Alhassen
Associate Specialist
UCSF Physics Research Laboratory
Department of Radiology and Biomedical Imaging
University of California, San Francisco
185 Berry Street, Suite 350 BOX # 0946
San Francisco, CA 94143-0946 (94107 UPS/FedEx/DHL)
email: fares.alhassen at radiology.ucsf.edu
T: (415) 353-9438
F: (415) 353-9421
web: http://radiology.ucsf.edu/physics





More information about the Gate-users mailing list