Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892828 - app-office/libreoffice-bin-7.4.4.2: soffice.bin: error while loading shared libraries: libtiff.so.6
Summary: app-office/libreoffice-bin-7.4.4.2: soffice.bin: error while loading shared l...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-01 14:08 UTC by Pacho Ramos
Modified: 2023-05-06 17:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2023-02-01 14:08:51 UTC
I cannot start libreoffice because of:
/usr/lib64/libreoffice/program/soffice.bin: error while loading shared libraries: libtiff.so.6: cannot open shared object file: No such file or directory

Indeed, if I run revdep-rebuild -v -p it catches it but not preserved-lib portage, I am not why. Then, it will break "silently" at update time.


# revdep-rebuild -v -p
 * This is the new python coded version
 * Please report any bugs found using it.
 * The original revdep-rebuild script is installed as revdep-rebuild.sh
 * Please file bugs at: https://bugs.gentoo.org/
 * Found a valid cache, skipping collecting phase
 * Scanning files
 * Checking dynamic linking consistency
 * Broken files that require: libtiff.so.6 (64 bits)
	* /usr/lib64/libreoffice/program/libmergedlo.so
 * Assign files to packages
	* /usr/lib64/libreoffice/program/libmergedlo.so -> app-office/libreoffice-bin-7.4.4.2

emerge --pretend --verbose --oneshot --complete-graph=y app-office/libreoffice-bin:0

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 10.71 s.

[ebuild   R    ] app-office/libreoffice-bin-7.4.4.2::gentoo  USE="gnome -java -kde" PYTHON_SINGLE_TARGET="python3_10" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

I tried to install media-libs/tiff-compat... but it seems it conflicts with regular media-libs/tiff and, then, I cannot install it :S (or I don't understand how are we supposed to use that compat package as the other I knew are parallel installable with their corresponding libs)

Thanks
Comment 1 Pacho Ramos gentoo-dev 2023-02-01 14:23:11 UTC
Umm, it seems portage is silently skipping the update to the last tiff version and I still have media-libs/tiff-4.4.0-r2

# emerge -pvuDN world

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 32.63 s.


Total: 0 packages, Size of downloads: 0 KiB
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2023-02-04 15:22:36 UTC
(In reply to Pacho Ramos from comment #1)
> Umm, it seems portage is silently skipping the update to the last tiff
> version and I still have media-libs/tiff-4.4.0-r2
> 
> # emerge -pvuDN world
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> Dependency resolution took 32.63 s.
> 
> 
> Total: 0 packages, Size of downloads: 0 KiB

That explains it. libreoffice-bin is built against tiff-4.5.0, which provides /usr/lib64/libtiff.so.6 ...

I can only guess that you have some other package that depends on old tiff.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-04 17:25:19 UTC
libtiff needs to be in BIN_COMMON_DEPEND with the version it was built against.

(In reply to Pacho Ramos from comment #0)
> I tried to install media-libs/tiff-compat... but it seems it conflicts with
> regular media-libs/tiff and, then, I cannot install it :S (or I don't
> understand how are we supposed to use that compat package as the other I
> knew are parallel installable with their corresponding libs)
> 

It conflicts with *older* libtiff because you can't have them both at the same time. You can have newer libtiff and newer libtiff-compat because it's providing an older version.
Comment 4 Pacho Ramos gentoo-dev 2023-02-05 12:12:42 UTC
Yep, I opened bug 892832 but forgot to add it to the "see also" field

The workaround for now is to manually do emerge -1 tiff tiff-compat
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2023-05-06 17:41:19 UTC
This is gone.