home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   linux.debian.bugs.dist      Ohh some weird Debian bug report thing      28,835 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 28,774 of 28,835   
   Boris Kolpackov to All   
   Bug#1128913: libpq.pc lists unnecessary/   
   24 Feb 26 14:40:01   
   
   From: boris@codesynthesis.com   
      
   Package: libpq-dev   
   Version: 17.8-0+deb13u1   
      
   The Libs.private field in libpq.pc lists the following libraries:   
      
   -lpgcommon -lpgport -lssl -lgssapi_krb5 -lm -lldap   
      
   If we install libpq-dev and then try to link libpq.a respecting its .pc   
   file information, we get:   
      
   gcc ... /usr/lib/x86_64-linux-gnu/libpq.a -lpgcommon -lpgport -lgssapi_krb5   
   -lm /usr/lib/x86_64-linux-gnu/libldap.a -lsasl2 /usr/lib/x86_64-   
   inux-gnu/liblber.a /usr/lib/x86_64-linux-gnu/libssl.a /usr/lib/x   
   6_64-linux-gnu/libcrypto.a /usr/lib/x86_64-linux-   
   gnu/libz.a -lzstd -ldl -pthread   
   /usr/bin/ld: cannot find -lpgcommon: No such file or directory   
   /usr/bin/ld: cannot find -lpgport: No such file or directory   
   /usr/bin/ld: cannot find -lgssapi_krb5: No such file or directory   
   /usr/bin/ld: cannot find -lsasl2: No such file or directory   
   /usr/bin/ld: cannot find -lzstd: No such file or directory   
      
   I am not sure if those libraries are unnecessary, should be unnecessary   
   (at least -lpgcommon -lpgport, by means of being included in libpq.a), or   
   libpq-dev should depend on the packages that contain these libraries (like   
   it does on libssl-dev).   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca