[Gate-users] Issue with installing gate_v7.2

David Boersma david.boersma at physics.uu.se
Tue Dec 20 14:21:30 CET 2016


Hi Ezzat,

ROOT is tricky, and often I am tempted to make it possible to build GATE 
without ROOT. But for the time being you do need it, and it needs to be 
installed properly.

The errors that you get now are very similar to those reported yesterday 
by Elnur Sadihov. I suggested Elnur to install the "libssl-dev" package, 
but he did not yet report back about whether that was helpful or not. On 
my own Ubunut 14.04 system I actually see libssl.so.1.0.0 instead of the 
libssl.so.10 mentioned in your error logs, so I'm not sure. It kind of 
looks like maybe you installed a binary tarball for ROOT that was 
intended for a different linux distribution. Which brings us back to an 
earlier question: how *did* you install ROOT? If you downloaded a binary 
package then you need to be very careful with choosing the right 
version. For Ubuntu 14.04 the binary tarball is:

https://root.cern.ch/download/root_v5.34.36.Linux-ubuntu14-x86_64-gcc4.8.tar.gz

But usually I myself prefer compiling ROOT from source. It takes a 
while, but then you're sure it's really compatible with your system and 
that you have all required libraries.

David

Den 20/12/2016 kl. 12:45, skrev Ezzat Elmo:
> Hi David,
> what I did to solve the issue I'm not proud of but it seemed to work at
> first but not sure anymore. what i did was I already have the vgate_V7.2
> so i went there and took the TVector2.h file and added it in my pc. now
> im thinking about it, it might be the reason why its still not working.
>
> so now i started the build from scratch but got a new list of errors:
>
> #####
> [  2%] Built target itkzlib
> [  6%] Built target MetaIO
> [  6%] Linking CXX executable Gate
> /usr/bin/ld: warning: libssl.so.10, needed by
> /home/gate/Downloads/root_v5.34/lib/libNet.so, not found (try using
> -rpath or -rpath-link)
> /usr/bin/ld: warning: libcrypto.so.10, needed by
> /home/gate/Downloads/root_v5.34/lib/libNet.so, not found (try using
> -rpath or -rpath-link)
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_CTX_use_PrivateKey_file at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_set_fd at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_library_init at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_CTX_use_certificate_chain_file at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_connect at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_new at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_free at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_shutdown at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `HMAC at libcrypto.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_peek at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_write at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_CTX_new at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSLv23_method at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_set_quiet_shutdown at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `EVP_sha1 at libcrypto.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_CTX_free at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_CTX_load_verify_locations at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_read at libssl.so.10'
> /home/gate/Downloads/root_v5.34/lib/libNet.so: undefined reference to
> `SSL_get_error at libssl.so.10'
> collect2: error: ld returned 1 exit status
> make[2]: *** [Gate] Error 1
> make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
> make: *** [all] Error 2
>
>
> #####
>
>
>     Message: 2
>     Date: Tue, 20 Dec 2016 10:28:57 +0100
>     From: David Boersma <david.boersma at physics.uu.se
>     <mailto:david.boersma at physics.uu.se>>
>     To: <gate-users at lists.opengatecollaboration.org
>     <mailto:gate-users at lists.opengatecollaboration.org>>
>     Subject: Re: [Gate-users] Issue with installing gate_v7.2
>     Message-ID: <90b22600-ff8a-eed2-64c6-0324f3563caf at physics.uu.se
>     <mailto:90b22600-ff8a-eed2-64c6-0324f3563caf at physics.uu.se>>
>     Content-Type: text/plain; charset="utf-8"; format=flowed
>
>     Hi Ezzat,
>
>     Good to see that you solved that particular issue.
>     Could you share with the mailing list how you solved it?
>
>     (Whenever you run into such a problem then there are usually more people
>     just like you who run into the exact same problem, who are silently very
>     grateful to you that you are bringing it up here on the mailing list. So
>     it is almost always important to also describe the solution, if you got
>     any! Don't keep us in suspense... And if we would finally get our e-mail
>     archive back online, searchable with Google, then those users would even
>     find your e-mail thread quite easily.)
>
>     After you fixed the TVector2.h issue, did you start the build completely
>     from scratch? I strongly suspect that in this case that is necessary.
>     Make a new empty build directory and start with running ccmake in that
>     directory.
>
>     Good luck,
>     David
>
>
>     Den 18/12/2016 kl. 09:16, skrev Ezzat Elmo:
>     > Good day everyone
>     >
>     > I was able to solve the previous issue wit the TVector2.h , thanks
>     David
>     >
>     > but now I'm facing a new one and cant seem to be able to figure it
>     out,
>     > again
>     > Gate_v7.2 on Ubuntu 14.04
>     > root 5.34
>     >
>     >
>     > Thanks in advance for your help,
>     > Ezzat
>     > ###
>     >
>     > [100%] Linking CXX executable Gate
>     > /usr/bin/ld: cannot find -lGraf3d
>     > /usr/bin/ld: cannot find -lPostscript
>     > /usr/bin/ld: cannot find -lPhysics
>     > collect2: error: ld returned 1 exit status
>     > make[2]: *** [Gate] Error 1
>     > make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
>     > make: *** [all] Error 2
>     >
>     > ####
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>


More information about the Gate-users mailing list