这是indexloc提供的服务,不要输入任何密码
Skip to content

LD_LIBRARY_PATH is being set if a non-default repository is used #1286

@Neo-Oli

Description

@Neo-Oli

Problem description
shouldAddLdLibraryPath() checks for https://dl.bintray.com/termux/termux-packages-24 at

if (!line.startsWith("#") && line.contains("https://dl.bintray.com/termux/termux-packages-24")) {

If a different repository is set ,LD_LIBRARY_PATH will be set. In the recent repository outage various mirrors were suggested in termux/termux-packages#4358 and recently I started experimenting with setting up my own mirror using aptly. But setting a custom main repository will cause LD_LIBRARY_PATH being set and this will cause a lot of issues with packages (for example mpd, mpv and pulseaudio)

Steps to reproduce
Delete or comment out the https://dl.bintray.com/termux/termux-packages-24 repository and restart Termux.

Expected behavior

LD_LIBRARY_PATH being only set if the legacy repository is used.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions