Re: undefined symbol when installing pgcrypto on 16.1 - Mailing list pgsql-general

From Michael Nolan
Subject Re: undefined symbol when installing pgcrypto on 16.1
Date
Msg-id CAOzAquKFGq=+2X7SLWMZis2gb69QxqcAM_+-XYSqQ0bgMZuACg@mail.gmail.com
Whole thread Raw
In response to Re: undefined symbol when installing pgcrypto on 16.1  (Michael Nolan <htfoot@gmail.com>)
Responses Re: undefined symbol when installing pgcrypto on 16.1  (Michael Nolan <htfoot@gmail.com>)
Re: undefined symbol when installing pgcrypto on 16.1  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Providers missing from pgdg-common for GDAL 3.7 (related to multiple missing providers from pgdg-common)
Next
From: Michael Nolan
Date:
Subject: Re: undefined symbol when installing pgcrypto on 16.1