Re: Failed install - libgen.so doesn't exist

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: flyvholm(at)fys(dot)ku(dot)dk, pgsql-ports(at)postgresql(dot)org
Subject: Re: Failed install - libgen.so doesn't exist
Date: 2006-02-01 16:52:01
Message-ID: 200602011652.k11Gq1123443@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Tom Lane wrote:
> >> Now that we have the buildfarm I think that experimentation with this
> >> sort of thing is a lot less risky than it used to be. I think we should
> >> be working towards a project policy that AC_CHECK_LIB calls shalt not
> >> use "main", but must name some symbol exported by the expected library.
> >> If we can't find out what symbols the library is expected to provide,
> >> it's time to dike it out.
>
> > Agreed. Anyone want to do the legwork?
>
> It's not possible for any one person to do the legwork, but if several
> people would look to see what the story is on their platforms, we would
> have enough info to get started. We need to know which libraries
> actually get sucked in and some plausible exported names to test for
> each one.
>
> I'll report on HPUX, Linux, and OSX later today, if no one beats me to
> it.

You want the Makefile.global LIBS line? On BSD/OS it is:

LIBS = -lintl -lssl -lcrypto -lz -lreadline -ltermcap -lgetopt \
-lcompat -lipc -ldl -lm -lutil

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-02-01 16:54:44 Re: Failed install - libgen.so doesn't exist
Previous Message Bruce Momjian 2006-02-01 16:50:44 Re: Backslashes in string literals

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 2006-02-01 16:54:44 Re: Failed install - libgen.so doesn't exist
Previous Message Tom Lane 2006-02-01 16:47:15 Re: Failed install - libgen.so doesn't exist