Port Bug Report: cannot find dlfcn.h - Mailing list pgsql-ports

From Unprivileged user
Subject Port Bug Report: cannot find dlfcn.h
Date
Msg-id 199901081620.LAA13275@hub.org
Whole thread Raw
List pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        : Alberto Marconi
Your email address    : amarconi@akros.it

Category        : install: compile
Severity        : serious

Summary: cannot find dlfcn.h

System Configuration
--------------------
  Operating System   : Linux 2.0.0 ELF

  PostgreSQL version : 6.4.2

  Compiler used      : gcc 2.7.2

Hardware:
---------
Slackware
Linux dns 2.0.0 #3 Fri Jul 10 15:30:24 MET DST 1998 i486
i486 66Mhz (test system) 32 MB RAM

Versions of other tools:
------------------------
gmake 3.74
flex 2.5.4a

--------------------------------------------------------------------------

Problem Description:
--------------------
When I compile, I get the error shown below:

gcc -I../../include -I../../backend   -O2  -Wall -Wmissing-prototypes -I..   -c
In file included from dynloader.c:24:
../../include/dynloader.h:19: dlfcn.h: No such file or directory
make[2]: *** [dynloader.o] Error 1
make[2]: Leaving directory `/usr/src/pgsql/postgresql-6.4.2/src/backend/port'
make[1]: *** [port.dir] Error 2
make[1]: Leaving directory `/usr/src/pgsql/postgresql-6.4.2/src/backend'
make: *** [all] Error 2

I found some references to this problem in your mailing lists,
but I could not find a solution nor a workaround.
Please help.

--------------------------------------------------------------------------

Test Case:
----------


--------------------------------------------------------------------------

Solution:
---------


--------------------------------------------------------------------------


pgsql-ports by date:

Previous
From: Unprivileged user
Date:
Subject: Port Bug Report: pg_dump from 6.3.2 to 6.4.2 trouble
Next
From: Grégoire Welraeds
Date:
Subject: installation echo