build on PPC64 fails

Alexander Voropay alec at
Sat May 28 17:06:30 CEST 2005


 I can't build free-radius CVS on a PPC64 RHAS 4.0 .

$ ./configure   stage is OK.

$ make    stage fails on rlm_mysql
gcc -shared 
 .libs/sql_mysql.o  -L/usr/lib64/mysql -lmysqlclient -lcrypt -lnsl -lm -lz  -m64 -mminimal-toc -Wl,-soname -Wl, 
 -o .libs/
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status

 As far as I understnad situation, the RHAS PPC64 is a bi-standart
system (32- and 64-bit) so the "libmysqlclient.a" **library**
on the RHAS PPC64 resides in the "/usr/lib/mysql/" folder.
The "/usr/lib64/mysql/" contains a *.so objects only, without  *.a.

[root at tr radiusd]# ls -la /usr/lib/mysql/libmysqlclient.a
-rw-r--r--  1 root root 1262082 Nov 24  2004 /usr/lib/mysql/libmysqlclient.a

[root at tr radiusd]# ls -la /usr/lib64/mysql/libmysqlclient.a
ls: /usr/lib64/mysql/libmysqlclient.a: No such file or directory

 Is it possible to correct a ./configure script ?


More information about the Freeradius-Devel mailing list