<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>18007</bug_id>
          
          <creation_ts>2008-11-26 14:16:00 +0300</creation_ts>
          <short_desc>undefined symbol: PQconnectionNeedsPassword</short_desc>
          <delta_ts>2008-12-26 13:31:53 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>postgresql-8.3eter</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="enp">enp</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81737</commentid>
    <comment_count>0</comment_count>
    <who name="enp">enp</who>
    <bug_when>2008-11-26 14:16:00 +0300</bug_when>
    <thetext># apt-get install postgresql-8.3eter-server postgresql-8.3eter postgresql-8.3eter-contrib

# service postgresql start
Starting postgresql service: Initializing database: [ DONE ]

[ DONE ]

# psql -U postgres
psql: symbol lookup error: psql: undefined symbol: PQconnectionNeedsPassword</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81749</commentid>
    <comment_count>1</comment_count>
    <who name="Boris Savelev">boris</who>
    <bug_when>2008-11-26 15:54:49 +0300</bug_when>
    <thetext>$ findsym PQconnectionNeedsPassword
/usr/lib/libpq.so: 00006030 T PQconnectionNeedsPassword
/usr/lib/libpq.so.5: 00006030 T PQconnectionNeedsPassword
$ rpm -qf /usr/lib/libpq.so.5
libpq5.1-8.3.5-alt1

а у Вас как?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81764</commentid>
    <comment_count>2</comment_count>
    <who name="enp">enp</who>
    <bug_when>2008-11-26 19:38:12 +0300</bug_when>
    <thetext>(In reply to comment #1)
&gt; $ findsym PQconnectionNeedsPassword
&gt; /usr/lib/libpq.so: 00006030 T PQconnectionNeedsPassword
&gt; /usr/lib/libpq.so.5: 00006030 T PQconnectionNeedsPassword
&gt; $ rpm -qf /usr/lib/libpq.so.5
&gt; libpq5.1-8.3.5-alt1
&gt; 
&gt; а у Вас как?

$ findsym PQconnectionNeedsPassword
$ rpm -qf /usr/lib/libpq.so.5
libpq5.2-8.2.6-alt1.2

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81765</commentid>
    <comment_count>3</comment_count>
    <who name="enp">enp</who>
    <bug_when>2008-11-26 19:41:29 +0300</bug_when>
    <thetext># apt-get install libpq5.1
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libldap2.3 libsasl2
The following packages will be REMOVED:
  libpq5.2
The following NEW packages will be installed:
  libldap2.3 libpq5.1 libsasl2
0 upgraded, 3 newly installed, 1 removed and 0 not upgraded.
Need to get 421kB of archives.
After unpacking 1083kB of additional disk space will be used.
Do you want to continue? [Y/n] y
...
Done.
# findsym PQconnectionNeedsPassword
# rpm -qf /usr/lib/libpq.so.5
libpq5.1-8.3.5-alt1
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81881</commentid>
    <comment_count>4</comment_count>
    <who name="Boris Savelev">boris</who>
    <bug_when>2008-11-28 14:22:06 +0300</bug_when>
    <thetext>у меня ни на одной машине не воспроизводится-(
везде символ присутствует. 
какой вывод
readelf -s /usr/lib/libpq.so.5.1 | grep connection
?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81893</commentid>
    <comment_count>5</comment_count>
    <who name="enp">enp</who>
    <bug_when>2008-11-28 17:40:55 +0300</bug_when>
    <thetext>(In reply to comment #4)
&gt; у меня ни на одной машине не воспроизводится-(
&gt; везде символ присутствует. 
&gt; какой вывод
&gt; readelf -s /usr/lib/libpq.so.5.1 | grep connection
&gt; ?

[root@sisyphus ~]# findsym PQconnectionNeedsPassword
[root@sisyphus ~]# readelf -s /usr/lib/libpq.so.5.1 | grep connection
   217: 00006070    36 FUNC    GLOBAL DEFAULT   11 PQconnectionUsedPassword
   268: 00006030    52 FUNC    GLOBAL DEFAULT   11 PQconnectionNeedsPassword

Вообще VE, в котором это воспроизводилось, уже убит (наверное я поторопился). Создал новый с сизифом, там postgresql-8.3eter и psql не ругается, вывод как раз с этого VE.

Так что можно закрывать как переставший воспроизводиться у репортера ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83460</commentid>
    <comment_count>6</comment_count>
    <who name="Boris Savelev">boris</who>
    <bug_when>2008-12-26 13:31:53 +0300</bug_when>
    <thetext>пожалуй тут все-таки бага. надо требовать libpq версии не меньше чем версия сервера postgres</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>