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

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

    <bug>
          <bug_id>54994</bug_id>
          
          <creation_ts>2025-06-30 17:25:28 +0300</creation_ts>
          <short_desc>z3.z3types.Z3Exception: libz3.so not found</short_desc>
          <delta_ts>2025-07-01 16:31:00 +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>python3-module-z3</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton Zhukharev">ancieg</reporter>
          <assigned_to name="Grigory Ustinov">grenka</assigned_to>
          <cc>grenka</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>268103</commentid>
    <comment_count>0</comment_count>
    <who name="Anton Zhukharev">ancieg</who>
    <bug_when>2025-06-30 17:25:28 +0300</bug_when>
    <thetext>user@host ~ $ rpm -q python3-module-z3
python3-module-z3-4.15.2-alt1.noarch


user@host ~ $ rpm -qa | grep z3
python3-module-z3-4.15.2-alt1.noarch
libz3-4.15.2-alt1.x86_64


user@host ~ $ python3 -c &apos;import z3&apos;
Could not find libz3.so; consider adding the directory containing it to
  - your system&apos;s PATH environment variable,
  - the Z3_LIBRARY_PATH environment variable, or
  - to the custom Z3_LIB_DIRS Python-builtin before importing the z3 module, e.g. via
    import builtins
    builtins.Z3_LIB_DIRS = [ &apos;/path/to/z3/lib/dir&apos; ] # directory containing libz3.so
[TypeError(&apos;expected str, bytes or os.PathLike object, not NoneType&apos;), OSError(&apos;libz3.so: cannot open shared object file: No such file or directory&apos;)]
Traceback (most recent call last):
  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/usr/lib/python3/site-packages/z3/__init__.py&quot;, line 1, in &lt;module&gt;
    from .z3 import *
  File &quot;/usr/lib/python3/site-packages/z3/z3.py&quot;, line 46, in &lt;module&gt;
    from . import z3core
  File &quot;/usr/lib/python3/site-packages/z3/z3core.py&quot;, line 79, in &lt;module&gt;
    raise Z3Exception(&quot;libz3.%s not found.&quot; % _ext)
z3.z3types.Z3Exception: libz3.so not found.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>268132</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Zhukharev">ancieg</who>
    <bug_when>2025-06-30 22:38:01 +0300</bug_when>
    <thetext>Судя по %changelog последнее и относительно продолжительное время пакетом занимается Григорий, поэтому перевешиваю на него.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>268182</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-07-01 16:31:00 +0300</bug_when>
    <thetext>z3-4.15.2-alt2 -&gt; sisyphus:

Tue Jul 01 2025 Grigory Ustinov &lt;grenka@altlinux&gt; 4.15.2-alt2
- Added patch, fixing libz3 loading (Closes: #54994).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>