Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2010 09:52:52 GMT
From:      Julien Cigar <jcigar@ulb.ac.be>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/145002: databases/postgresql-client : libpgport.a is missing although listed in pg_config --libs
Message-ID:  <201003240952.o2O9qqPl000795@www.freebsd.org>
Resent-Message-ID: <201003241000.o2OA0CSS010452@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         145002
>Category:       ports
>Synopsis:       databases/postgresql-client : libpgport.a is missing although listed in pg_config --libs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 24 10:00:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Julien Cigar
>Release:        8.0-RELEASE
>Organization:
Belgian Biodiversity Platform, Université Libre de Bruxelles
>Environment:
FreeBSD jack.vub.ac.be 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Mar 23 17:11:15 CET 2010     root@jack.vub.ac.be:/usr/obj/usr/src/sys/CUSTOM  amd64
>Description:
I have databases/postgresql83-client installed on a machine (without the -server), when I :

jcigar@bccm-it ~ % pg_config --libs
-lpgport -lssl -lcrypto -lz -lreadline -lcrypt -lm 

-lpgport is listed, although /usr/local/lib/libpgport.a is missing. This file is only provided by the -server port. This result in build failures where pg_config is used (for example PR 144985) unless you install the -server port (but then there is no interest to keep separate -client and a -server port).

pg_config is a problem in itself because of confusion over whether it reflects the server build or the client, it really needs splitting into two : a server version that reflects what is needed to build server modules, and a client version ... ?
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003240952.o2O9qqPl000795>