Register Login

RS_init: error while loading shared libraries

Updated May 21, 2018

Unable to Launch rs_init file

Hello SAP Experts,

When launching the rs_init file I getting the following error:

$ ./rs_init

./rs_init: error while loading shared libraries: cannot open shared object file: No such file or directory#Note: I have already installed all the libraries.

In order to regenerate the issue please do the following:

  • First run setup.bin
  • Now move to <SYBASE home>/REP-15_0/install
  • And the at last run_init
  • You will notice the error mentioned above.

Please help me to resolve this issue.


  • 24 Aug 2017 5:12 pm Sushma Helpful Answer

    The error you mentioned is caused because after installing SAP Replication Server binaries, you must not have set the environment variables for the Replication Server. Therefore in order to resolve this issue please set the environment variables for SAP Replication Server.

  • 24 Aug 2017 5:13 pm Sushma Helpful Answer

    How to set environment variables related SAP Replication Server ?

    Please run below at SYBASE home directory as workaround:

    $ cd <SYBASE home directory>

    $ . ./

    edit .profile or .bashrc with for bash shell.

    run in .profile
    cd <SYBASE home>

    vi .profile

    <SYBASE home>/

    import in .profile
    cd <SYBASE home>

    vi .profile