atom feed7 messages in net.sourceforge.lists.courier-users[courier-users] mysql compile problem...
FromSent OnAttachments
Garth GillespieMar 27, 2003 10:19 am 
Sam VarshavchikMar 27, 2003 2:45 pm 
Garth GillespieMar 27, 2003 3:48 pm 
Gordon MessmerMar 27, 2003 4:22 pm 
Garth GillespieMar 27, 2003 4:38 pm 
Sam VarshavchikMar 27, 2003 5:07 pm 
Gordon MessmerMar 27, 2003 6:58 pm 
Subject:[courier-users] mysql compile problems -- at wits end
From:Garth Gillespie (gar@garth.org)
Date:Mar 27, 2003 10:19:43 am
List:net.sourceforge.lists.courier-users

Fresh install of SuSE 8.1. MySQL installed via rpms - all headers and libraries installed. Courier-IMAP will not include MySQL.

relevent (?) output from authlib/config.log

<snip> configure:5987: result: no configure:6249: checking for mysql_config configure:6267: found /usr/bin/mysql_config configure:6279: result: /usr/bin/mysql_config configure:6303: checking for mysql_connect configure:6346: gcc -o conftest -g -O2 -Wall -I.. -I./..

conftest.c -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_fi les -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5 /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lnss_files collect2: ld returned 1 exit status configure:6349: $? = 1 configure: failed program was: #line 6308 "configure" #include "confdefs.h" </snip>

is it failing on mysql because of not finding libnss_files? If so, what package is this? I have libnss_files.so.2 in /lib.

-rwxr-xr-x 1 root root 44415 Sep 10 2002 libnss_files.so.2

and ldconfig -p shows libnss_files loaded

-> libnss_files.so.2 (libc6, OS ABI: Linux 2.4.0) => /lib/libnss_files.so.2

so wtf?

please help. i was at this until the wee hours of the morning.