Re: R: cannot find -lssl gcc_32 error

From: Gerri Ganis <gerardo.ganis_at_cern.ch>
Date: Sat, 14 Apr 2007 09:10:34 +0200

Hi,

I think that the problem may come from the environment: did you include the ROOT lib path
in LD_LIBRARY_PATH (or added to ld.so.conf) ?

I managed to access a machine like yours (RHE3 with gcc 3.2.3) and everything worked fine
when I did the following:

$ configure --prefix=/tmp/ganis/root --etcdir=/tmp/ganis/root/etc
$ gmake; gmake cintdlls; gmake install;

...
$ export ROOTSYS=/tmp/ganis/root
$ export PATH=$ROOTSYS/bin:$PATH
$ export LD_LIBRARY_PATH=$ROOTSYS/lib/root:$LD_LIBRARY_PATH
$ root


Compiled on 11 April 2007 for linux with thread support.

CINT/ROOT C/C++ Interpreter version 5.16.19, March 16, 2007 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0]

G. Ganis

Patrice Seyed wrote:

> Hi,
>
> I tried again noticing the options for the below showed as:
>
> SSLLIB         := -lssl -lcrypto
> SSLLIBDIR      :=
> SSLINCDIR      := $(filter-out /usr/include, /usr/include)
>
> the compilation completely safely but once i ran 'root' saw error:
>
> $ root
> rootx xpm error: XpmOpenFailed
> /usr/local/IT/root-5.15/bin/root.exe: error while loading shared 
> libraries: libCore.so: cannot open shared object file: No such file or 
> directory
>
> any help appreciated,
> Patrice
>
> Patrice Seyed wrote:
>
>> thanks for responding
>>
>> i just used:
>> ./configure --prefix=/usr/local/IT/root-5.15 
>> --etcdir=/usr/local/IT/root-5.15/etc
>>
>> before the gmake, gmake cintdlls, and gmake install.
>>
>> # grep SSL Makefile.config
>> EXTRA_AUTHFLAGS:=  -DR__KRB5 -DR__GLBS -DR__GLBS22 -DR__SSL 
>> -DOPENSSL_NO_KRB5
>> SSLLIB         := -lssl_gcc32 -lcrypto_gcc32
>> SSLLIBDIR      := -L/opt/nmi/lib
>> SSLINCDIR      := $(filter-out /usr/include, /opt/nmi/include/gcc32)
>>
>>
>> Gerardo Ganis wrote:
>>
>>> Dear Patrice,
>>>  
>>> Could you post the options that you use to configure ROOT?
>>> Also, what is the output of
>>>  
>>> grep SSL $ROOTSYS/config/Makefile.config
>>>  
>>> ?
>>>  
>>> G. Ganis
>>>
>>> ________________________________
>>>
>>> Da: owner-roottalk_at_pcroot.cern.ch per conto di Patrice Seyed
>>> Inviato: gio 4/5/2007 10:18
>>> A: roottalk_at_pcroot.cern.ch
>>> Oggetto: [ROOT] cannot find -lssl gcc_32 error
>>>
>>>
>>>
>>> Hi , when I run 'gmake install' after completing 'gmake cintdlls' ' and
>>> 'gmake successfully, I get the following error:
>>>
>>> g++ -shared -Wl,-soname,libRootAuth.so -O -o lib/libRootAuth.so
>>> auth/src/rsaaux.o auth/src/rsafun.o auth/src/rsalib.o
>>> auth/src/TAuthenticate.o auth/src/THostAuth.o auth/src/TRootAuth.o
>>> auth/src/TRootSecContext.o auth/src/G__RootAuth.o -lcrypt 
>>> -L/opt/nmi/lib
>>> -lssl_gcc32 -lcrypto_gcc32
>>> /usr/bin/ld: cannot find -lssl_gcc32
>>> collect2: ld returned 1 exit status
>>> gmake: *** [lib/libRootAuth.so] Error 1 <mailto:roottalk_at_root.cern.ch>
>>>
>>> [root_at_compute-4-9 root-5.15]# gcc --version
>>> gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
>>> Copyright (C) 2002 Free Software Foundation, Inc.
>>> <mailto:roottalk_at_root.cern.ch>
>>>
>>> Please advise, thank you.
>>>
>>> <mailto:roottalk_at_root.cern.ch>
>>>
>>> -- 
>>> Patrice Seyed
>>> Linux System Administrator - LinGA
>>> RHCE, SCSA
>>> Boston University Medical Campus
>>>
>>>
>>>
>>>   
>>
>>
>>
>
>
Received on Sat Apr 14 2007 - 09:11:12 CEST

This archive was generated by hypermail 2.2.0 : Mon Apr 16 2007 - 17:50:01 CEST