Robert Allerstorfer wrote:
> 
> Hi,
> 
> I tried to build libcrypto.so.0.9.7 and libssl.so.0.9.7 (from the
> 0.9.7b release source) on SunOS 5.8 with gcc 3.2.1 but that fails
> because an additional shared object, 'libgcc_s.so.1' would also be
> required but is not present:
> 
> ldd openssl
>         libssl.so.0.9.7 =>       /usr/lib/libssl.so.0.9.7
>         libcrypto.so.0.9.7 =>    /usr/lib/libcrypto.so.0.9.7
>         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
>         libgcc_s.so.1 =>         (file not found)
>         libmp.so.2 =>            /usr/lib/libmp.so.2
>         /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
> 
> Does anyone know how to get rid of this dependency?


I have done somrhitng like this:

Gcc-3.1 introduced -shared-libgcc and -static-libgcc
But when building shared libs, it wants to include the 
-libgss_s shared version, even when not needed by default.
This causes problems when trying to build shared libs, 
as they will need the extra libgss_s.so.n.n when we really
don't want. 

So I have changed the specs to default to the static 
lib gcc. 

DEE 9/12/2

 diff specs.orig specs
51c51
< %{static|static-libgcc:-lgcc
-lgcc_eh}%{!static:%{!static-libgcc:%{!shared:%{!shared-libgcc:-lgcc
-lgcc_eh}%{shared-libgcc:-lgcc_s%M -lgcc}}%{shared:-lgcc_s%M}}}
---
> %{static|static-libgcc:-lgcc 
> -lgcc_eh}%{!static:%{!static-libgcc:%{!shared-libgcc:-lgcc 
> -lgcc_eh}%{shared-libgcc:-lgcc_s%M -lgcc}}}


> 
> Thank you and
> best regards,
> rob.
> --
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

-- 

 Douglas E. Engert  <[EMAIL PROTECTED]>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439 
 (630) 252-5444
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to