Re: pgagent 4 build error on Fedora 28

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: pgadmin-hackers <pgadmin-hackers(at)PostgreSQL(dot)org>
Subject: Re: pgagent 4 build error on Fedora 28
Date: 2018-08-09 11:36:06
Message-ID: 481b8bb756d19bb6da6745395a06cd8086cae5a7.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers


Hi,

On Thu, 2018-08-09 at 12:55 +0300, Devrim Gündüz wrote:
> [100%] Linking CXX executable pgagent
> /usr/bin/ld: CMakeFiles/pgagent.dir/connection.cpp.o: undefined reference to
> symbol 'pthread_join@@GLIBC_2.2.5'
> //usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command
> line
> collect2: error: ld returned 1 exit status
> make[3]: *** [CMakeFiles/pgagent.dir/build.make:181: pgagent] Error 1

Replying my own email: Fixed it by adding -pthread to CXXFLAGS in the spec
file.

Regards,
--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2018-08-09 11:40:46 Re: pgagent 4 build error on Fedora 28
Previous Message Fahar Abbas 2018-08-09 11:26:59 Re: pgAdmin4 v3.2 candidate builds