Received: from unipune.ernet.in (unipune.ernet.in [196.1.114.1]) by hub.org (8.8.8/8.7.5) with ESMTP id MAA08965 for ; Sun, 2 Aug 1998 12:47:07 -0400 (EDT) Received: from cs.unipune.ernet.in (root@cs.unipune.ernet.in [196.1.114.3]) by unipune.ernet.in (8.9.0/8.9.0) with ESMTP id WAA07764 for ; Sun, 2 Aug 1998 22:08:08 -0500 (GMT) Received: (from porter@localhost) by cs.unipune.ernet.in (8.6.12/8.6.12) id WAA02153 for pgsql-interfaces@hub.org; Sun, 2 Aug 1998 22:19:01 -0500 From: Porter of PDSW Message-Id: <199808030319.WAA02153@cs.unipune.ernet.in> Subject: Error in pgsql compilation To: pgsql-interfaces@hub.org Date: Sun, 2 Aug 1998 22:19:01 -0500 (IST) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit hello everyone, i am trying to compile postgresql95 (with LINUX_ELF=true) on slakware Linux 2.0.0 running on i586, with tcl7.5 and tk4.1. I have also enabled USE_TCL=true and related configuration options. i get compilation error regarding somefile dlfcn.h missing. The correspong part of error message is given below .. ----------------- make[3]: Entering directory `/pdsw/porter/san/pgsql/src/backend/utils/fmgr' gcc -Wall -Wmissing-prototypes -O2 -m486 -Dlinux -I../.. -I../../port/linux -I../../../include -DLINUX_ELF -c dfmgr.c -o dfmgr.o In file included from dfmgr.c:29: ../../port/linux/port-protos.h:19: dlfcn.h: No such file or directory make[3]: *** [dfmgr.o] Error 1 make[3]: Leaving directory `/pdsw/porter/san/pgsql/src/backend/utils/fmgr' make[2]: *** [submake] Error 2 make[2]: Leaving directory `/pdsw/porter/san/pgsql/src/backend/utils' make[1]: *** [postgres_group4] Error 2 make[1]: Leaving directory `/pdsw/porter/san/pgsql/src/backend' make: *** [all] Error 2 ----------------- I checked out for the file. It is not there in the distribution i have. The only dlfcn.h i could find in entire distribution was for ``aix''. If anyone has this file for linux OR knows how/where to get it, please tell me. I don't think the documentaion given (i haven't read all of it yet) with distribution talks about such kind of errors!! thanks for any help in this matter. sandeep (san@cs.unipune.ernet.in)