From: m.lindeman <m.l...@he...> - 2005-07-01 14:02:23
|
Hi, I tried it out on two servers (SuSE 8.2). =20 On both I have the Myssql server in the version MySQL-server 4.1.12-1 to = run. =20 But unfortunately without success. Thanks Marcus=20 Hello, =20 First, please direct further posts to =20 pam-mysql-general@li.... I"m redirecting to the address. Be sure to include it in CC. =20 On 2005/07/01, at 3:39, Lindemann Marcus wrote: =20 > Hello, I have a problem with compiling pam_mysql. > My System is a SuSE 8.2. > > > a138:/daten/download/pam_mysql-0.7-pre1 # make > /bin/sh ./libtool --mode=3Dcompile > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql =20 > -I/usr/include/security > -I/usr/include -g -O2 -I/usr/include/mysql -mcpu=3Di486 =20 > -fno-strength-redu > ce -c pam_mysql.c > mkdir .libs > > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql =20 > -I/usr/include/security > -I/usr/include -g -O2 -I/usr/include/mysql -mcpu=3Di486 =20 > -fno-strength-reduce > -c pam_mysql.c -fPIC -DPIC -o .libs/pam_mysql.o > /bin/sh ./libtool --mode=3Dlink > gcc -g -O2 -I/usr/include/mysql -mcpu=3Di486 -fno-strength-reduce = -o > pam_mysql.la -rpath /lib/security -module -avoid-version > am_mysql.lo -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc = =20 > -lnss_ > files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv > gcc -shared .libs/pam_mysql.o -Wl,--whole-archive > /usr/lib/mysql/libmysqlclient.a -Wl,--no-whole-archive =20 > -L/usr/lib/mysql -lz > -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -mcpu=3Di486 =20 > -Wl,-sonam > e -Wl,pam_mysql.so -o .libs/pam_mysql.so > /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ = > ld: > cannot find -lnss_files > collect2: ld returned 1 exit status > make: *** [pam_mysql.la] Fehler 1 =20 Since the following library dependency "-lnss_files -lnss_dns -lresolv" comes from MySQL, I think the problem is in your MySQL installation. Probably the situation where you installed MySQL is different from the = present. You aren"t sure what was going on so far. Please consider updating = MySQL to the latest version (4.0.x or 4.1.x). =20 Moriyoshi =20 =20 > > Thanks beautifully from Germany > Marcus |