From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26813 invoked by uid 1002); 10 Feb 2003 17:12:16 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 136 invoked from network); 10 Feb 2003 17:12:15 -0000 From: Ken To: gentoo-dev@gentoo.org Date: Mon, 10 Feb 2003 09:01:44 -0800 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200302100901.56336.ken@kickasskungfu.com> Subject: [gentoo-dev] postfix-2.0.3, mysql, and base system issues X-Archives-Salt: 29188b80-6b8f-4c5f-b9f4-9a1254dd216e X-Archives-Hash: 05f4294864e7834824db4781ed4f788a =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey all, I'm a bit stumped by this issue. I'm hoping one of you will have some insig= ht.=20 Yesterday I upgraded from postfix-1.1.x to postfix-2.0.3. Everything seemed= =20 fine, same use flags as before and all that. However, I cannot for the life= o=20 me get it to build with mysql support. I've tried changing use flags, doing= =20 it manually, using an older version, updating other things on my system an= d=20 then trying to build it and no luck with any of it.=20 I've updated gcc, gcc-config, glibc, texinfo, pam, cyrus-sasl, mysql, and=20 postfix. The only other thing I can think of is that this has something to = do=20 with the gcc-2.95.3 -> gcc-3.2.1-r6 update I. root@kickasskungfu.com > emerge info Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.1, glibc-2.2.5-r4,2.3.1-r2) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D System uname: 2.4.19-gentoo-r7 i586 AMD-K6(tm) 3D processor GENTOO_MIRRORS=3D"http://gentoo.oregonstate.edu=20 http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT=3D"/etc /var/qmail/control /usr/kde/2/share/config=20 /usr/X11R6/lib/X11/xkb /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK=3D"/etc/gconf /etc/env.d" PORTDIR=3D"/usr/portage" DISTDIR=3D"/mnt/win_c/distfiles" PKGDIR=3D"/usr/portage/packages" PORTAGE_TMPDIR=3D"/mnt/win_c" PORTDIR_OVERLAY=3D"/usr/portage.local/" USE=3D"x86 oss 3dnow apm avi crypt cups encode gif jpeg kde gnome libg++ mi= kmod=20 mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv= =20 zlib gtkhtml alsa gdbm berkdb slang readline arts bonobo svga java guile sd= l=20 gpm tcpd libwww perl python esd imlib oggvorbis gtk qt motif opengl mozilla= =20 snmp X tcltk ssl sasl pam mysql maildir imap -kerberos -ldap" COMPILER=3D"gcc3" CHOST=3D"i586-pc-linux-gnu" CFLAGS=3D"-march=3Dk6-2 -O2 -pipe" CXXFLAGS=3D"-march=3Dk6-2 -O2 -pipe" ACCEPT_KEYWORDS=3D"x86" MAKEOPTS=3D"-j3" AUTOCLEAN=3D"yes" SYNC=3D"rsync://rsync.gentoo.org/gentoo-portage" =46EATURES=3D"sandbox ccache buildpkg" Postfix is being compiled with mysql use flags. I see it compile the=20 dict_mysql.c code, as well as watch the mysql compiler flags scroll by duri= ng=20 the build. An when doing a strace, I see the program load the=20 libmysqlclient.so: open("/usr/lib/libmysqlclient.so.10", O_RDONLY) =3D 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\201"..., 1024)= =3D=20 1024 fstat64(3, {st_mode=3DS_IFREG|0755, st_size=3D244048, ...}) =3D 0 mmap2(NULL, 222752, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =3D 0x4011c000 mprotect(0x4013a000, 99872, PROT_NONE) =3D 0 mmap2(0x4013a000, 102400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,=20 0x1d) =3D 0x4013a000 close(3) =3D 0 I also noticed that postfix was trying to contact nscd for some kind of=20 resolution. /var/run/.nscd_socket: no such file or directory. There seems t= o=20 be no mention of this in the postfix doc's or makefiles. nscd and nsswitch= =20 appear to be part of baselayout. And thats the part which makes me think th= is=20 whole mess could be related to the gcc update. I never even knew those file= s=20 were there until this postfix problem happened. No matter what I tried it all ends up the same, no mysql support. root -> postconf -m static sdbm nis regexp environ proxy btree unix hash To sum up, I started with a working postfix-1.1.20020917-r1 install with my= sql=20 support. I then upgraded to 2.0.3 which had no mysql support. I then update= d=20 a whole bunch of stuff on my system to see if I could get it to compile=20 correctly and still had no luck. So then I tried going back to my old worki= ng=20 version, and it too has the same problem now. My whole email system is base= d=20 upon mysql backend. Anyone else have any ideas? Any help would be=20 appreciated. btw - sorry if this email is a little scattered, this was all I did yesterd= ay.=20 If I left anything out please let me know.=20 Thanks =2D --=20 Ken - "I'm just re-do." ken@kickasskungfu.com =2D ----------------------------------------------------------------- pgp fingerprint 2D6D 67D1 1600 04E0 4AF7 BA7E 26A5 4189 9228 1585 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+R9r4JqVBiZIoFYURAgVzAJ9T0WuojPZ9koOIXyAp/cNy7FVIaACcCeMK S1oiHnxH+W5rqXz+zBzlPdw=3D =3DUhuj =2D----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list