My development machine tracks debian unstable pretty closely (apt-get update && apt-get -u upgrade every few days), and recently when I had a chance to grab the latest DRI tree and built it, I had client programs failing to start with straum% gears gears: error while loading shared libraries: /data/dri/lib/libGL.so.1: undefined symbol: dlclose I've got libc6 2.2.2-4 (that's Debian's name for glibc) currently installed; any additional information I can provide on request. This patch seems to fix the problem, but probably needs to be conditioned on some variable or other. Suggestions? Index: Imakefile =================================================================== RCS file: /cvsroot/dri/xc/xc/lib/GL/GL/Imakefile,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 Imakefile --- Imakefile 2001/04/09 16:27:08 1.1.1.1 +++ Imakefile 2001/05/05 03:27:23 @@ -209,6 +209,8 @@ THREADOBJS = $(THREADS_LIBS) #endif +LIBDL=-ldl + #include <Library.tmpl> #undef _LinkBuildLibrary @@ -220,7 +222,7 @@ InstallLibrary($(LIBNAME),$(USRLIBDIR)) #endif #if SharedLibGlx -SharedDepLibraryTarget($(LIBNAME),$(SOREV),$(OBJS),$(OBJS) $(THREADOBJS),.,.) +SharedDepLibraryTarget($(LIBNAME),$(SOREV),$(OBJS),$(OBJS) $(THREADOBJS) $(LIBDL),.,.) InstallSharedLibrary($(LIBNAME),$(SOREV),$(SHLIBDIR)) #if LinkGLToUsrLib && AlternateUsrLibDir install:: -andy _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dri-devel