> From: Eivind Ravndal > Sent: Wednesday, 16 July 2003 5:10 PM > > From: "Alan DeKok" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]>
> > > Anybody successfully compiled freeradius with rlm_sql_sybase ? > > > I think there's something wrong with my Makefile > > > /freeradius-0.8.1/src/modules/rlm_sql/drivers/rlm_sql_sybase/Makefile > > Did you try reading it? It says you've got to edit it by hand to > > get it to work. > I've read it, but I don't know what to change. So I was hoping someone > who've compiled it successfully would paste me their MakeFile so I could get > some ideas. I am pretty sure this line is the one which is wrong: > --- > RLM_SQL_LIBS > = -L/opt/sybase/OCS-12_0/lib -ltcl -lcomn -lintl -lnsl -ldl -lm -lcs -lct > --- > When I comment out this line, it compiles and installs just fine, but it > will not run since there's missing some libs. Assuming you're using libct to compile it, try changing the /opt/sybase/OCS-12_0/lib to the directory where libct.so is on your system. You're also going to have to make the /opt/sybase/OCS-12_0/include on the previous instead be the directory that ctpublic.h lives in. (These two steps should be unneccessary if your libct.so lives in /usr/lib and your ctpublic.h lives in /usr/include, eg. freetds-dev package in Debian, and presumably the equivalent pacakges in other Linux distributions) Then make the TARGET line be TARGET = rlm_sql_sybase Then run make in that directory, and see if it works... Otherwise, maybe the libct you've got installed came with some documentation? I was going to have a play with that post-0.9, to see if I could integrate it into the rest of the build system... But I don't use sybase so it would be a mainly academic exercise. -- ========================================================= Paul "TBBle" Hampson Bubblesworth Pty Ltd (ABN: 51 095 284 361) [EMAIL PROTECTED] This is a one line proof...if we start sufficiently far to the left. -- Cambridge University Math Department --------------------------------------------------------- Random signature generator 3.0 by Paul "TBBle" Hampson ========================================================= - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html