build on PPC64 fails
Alexander Voropay
alec at artcoms.ru
Sat May 28 17:06:30 CEST 2005
Hi!
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,rlm_sql_mysql-1.1.0-pre0.so
-o .libs/rlm_sql_mysql-1.1.0-pre0.so
/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 ?
--
-=AV=-
More information about the Freeradius-Devel
mailing list