Well, I solved the rlm_sql_oracle issue (thanks Chris):

Here's what I needed to do:

1. recompile my gcc for 64 bit.  This means use a 32 bit gcc to
bootstrap binutils, and then create a 64 bit compiler.

2. export LD_LIBRARY_PATH=/lib:/path-to-compiler/lib

And that was great.  Except I've got this new issue where I can't use
libcrypt.so because of a linker error.  Here's my new error and the gcc
line that's generating it.  I haven't compiled glibc on Solaris yet (and
so far I'm happily avoiding it).

gcc .libs/radiusdS.o -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-Wall -D_GNU_SOURCE -DNDEBUG -I../include -o .libs/radiusd radiusd.o
files.o util.o acct.o nas.o log.o valuepair.o version.o proxy.o exec.o
auth.o timestr.o conffile.o modules.o modcall.o session.o xlat.o
threads.o smux.o radius_snmp.o client.o request_list.o mainconfig.o 
-L/export/home/chayim/freeradius/src/lib
/export/home/chayim/freeradius/src/lib/.libs/libradius.so -lcrypt
/export/home/chayim/freeradius/libltdl/.libs/libltdl.so -ldl -lnsl
-lresolv -lsocket -lposix4 -lpthread -R/shared/toolchain//lib
ld: fatal: file /lib/libcrypt.so: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to .libs/radiusd
collect2: ld returned 1 exit status


On Thu, 2003-02-06 at 16:37, Chris Parker wrote:
> At 04:28 PM 2/6/2003 -0500, Chayim I. Kirshen wrote:
> >Chris,
> >
> >My compiler is now 64 bit (with a bit of work), but I still can't link.
> >Any ideas?  BTW: since I'm not subscribed to the list, can you reply all
> >so I can see it as well.
> 
> Can you reprint the error you are seeing?
> 
> Also, can you show the output of 'file <foo>' where <foo> is the rlm_sql.o
> file and the oracle lib that isn't working?
> 
> Also, please list the output of 'ldd <oraclefoo>' where <oraclefoo> is the
> library that is failing to link.
> 
> -Chris
> 
> 
> >thanks,
> >
> >--ck
> >
> >
> >-
> >List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 
> --
>     \\\|||///  \          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

Reply via email to