You might edit that Makefile for this yourself.

2010/10/8 HU Chengzhe <chengzhe...@alcatel-sbell.com.cn>

>
> Hello,
>
>    I use follow command to compile openssl-0.9.8o
>    1)  ./Configure  solaris-sparcv9-cc
> --prefix=MY_OPENSSL_INSTALL_DIRECTORY  shared
>    2) make
>   3) make install
>
>   I can compile it successfully and under  MY_OPENSSL_INSTALL_DIRECTORY/lib
> I can find some files like below:
>
>   -rw-r--r--   1 arkie   bjumts   3623300 Aug  5 15:41 libcrypto.a
> lrwxrwxrwx   1 arkie   bjumts        18 Aug  5 15:41 libcrypto.so ->
> libcrypto.so.0.9.8
> -r-xr-xr-x   1 arkie   bjumts   2567624 Aug  5 15:41 libcrypto.so.0.9.8
> -rw-r--r--   1 arkie   bjumts    588036 Aug  5 15:41 libssl.a
> lrwxrwxrwx   1 arkie   bjumts        15 Aug  5 15:41 libssl.so ->
> libssl.so.0.9.8
> -r-xr-xr-x   1 arkie   bjumts    424320 Aug  5 15:41 libssl.so.0.9.8
>
> As we can see, there are two dynamic lib file libcrypto.so.0.9.8 
> andlibcrypto.so.0.9.8
> .
>
> But my question is
> 1) How can  I make the generated dynamic lib name as  libcrypto.0.9.8.so
> and libcrypto.0.9.8.so, not the default name?
> 2) If dynamic lib name is changed successfully, How to make sure the link
> time name is same as the changed dynamic lib name? Is there some option
> similar with "-soname" which can specify the link time name?
>
> For example:
> =>ldd libssl.so.0.9.8
>    libcrypto.so.0.9.8 => ....
>    .....
> After change name to libssl.0.9.8.so, result should be:
> =>ldd libssl.0.9.8.so
>     libcrypto.0.9.8.so =>.....
>   .....
>
> Thank you.
>
> Best Regards,
> Arkie
>

Reply via email to