Could not build from source /usr/bin/ld: cannot find -lpgcommon_shlib

From: Dennis Suratna <dennis(dot)suratna(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Could not build from source /usr/bin/ld: cannot find -lpgcommon_shlib
Date: 2019-11-30 17:17:45
Message-ID: CAOBK3ARcoYG+s7fuSeRKratGObLaRZMjX2ELvqvp1k8suKdeQw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi everyone,

I am attempting to build postgres from source with a custom prefix
directory and I am faced with the following error:

/usr/bin/ld: cannot find -lpgcommon_shlib
collect2: error: ld returned 1 exit status

This is the command that I ran:
# Under /home/dennis/workspace/postgresql
mkdir build_dir
cd build_dir
../configure --enable-cassert --enable-debug --prefix
/home/dennis/workspace/pgsql
make

I have attached the extended version of the error I to this email

Thank you for your help.
Dennis Suratna

Attachment Content-Type Size
postgres-make-error.txt text/plain 3.8 KB

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Bzzzz 2019-11-30 17:58:35 Re: Slow response to my query
Previous Message Keith 2019-11-30 16:19:26 Re: Slow response to my query