is it me or ...

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

is it me or ...

Jason Welsh
does openssl-0.9.7i not respect LDFLAGS??
Im trying to set the rpath and cannot get it set for some reason..

[jason@cse-481]$ ldd /local/stuff/bin/openssl
        libssl.so.0.9.7 =>       (file not found)
        libcrypto.so.0.9.7 =>    (file not found)
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,UltraAX-e2/lib/libc_psr.so.1
[jason@cse-481]$        

and of course libcrypto.so.0.9.7 and libssl.so.0.9.7 are in /local/stuff/lib
and im trying to use
LDFLAGS='-L/local/stuff/lib -R/local/stuff/lib';export LDFLAGS
in my configure script, but openssl wont use it
this is gcc 3.4.2 on solaris 8.

Jason



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

RE: is it me or ...

Chapman, Kyle
check out crle...

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]]On Behalf Of Jason
Sent: Friday, November 11, 2005 11:00 AM
To: [hidden email]
Subject: is it me or ...


does openssl-0.9.7i not respect LDFLAGS??
Im trying to set the rpath and cannot get it set for some reason..

[jason@cse-481]$ ldd /local/stuff/bin/openssl
        libssl.so.0.9.7 =>       (file not found)
        libcrypto.so.0.9.7 =>    (file not found)
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,UltraAX-e2/lib/libc_psr.so.1
[jason@cse-481]$        

and of course libcrypto.so.0.9.7 and libssl.so.0.9.7 are in /local/stuff/lib
and im trying to use
LDFLAGS='-L/local/stuff/lib -R/local/stuff/lib';export LDFLAGS
in my configure script, but openssl wont use it
this is gcc 3.4.2 on solaris 8.

Jason



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
 
NOTICE: This E-mail may contain confidential information. If you are not
the addressee or the intended recipient please do not read this E-mail
and please immediately delete this e-mail message and any attachments
from your workstation or network mail system. If you are the addressee
or the intended recipient and you save or print a copy of this E-mail,
please place it in an appropriate file, depending on whether
confidential information is contained in the message.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: is it me or ...

Andreas Almroth
In reply to this post by Jason Welsh
Jason wrote:

>does openssl-0.9.7i not respect LDFLAGS??
>Im trying to set the rpath and cannot get it set for some reason..
>
>[jason@cse-481]$ ldd /local/stuff/bin/openssl
>        libssl.so.0.9.7 =>       (file not found)
>        libcrypto.so.0.9.7 =>    (file not found)
>        libsocket.so.1 =>        /usr/lib/libsocket.so.1
>        libnsl.so.1 =>   /usr/lib/libnsl.so.1
>        libdl.so.1 =>    /usr/lib/libdl.so.1
>        libc.so.1 =>     /usr/lib/libc.so.1
>        libmp.so.2 =>    /usr/lib/libmp.so.2
>        /usr/platform/SUNW,UltraAX-e2/lib/libc_psr.so.1
>[jason@cse-481]$        
>
>and of course libcrypto.so.0.9.7 and libssl.so.0.9.7 are in /local/stuff/lib
>and im trying to use
>LDFLAGS='-L/local/stuff/lib -R/local/stuff/lib';export LDFLAGS
>in my configure script, but openssl wont use it
>this is gcc 3.4.2 on solaris 8.
>
>Jason
>  
>
Use LD_OPTIONS instead of LDFLAGS if you use the ld provided by Sun. You
can then do a dump -Lv on your object to see if RPATH is indeed set.

/A


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: is it me or ...

Jason Welsh
did make clean && rm Makefile
and then tried
 
LD_OPTIONS="-R/local/stuff/lib";export LD_OPTIONS
./config --shared  --prefix=/local/stuff --openssldir=/local/stuff

and did my make and still no rpath

[jason@cse-481]$ dump -Lv apps/openssl | grep -i RUN
[jason@cse-481]$            


[jason@cse-481]$ dump -Lv apps/openssl | grep -i RP
[jason@cse-481]$            

[jason@cse-481]$ file apps/openssl
apps/openssl:   ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required, UltraSPARC1
Extensions Required, dynamically linked, not stripped
[jason@rcse-481]$        


Jason
 

> >
> Use LD_OPTIONS instead of LDFLAGS if you use the ld provided by Sun. You
> can then do a dump -Lv on your object to see if RPATH is indeed set.
>
> /A
>
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [hidden email]
> Automated List Manager                           [hidden email]

--
================================================
|    Jason Welsh   [hidden email]        |
| http://monsterjam.org    DSS PGP: 0x5E30CC98 |
|    gpg key: http://monsterjam.org/gpg/       |
================================================

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: is it me or ... [solved]

Jason Welsh
yall were right.. it was me..
didnt realize LD_OPTIONS was a make time variable.. not a configure time one.
problem solved. thanks.

Jason
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]