Package: omniidl
Version: 4.3.2+ds1-1.1+b2
Severity: normal

Dear Maintainer,

When calling omniidl, I get the following error:

% omniidl -V


omniidl: ERROR!

omniidl: Could not open IDL compiler module _omniidlmodule.so
omniidl: Please make sure it is in directory /lib
omniidl: (or set the PYTHONPATH environment variable)
omniidl: (The error was 'No module named '_omniidl'')


If I set manually the PYTHONPATH, I get the expected behavior:

% env PYTHONPATH=/usr/lib/omniidl/ omniidl -V
omniidl version 1.0


When looking at the code, it seems that it tries to compute by itself the path 
to add. However, it is confused by the merge of /usr/bin and /bin.

With my $PATH, omniidl is first found in /bin:

% which omniidl
/bin/omniidl

If I force the use of /usr/bin, it behaves ok:

% /usr/bin/omniidl -V
omniidl version 1.0

Thanks.


-- System Information:
Debian Release: trixie/sid
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable'), 
(500, 'testing'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.11.2-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages omniidl depends on:
ii  libc6       2.40-3
ii  libgcc-s1   14.2.0-8
ii  libstdc++6  14.2.0-8
ii  python3     3.12.6-1

omniidl recommends no packages.

Versions of packages omniidl suggests:
pn  omniidl-python  <none>

-- no debconf information

Reply via email to