Bug 282700 - www/linux-freetube: error while loading shared library: libjpeg.so.62
Summary: www/linux-freetube: error while loading shared library: libjpeg.so.62
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nicola Vitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-11 20:04 UTC by Yusuf Yaman
Modified: 2024-11-11 21:59 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (nivit)


Attachments
www/linux-freetube.patch: Add jpeg USE flag to USE_LINUX (913 bytes, patch)
2024-11-11 20:14 UTC, Yusuf Yaman
nxjoseph: maintainer-approval? (nivit)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuf Yaman 2024-11-11 20:04:19 UTC
Hi. I just installed www/linux-freetube with package manager on latest branch and I am unable to launch it.

% linux-freetube
/usr/local/bin/linux-freetube: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

I have enabled and started linux service before installing the package.

Thanks in advance.
Comment 1 Yusuf Yaman 2024-11-11 20:08:32 UTC
I just have installed graphics/linux-rl9-jpeg and the issue solved.

I will send a patch for the Makefile.
Comment 2 Yusuf Yaman 2024-11-11 20:14:05 UTC
Created attachment 255105 [details]
www/linux-freetube.patch: Add jpeg USE flag to USE_LINUX
Comment 3 Yusuf Yaman 2024-11-11 20:14:44 UTC
This patch makes the port depend on graphics/linux-rl9-jpeg port and it solves the launching issue.
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-11-11 21:53:45 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=90c40220393f926ae8e4c3b3b5cb5fbf5fa61306

commit 90c40220393f926ae8e4c3b3b5cb5fbf5fa61306
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2024-11-11 21:48:50 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2024-11-11 21:48:50 +0000

    www/linux-freetube: Add missing dependency

    - Add graphics/linux-rl9-jpeg to run dependencies
    - Bump PORTREVISION

    PR:             282700

 www/linux-freetube/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 5 Nicola Vitale freebsd_committer freebsd_triage 2024-11-11 21:59:20 UTC
Fixed. Thank you for the PR!