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

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

    <bug>
          <bug_id>59491</bug_id>
          
          <creation_ts>2026-06-10 10:14:35 +0300</creation_ts>
          <short_desc>Невозможно загрузить библиотеку gluegen-rt.so</short_desc>
          <delta_ts>2026-06-10 18:42:23 +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>gluegen2</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</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="Горин Егор Романович">goriner</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>faux</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>289230</commentid>
    <comment_count>0</comment_count>
    <who name="Горин Егор Романович">goriner</who>
    <bug_when>2026-06-10 10:14:35 +0300</bug_when>
    <thetext>Пакет gluegen2 содержит библиотеку с именем libgluegen2-rt.so (дефис), но Java-код внутри gluegen2-rt.jar пытается загрузить библиотеку с именем libgluegen2_rt.so (подчеркивание). Это приводит к UnsatisfiedLinkError при любой попытке использования пакета.

Версия пакета: gluegen2-2.5.0-alt1

Стенд: ALT Workstation K 11.3 x86-64 обновленный до сизиф. 

Шаги:
# apt-get install java-17-openjdk-devel gluegen2
Минимальный тестовый файл:
$ cat &lt;&lt; &apos;EOF&apos; &gt; GluegenTest.java
import com.jogamp.common.os.Platform;
public class GluegenTest {
    public static void main(String[] args) {
        Platform.initSingleton();
        System.out.println(&quot;УСПЕХ: Библиотека загружена&quot;);
    }
}
EOF
$ javac -cp /usr/lib64/gluegen2/gluegen2-rt.jar GluegenTest.java
$ java -cp .:/usr/lib64/gluegen2/gluegen2-rt.jar GluegenTest

Фактический результат:
Exception in thread &quot;main&quot; java.lang.UnsatisfiedLinkError: Couldn&apos;t load library &apos;gluegen2_rt&apos; generically including [], nor as [/usr/java/packages/lib/libgluegen2_rt.so, /usr/lib64/libgluegen2_rt.so, /usr/lib64/libgluegen2_rt.so, /usr/lib/libgluegen2_rt.so, /usr/lib/libgluegen2_rt.so, /home/test/libgluegen2_rt.so, /home/test/natives/linux-amd64/libgluegen2_rt.so]

Ожидаемый результат: библиотека успешно загружается.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>289312</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-06-10 18:42:23 +0300</bug_when>
    <thetext>gluegen2-2.5.0-alt2 -&gt; sisyphus:

Wed Jun 10 2026 Arseniy Kostevich &lt;faux@altlinux&gt; 2.5.0-alt2
- fixed runtime native library loading from %_libdir/gluegen2
- installed native library as libgluegen2_rt.so to match Java loader name (Closes: #59491)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>