Re: undefined symbol when installing pgcrypto on 16.1

From: Michael Nolan <htfoot(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: undefined symbol when installing pgcrypto on 16.1
Date: 2024-01-25 00:09:18
Message-ID: CAOzAquKFGq=+2X7SLWMZis2gb69QxqcAM_+-XYSqQ0bgMZuACg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Writing or debugging makefiles is something I haven't done much of,
but as best I can figure out the problem is that the libcrypto.so file
isn't being linked in, though this line in the Makefile in pgcrypto
seems to say should be:

SHLIB_LINK += $(filter -lcrypto -lz, $(LIBS))

I'm guessing it is supposed to pick up the LIBS list from the top
Makefile, but isn't.

If I add this:

SHLIB_LINK += -lcrypto

'make clean' now passes all tests.
--
Mike Nolan

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Nolan 2024-01-25 00:23:47 Re: undefined symbol when installing pgcrypto on 16.1
Previous Message Bruce Momjian 2024-01-24 21:46:13 Re: Providers missing from pgdg-common for GDAL 3.7 (related to multiple missing providers from pgdg-common)