You are not logged in.

#1 2015-04-09 12:09:42

rubenvb
Member
Registered: 2011-01-14
Posts: 99

Is adding /usr/lib to /etc/ld.so.conf.d/00-system.conf a bad idea?

I recently noticed I was using AMD's libOpenCL (the ICD) because its path was being injected through the ld.so.conf.d configuration files.

I had installed another ICD, and was expecting to use the libOpenCL.so from /usr/lib, but I wasn't, so I created a file /etc/ld.so.conf.d/00-system.conf with a single line: /usr/lib, so that system libraries are used first.

Is this a bad idea in general and does this break anything? I know I'm relying on Arch to provide the latest (hopefully ABI backwards compatible) version of all libraries, but this shouldn't really be a problem, right?

Offline

Board footer

Powered by FluxBB