At 04:51 PM 2/6/2003 -0500, Chayim I. Kirshen wrote:
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
Here is what I do to set a 64-bit solaris env: ( assuming you've installed 64-bit version of gcc in /usr/local/gcc-v9 ) PATH=/usr/local/gcc-v9/bin:$PATH LD_LIBRARY_PATH=/usr/local/gcc-v9/lib:$LD_LIBRARY_PATH CFLAGS="-mcpu=v9 -Wa,-xarch=v9a" CXXFLAGS=$CFLAGS export PATH LD_LIBRARY_PATH CFLAGS CXXFLAGS
Note that you above set '/lib' explicitly to be the first place forAnd 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
ld to look. Try removing the '/lib' from the front of your LD_LIBRARY_PATH.
-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