Re: Solaris Issue

2003-01-07 Thread chris
Just jumpin' in here real quick without knowin' the full story...  just
trying to help:

Check your LD_LIBRARY_PATH env var.  Make sure it has a path to your SSL
libs.

Also, you can use a linker option to include the path.  If you're using GCC,
add a -R /path/to/lib  in the makefile in the appropriate place.

Good luck.

Chris Bunnell
Senior Engineer - Network Implementation
Avantac Technologies, Inc. - Formerly Sonic Internet Services
9719 Lincoln Village Drive #503
Sacramento, CA. 95827
(916) 854-5940
www.avantac.com

- Original Message -
From: Frank Cusack [EMAIL PROTECTED]
To: Brian Leung [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, January 06, 2003 5:49 PM
Subject: Re: Solaris Issue


 No idea what the problem was.  You didn't quote the original message.
 /fc

 On Tue, Jan 07, 2003 at 09:46:27AM +0800, Brian Leung wrote:
  hi all,
 
  i think the problem may be caused by the fact that the freeradius can't
  find the ssl library but i already tried to compile the ssl lib in
  /usr/local/lib. is there any method to specify the  path of ssl library
  before compile the radius?
  thank you
 
  Brian
 

 -
 List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: Solaris Issue

2003-01-07 Thread Brian Leung
hi all,

when i type the command /usr/ccs/bin/ld /usr/local/openldap/lib/libldap.so

SSL_get_error /usr/local/openldap/lib/libldap.so
sk_value /usr/local/openldap/lib/libldap.so
ber_memalloc /usr/local/openldap/lib/libldap.so
ber_strdup /usr/local/openldap/lib/libldap.so
ber_sockbuf_free /usr/local/openldap/lib/libldap.so
ERR_get_error_line /usr/local/openldap/lib/libldap.so
SSL_load_client_CA_file /usr/local/openldap/lib/libldap.so
SSL_free /usr/local/openldap/lib/libldap.so
X509V3_EXT_d2i /usr/local/openldap/lib/libldap.so
res_query /usr/local/openldap/lib/libldap.so
SSL_pending /usr/local/openldap/lib/libldap.so
ber_skip_tag /usr/local/openldap/lib/libldap.so
ERR_peek_error /usr/local/openldap/lib/libldap.so
SSL_get_peer_certificate /usr/local/openldap/lib/libldap.so
ber_pvt_log_print /usr/local/openldap/lib/libldap.so
ber_alloc_t /usr/local/openldap/lib/libldap.so
SSL_read /usr/local/openldap/lib/libldap.so
ber_sockbuf_add_io /usr/local/openldap/lib/libldap.so
sk_num /usr/local/openldap/lib/libldap.so
SSL_accept /usr/local/openldap/lib/libldap.so
X509_NAME_oneline /usr/local/openldap/lib/libldap.so
connect /usr/local/openldap/lib/libldap.so
ld: fatal: Symbol referencing errors. No output written to a.out

is it relate to the compile problem?

Brian



chris wrote:

Just jumpin' in here real quick without knowin' the full story...  just
trying to help:

Check your LD_LIBRARY_PATH env var.  Make sure it has a path to your SSL
libs.

Also, you can use a linker option to include the path.  If you're using GCC,
add a -R /path/to/lib  in the makefile in the appropriate place.

Good luck.

Chris Bunnell
Senior Engineer - Network Implementation
Avantac Technologies, Inc. - Formerly Sonic Internet Services
9719 Lincoln Village Drive #503
Sacramento, CA. 95827
(916) 854-5940
www.avantac.com

- Original Message -
From: Frank Cusack [EMAIL PROTECTED]
To: Brian Leung [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, January 06, 2003 5:49 PM
Subject: Re: Solaris Issue


  

No idea what the problem was.  You didn't quote the original message.
/fc

On Tue, Jan 07, 2003 at 09:46:27AM +0800, Brian Leung wrote:


hi all,

i think the problem may be caused by the fact that the freeradius can't
find the ssl library but i already tried to compile the ssl lib in
/usr/local/lib. is there any method to specify the  path of ssl library
before compile the radius?
thank you

Brian

  

-
List info/subscribe/unsubscribe? See


http://www.freeradius.org/list/users.html
  



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

  





- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: Solaris Issue

2003-01-06 Thread Brian Leung
hi all,

i think the problem may be caused by the fact that the freeradius can't 
find the ssl library but i already tried to compile the ssl lib in 
/usr/local/lib. is there any method to specify the  path of ssl library 
before compile the radius?
thank you

Brian


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Solaris Issue

2003-01-06 Thread Frank Cusack
No idea what the problem was.  You didn't quote the original message.
/fc

On Tue, Jan 07, 2003 at 09:46:27AM +0800, Brian Leung wrote:
 hi all,
 
 i think the problem may be caused by the fact that the freeradius can't 
 find the ssl library but i already tried to compile the ssl lib in 
 /usr/local/lib. is there any method to specify the  path of ssl library 
 before compile the radius?
 thank you
 
 Brian
 

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: Solaris Issue

2003-01-06 Thread Brian Leung
hi all,
i tried to compile the rlm_ldap module on solaris 8 platform. the
config.log shows:
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for inet_aton in -lresolv... (cached) yes
checking for lber.h... yes
checking for ldap.h... yes
checking for sasl_encode in -lsasl... no
checking for DH_new in -lcrypto... yes
checking for SSL_new in -lssl... no
checking for ber_init in -llber... yes
checking for ldap_init in -lldap... no
configure: warning: silently not building rlm_ldap.
configure: warning: FAILURE: rlm_ldap requires: libldap.
creating ./config.status
creating Makefile

does it mean that the freeradius can't find the ssl lib so that it fail
to compile the rlm_ldap module?
Thank you

Brian

Frank Cusack wrote:

No idea what the problem was.  You didn't quote the original message.
/fc

On Tue, Jan 07, 2003 at 09:46:27AM +0800, Brian Leung wrote:
  

hi all,

i think the problem may be caused by the fact that the freeradius can't 
find the ssl library but i already tried to compile the ssl lib in 
/usr/local/lib. is there any method to specify the  path of ssl library 
before compile the radius?
thank you

Brian




- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

  





- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: Solaris Issue

2003-01-03 Thread Simon White
02-Jan-03 at 23:42, Gene Parks ([EMAIL PROTECTED]) wrote :
 On Solaris you will waste your time trying to find out where the problem
 is.  I had 2 Solaris servers with the exact same software load.  One
 would compile and run FreeRadius the other pretty  much said to forget
 it.  They were both X-1's.  So this is the way to get it to work and not
 have any trouble what so ever.  Install Suse 7.3 for sparc on the two
 servers.  Then compile and install freeradius.  You will be home free
 and never have a bit of problems out of them..

Hehe... 2 Solaris servers become 2 Linux servers... 

Just goes to show how portability can be a headache. We switched all our
old Sun boxes to Linux too, since installing newer Solaris versions will
kill them.

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: Solaris Issue

2003-01-03 Thread Chris Parker
At 08:52 AM 1/3/2003 +, Simon White wrote:

02-Jan-03 at 23:42, Gene Parks ([EMAIL PROTECTED]) wrote :
 On Solaris you will waste your time trying to find out where the problem
 is.  I had 2 Solaris servers with the exact same software load.  One
 would compile and run FreeRadius the other pretty  much said to forget
 it.  They were both X-1's.  So this is the way to get it to work and not
 have any trouble what so ever.  Install Suse 7.3 for sparc on the two
 servers.  Then compile and install freeradius.  You will be home free
 and never have a bit of problems out of them..

Hehe... 2 Solaris servers become 2 Linux servers...

Just goes to show how portability can be a headache. We switched all our
old Sun boxes to Linux too, since installing newer Solaris versions will
kill them.


Solaris 8 works just fine for freeradius here.  From dev/test boxes which
are lowly sun4m ss4 and ss20's to production sun4u servers running 64-bit
native.

Dunno what the problem is, but most of the errors Gene has shown seem more
related to LDAP than to Solaris.  If Linux makes you happy, then go for it.

-Chris
--
   \\\|||///  \  StarNet Inc.  \ Chris Parker
   \ ~   ~ /   \   WX *is* Wireless!\   Director, Engineering
   | @   @ |\   http://www.starnetwx.net \  (847) 963-0116
oOo---(_)---oOo--\--
  \ Wholesale Internet Services - http://www.megapop.net



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: Solaris Issue

2003-01-03 Thread Tim D. McCracken


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Chris
 Parker
 Sent: Friday, January 03, 2003 9:13 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Solaris Issue


 At 08:52 AM 1/3/2003 +, Simon White wrote:
 02-Jan-03 at 23:42, Gene Parks ([EMAIL PROTECTED]) wrote :
   On Solaris you will waste your time trying to find out where
 the problem
   is.  I had 2 Solaris servers with the exact same software load.  One
   would compile and run FreeRadius the other pretty  much said to forget
   it.  They were both X-1's.  So this is the way to get it to
 work and not
   have any trouble what so ever.  Install Suse 7.3 for sparc on the two
   servers.  Then compile and install freeradius.  You will be home free
   and never have a bit of problems out of them..
 
 Hehe... 2 Solaris servers become 2 Linux servers...
 
 Just goes to show how portability can be a headache. We switched all our
 old Sun boxes to Linux too, since installing newer Solaris versions will
 kill them.

 Solaris 8 works just fine for freeradius here.  From dev/test boxes which
 are lowly sun4m ss4 and ss20's to production sun4u servers running 64-bit
 native.

 Dunno what the problem is, but most of the errors Gene has shown seem more
 related to LDAP than to Solaris.  If Linux makes you happy, then
 go for it.

 -Chris

I am running FreeRadius/MySQL on solaris on Netra T1s as well and have no
problems.
My current production systems are running Solaris 8, but my FreeRadius was
compiled on my test box using Solaris 9.

I initially tried to use the Netscape LDAP and the free radius server that
came with it.  That thing ***sucked*** big time, although I managed to use
it
for several months.  I don't know if it was the ldap or the radius, but it
drove me to FreeRadius/MySql.

- Tim



 --
 \\\|||///  \  StarNet Inc.  \ Chris Parker
 \ ~   ~ /   \   WX *is* Wireless!\   Director, Engineering
 | @   @ |\   http://www.starnetwx.net \  (847) 963-0116
 oOo---(_)---oOo--\--
\ Wholesale Internet Services - http://www.megapop.net



 -
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html