I found it best to configure libiconv as, ./configure --prefix=/opt --libdir=/opt/lib32 because /opt/lib32 is in ldd's search path.
And before configuring Samba to make three changes to the configure script to properly detect libiconv and build the test programs. I've attached the diff. Changing LOOK_DIRS="/usr /usr/local /sw" to also include /opt might be useful for Irix builds.
--- samba-3.0.2/source/configure Fri Feb 6 17:44:44 2004 +++ configure Mon Feb 9 13:12:23 2004 @@ -19939,7 +19939,7 @@ save_LDFLAGS=$LDFLAGS save_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS -I$i/include" - LDFLAGS="$LDFLAGS -L$i/lib" + LDFLAGS="$LDFLAGS -L$i/lib32" LIBS= export LDFLAGS LIBS CPPFLAGS
@@ -20219,8 +20219,8 @@ if test "$ICONV_FOUND" = yes; then LDFLAGS=$save_LDFLAGS
-if test ""$i/lib"" != "/usr/lib" ; then - LDFLAGS="$LDFLAGS -L"$i/lib"" +if test ""$i/lib32"" != "/usr/lib" ; then + LDFLAGS="$LDFLAGS -L"$i/lib32"" fi
@@ -20431,8 +20431,8 @@ fi
-if test ""$i/lib"" != "/usr/lib" ; then - LDFLAGS="$LDFLAGS -L"$i/lib"" +if test ""$i/lib32"" != "/usr/lib" ; then + LDFLAGS="$LDFLAGS -L"$i/lib32"" fi
export CPPFLAGS
---Jason Mader, FHWA/NHTSA National Crash Analysis Center, The George Washington University, VA Campus
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba