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
pgsql-ports by date
| Next: | From: Bruce Momjian | Date: 2006-02-01 16:54:44 |
| Subject: Re: Failed install - libgen.so doesn't exist |
| Previous: | From: Tom Lane | Date: 2006-02-01 16:47:15 |
| Subject: Re: Failed install - libgen.so doesn't exist |
pgsql-hackers by date
| Next: | From: Bruce Momjian | Date: 2006-02-01 16:54:44 |
| Subject: Re: Failed install - libgen.so doesn't exist |
| Previous: | From: Bruce Momjian | Date: 2006-02-01 16:50:44 |
| Subject: Re: Backslashes in string literals |