cancel
Showing results for 
Search instead for 
Did you mean: 

Error running SAProuter: sncgss.so: cannot open shared object file

former_member449168
Participant
0 Kudos

Hi

We are trying to run SAProuter with the following command:

./saprouter -r -R /user/sap/saprouter/saprouttab -K p:CN=mycert

But I get the following error:

*** ERROR => DlLoadLib()==DLENOACCESS - dlopen("sncgss.so") FAILED  

"sncgss.so: cannot open shared object file: No such file or directory"  [dlux.c  521]

I read up on this forum on this error, but none of the suggestions I founds are working for me.
I can also state the following:

  • Our environment variables looks correct:
  • SECUDIR is /usr/sap/saprouter/sec
  • SNC_LIB is /usr/sap/saprouter/cryptolib/libsapcrypto.so
  • The file libsapcrypto.so does exist in the directory /usr/sap/saprouter/cryptolib/
  • The user that runs saprouter have read and write access to libsapcrypto.so

What else can cause the error?

Accepted Solutions (0)

Answers (2)

Answers (2)

isaias_freitas
Advisor
Advisor

Hello,

You pointed the environment variable SNC_LIB to one library file.

However, the saprouter is trying to use a different library file.

Please try setting the environment variable SNC_LIB_64 to the same value as the env. var. SNC_LIB.

If the issue persists, please start the saprouter with level 2 trace (add "-V 2" to its command line) and provide the "dev_rout" file.

Regards,

Isaías

former_member449168
Participant
0 Kudos

Thanks. Was not aware that a level 2 trace exists. Will try soon.

isaias_freitas
Advisor
Advisor
0 Kudos

Hi,

Did you solve the issue? If yes, please close this question :-).

Otherwise, how can we assist you further? 🙂

Regards,

Isaías

former_member233657
Active Participant
0 Kudos

Hi,

Maybe a spelling mistake? "./saprouter -r -R /user/sap/saprouter/saprouttab -K p:CN=mycert"

Kind regards,
Martin