Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#46177 - opencascade messes up LD_LIBRARY_PATH

Attached to Project: Community Packages
Opened by bob (getzze) - Wednesday, 02 September 2015, 21:03 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 02 September 2015, 23:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When installing opencascade (6.9.0-1), the variable LD_LIBRARY_PATH is set to /opt/opencascade/lib, and it should be a list of directories, with /opt/opencascade/lib appended at the end.
The bug comes from a mistake in the `env.sh` file from the package source.
In line 4 it should not be:

export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$CASROOT/lib"

but:

export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$CASROOT/lib"


Steps to reproduce:

pacman -S opencascade
echo $LD_LIBRARY_PATH
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 02 September 2015, 23:08 GMT
Reason for closing:  Not a bug
Additional comments about closing:  User requested:
Sorry it was another shell script that was erasing my LD_LIBRARY_PATH, the export in opencascade is correct.

Loading...