FS#49459 - [ffmpeg2.8] problematic ld.so.conf.d configuration

Attached to Project: Arch Linux
Opened by Kevin Mihelich (kmihelich) - Tuesday, 24 May 2016, 18:08 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 24 May 2016, 19:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The following line from package():
echo -e '/usr/lib/\n/usr/lib/ffmpeg2.8/' > "${pkgdir}"/etc/ld.so.conf.d/ffmpeg2.8.conf

creates an ld.so.conf.d configuration that specifies /usr/lib, such that any configuration file that follows alphabetically that intends to point to other directories as an override for libraries in /usr/lib will be negated by this instance of /usr/lib added to the search path order prior to it being automatically appended at the end.

For example, if there was a file /etc/ld.so.conf.d/foo.conf that contained "/usr/lib/foo" for foo.so as an override for /usr/lib/foo.so provided by some other package, this override would never be realized due to ffmpeg2.8.conf injecting /usr/lib in the search order before /usr/lib/foo.

/usr/lib never needs to be specified in these configuration files as it will be automatically added at the end.


Additional info:
* package version: 2.8.7-1
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 24 May 2016, 19:16 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#36390  and  FS#46464 
Comment by Doug Newgard (Scimmia) - Tuesday, 24 May 2016, 18:47 GMT
Without it, we run into problems like  FS#36357 
Comment by Kevin Mihelich (kmihelich) - Tuesday, 24 May 2016, 18:53 GMT
Breaking the expected functionality of ld.so.conf.d is not a solution. You are not the package maintainer, so assign the bug so that we can move forward with finding a resolution.

Loading...