Using static library(disable shard library) will make -X fail.

kids67.tw kids67.tw at yahoo.com.tw
Tue Mar 25 11:46:24 CET 2014


Dear Support,
 
I use 3.0.2 version for below configure:
 
3.0.2:
./configure
--prefix=./bin/LINUX/freeradius --with-shared-libs=no
--with-openssl-includes=./openssl/install/LINUX/include
--with-openssl-libraries=./openssl/install/LINUX/lib
--with-sqlite-lib-dir=./sqlite/install/LINUX/lib
--with-sqlite-include-dir=./sqlite/install/LINUX/include
 
I can make and make install successful, 
but after that I want to run ./radiusd -XC
-d ./bin/LINUX/freeradius/etc/raddb/
 
It will display below fail:
 
radiusd: #### Loading Clients ####
 client localhost {
       ipaddr = 127.0.0.1
       require_message_authenticator = no
       secret = <<< secret >>>
       nas_type = "other"
       proto = "*"
  limit {
      max_connections = 16
      lifetime = 0
      idle_timeout = 30
  }
 }
radiusd: #### Instantiating modules ####
 instantiate {
 }
 modules {
./bin/LINUX/freeradius/etc/raddb//mods-enabled/detail.log[17]:
Failed to link to module 'rlm_detail': rlm_detail.so: cannot open shared object
file: No such file or directory
 
It means link module fail, but since I
already configure without dynamic library, why it still want to link
rlm_detail.so?
My library path is: ./bin/LINUX/freeradius/lib/
and it only have rlm_*.a and rlm_*.la, don’t have any dynamic library.
 
Does freeradius can not support static library?

Please help, thanks.
 
Regards,
SAxonTseng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/mailman/private/freeradius-users/attachments/20140325/1b4870e8/attachment.html>


More information about the Freeradius-Users mailing list