By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1809

Summary: khexedit does not run: libraries not available
Product: TDE Reporter: Gerhard Zintel <gerhard.zintel>
Component: non-core programsAssignee: Michele Calgaro <michele.calgaro>
Status: RESOLVED FIXED    
Severity: normal CC: bugwatch, darrella, gerhard.zintel, michele.calgaro, slavek.banko
Priority: P5    
Version: R14.0.0 [Trinity]   
Hardware: i386   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2014    

Description Gerhard Zintel 2014-01-04 13:29:04 CST
khexedit installed with:
sudo apt-get install khexedit-trinity

Message:
khexedit: error while loading shared libraries: libkio.so.4: cannot open shared object file: No such file or directory

Using ldd gives:
$ ldd /opt/trinity/bin/khexedit |grep found
        libkio.so.4 => not found
        libkdeprint.so.4 => not found
        libkdeui.so.4 => not found
        libkdecore.so.4 => not found

installed libs are e.g.:
/usr/lib/libkio.so.5
/usr/lib/libkio.so.5.10.5

System:
Linux version 3.8.0-32-generic (buildd@akateko) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #47-Ubuntu SMP Tue Oct 1 21:36:40 UTC 2013

apt sources.list:
deb http://ppa.quickbuild.pearsoncomputing.net/slavek-banko/axis/ubuntu raring main

Original installation:
Linux Mint 15 "olivia"
Comment 1 Darrell 2014-01-06 11:54:38 CST
I'm using the latest pre R14 git. khexedit runs for me.

>khexedit: error while loading shared libraries: libkio.so.4: cannot open shared
>object file: No such file or directory
In pre R14 git, libkio is renamed to libtdeio, as well as libkdeprint->libtdeprint, libkdeui->libtdeui, and libkdecore->libtdecore.so.

Are you running pre R14 nightlies or 3.5.13.x? If 3.5.13.x then please update the bug report Version field. :)

If running pre R14, then please verify no remnant 3.5.13.x packages are installed.
Comment 2 Gerhard Zintel 2014-01-06 14:59:59 CST
Here I need help. (Like mentioned already) I'm using Slavek's repository. The About dialog in any application gives me "Release R14.0.0 [DEVELOPMENT]" thus I assume I'm running R14 version.

I'm not a developer. I have not compiled TDE from Git. I don't know what to change in the Version field. No other R14 version is available.

If the problem does not appear in the latest R14 Git version but only in Slavek's repository than we might close the bug and I wait for the final R14 version.

Thanks for your time
Comment 3 Darrell 2014-01-06 15:12:29 CST
Open konsole and type the following:

tde-config --version

If you see any results then you have R14 installed. If you see an error then try this:

kde-config --version

Overall, looks to me like you have some mixed 3.5.13.x packages along with R14 packages.
Comment 4 Gerhard Zintel 2014-01-06 15:23:24 CST
$ tde-config --version
Qt: 3.5.0
TDE: R14.0.0 [DEVELOPMENT]
tde-config: 1.0

The renamed libs are in
/opt/trinity/lib/
eg:

/opt/trinity/lib/libtdeio.so.14
/opt/trinity/lib/libtdeio.so.14.0.0
/opt/trinity/lib/libtdecore.so.14
/opt/trinity/lib/libtdecore.so.14.0.0
...

I might have a problem with mixing but in my understanding if I call
$ ldd /opt/trinity/bin/khexedit

and get e.g. the following lines:
        libkio.so.4 => not found
        libkdeprint.so.4 => not found
        libkdeui.so.4 => not found
        libkdecore.so.4 => not found

then I assume the executable khexedit is linked to old library versions.

Any hint how to fix a mixed version problem?
Comment 5 Darrell 2014-01-06 15:58:41 CST
>then I assume the executable khexedit is linked to old library versions.
Long shot but perhaps try the following:

Open konsole
As root run ldconfig

Then try ldd /opt/trinity/bin/khexedit

>Any hint how to fix a mixed version problem?
I'm not A Debian user. Hopefully Slavek eventually will join this conversation. Until then, khexedit is part of tdeutils. Make sure you have tdeutils installed and not kdeutils from 3.5.13.x.
Comment 6 Michele Calgaro 2014-03-07 01:37:03 CST
Gerhard, is the problem still there? Using the sources from the current tree, the library dependencies are correct

ldd /opt/trinity/bin/khexedit
        linux-vdso.so.1 (0x00007fafa85c1000)
        libtdeio.so.14 => /opt/trinity/lib/libtdeio.so.14 (0x00007fafa7f84000)
        libtdeprint.so.14 => /opt/trinity/lib/libtdeprint.so.14 (0x00007fafa7c96000)
        libtdeui.so.14 => /opt/trinity/lib/libtdeui.so.14 (0x00007fafa76d3000)
        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fafa742f000)
        libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fafa71f3000)
        libtdesu.so.14 => /opt/trinity/lib/libtdesu.so.14 (0x00007fafa6fd6000)

Perhaps at the time of the report, the nightly builds were inconsistent (some packages renamed and built and khexedit not yet rebuilt).
Comment 7 Michele Calgaro 2016-10-11 20:50:46 CDT
I think the issue was a temporary one, caused by the kde->tde renaming process (libkio -> libtdeio and so on). Probably the khexedit executable from the nightly builts had not yet been rebuilt.
There are no problems currently as far as I can say.
Given the very long inactivity and lack of reply, I am closing the bug.
Feel free to reopen it should be bug appears again