Hi All
I did remove all the radius mods from the exclude section of the Makefile. And I did enable radius in the Makefile of the acc module. All compiled well howver when I try to load the acc module I get the following error
ERROR:core:sr_load_module: could not open module </usr/local/lib/openser/modules/acc.so>: libradiusclient-ng.so.2: cannot open shared object file: No such file or directory
However the file in question can be found at
/usr/local/lib/libradiusclient-ng.so.2
With Regards
On Wednesday 11 June 2008, Ali Jawad wrote:
I did remove all the radius mods from the exclude section of the Makefile. And I did enable radius in the Makefile of the acc module. All compiled well howver when I try to load the acc module I get the following error
ERROR:core:sr_load_module: could not open module </usr/local/lib/openser/modules/acc.so>: libradiusclient-ng.so.2: cannot open shared object file: No such file or directory
However the file in question can be found at
/usr/local/lib/libradiusclient-ng.so.2
Hi Ali,
perhaps this path is not included in your system library search path? Look at /etc/ld.so.conf.
Henning
Hi Thank you for your help. I did add the /usr/local/lib to the ld file and the excecuted ldconfig but it responded with all kinds of errors. So I included the full path of the radiusclient file and that gave the same result. Any other ideas ?
-----Original Message----- From: Henning Westerholt [mailto:henning.westerholt@1und1.de] Sent: Wednesday, June 11, 2008 5:23 PM To: users@lists.openser.org Cc: Ali Jawad Subject: Re: [OpenSER-Users] Error Compiling
On Wednesday 11 June 2008, Ali Jawad wrote:
I did remove all the radius mods from the exclude section of the Makefile. And I did enable radius in the Makefile of the acc module.
All
compiled well howver when I try to load the acc module I get the following error
ERROR:core:sr_load_module: could not open module </usr/local/lib/openser/modules/acc.so>: libradiusclient-ng.so.2:
cannot
open shared object file: No such file or directory
However the file in question can be found at
/usr/local/lib/libradiusclient-ng.so.2
Hi Ali,
perhaps this path is not included in your system library search path? Look at /etc/ld.so.conf.
Henning
On Wednesday 11 June 2008, Ali Jawad wrote:
Thank you for your help. I did add the /usr/local/lib to the ld file and the excecuted ldconfig but it responded with all kinds of errors. So I included the full path of the radiusclient file and that gave the same result. Any other ideas ?
The exact format of the configuration file/ directory is distribution dependend i think, thus for the exact details you need to ask e.g. google.
Does 'ldconfig -v' list the correct directory and also the radius library? Does a 'ldd /usr/local/lib/openser/modules/acc.so' shows the correct depencencies resolved?
Cheers,
Henning
Hi
I followed your steps and I was able to include it correctly now
[root@localhost openser-1.3.0-tls]# ldd /usr/local/lib/openser/modules/acc.so libradiusclient-ng.so.2 => /usr/local/lib/libradiusclient-ng.so.2 (0x0074e000) libc.so.6 => /lib/tls/libc.so.6 (0x00906000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x0013d000) libnsl.so.1 => /lib/libnsl.so.1 (0x0016b000) /lib/ld-linux.so.2 (0x00221000)
I am getting this error
Jun 11 14:45:59 [26548] ERROR:core:version_control: module version mismatch for /usr/local/lib/openser/modules/acc.so; core: openser 1.3.0-tls (i386/linux); module: openser 1.3.0-notls (i386/linux)
riginal Message----- From: Henning Westerholt [mailto:henning.westerholt@1und1.de] Sent: Wednesday, June 11, 2008 5:35 PM To: Ali Jawad Cc: users@lists.openser.org Subject: Re: [OpenSER-Users] Error Compiling
On Wednesday 11 June 2008, Ali Jawad wrote:
Thank you for your help. I did add the /usr/local/lib to the ld file and the excecuted ldconfig but it responded with all kinds of errors. So I included the full path of the radiusclient file and that gave the same result. Any other ideas ?
The exact format of the configuration file/ directory is distribution dependend i think, thus for the exact details you need to ask e.g. google.
Does 'ldconfig -v' list the correct directory and also the radius library? Does a 'ldd /usr/local/lib/openser/modules/acc.so' shows the correct depencencies resolved?
Cheers,
Henning
On Wednesday 11 June 2008, Ali Jawad wrote:
I followed your steps and I was able to include it correctly now
[root@localhost openser-1.3.0-tls]# ldd /usr/local/lib/openser/modules/acc.so libradiusclient-ng.so.2 => /usr/local/lib/libradiusclient-ng.so.2 (0x0074e000) libc.so.6 => /lib/tls/libc.so.6 (0x00906000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x0013d000) libnsl.so.1 => /lib/libnsl.so.1 (0x0016b000) /lib/ld-linux.so.2 (0x00221000)
I am getting this error
Jun 11 14:45:59 [26548] ERROR:core:version_control: module version mismatch for /usr/local/lib/openser/modules/acc.so; core: openser 1.3.0-tls (i386/linux); module: openser 1.3.0-notls (i386/linux)
Hi,
the ldd output looks good. :-) Now you have a version mismatch between your openser binary and the acc module, you probably re-compiled and installed only one of them. The easiest way to fix this should be to 'make install' the server again.
Henning