Recently (#8102), libjpeg-turbo started building libraries to lib64 instead of lib on my machine.
I believe this is the culprit (in opencv's package.py):
if '+jpeg' in spec:
libjpeg = spec['jpeg']
args.extend([
'-DBUILD_JPEG:BOOL=OFF',
'-DJPEG_LIBRARY:FILEPATH={0}'.format(
join_path(libjpeg.prefix.lib,
'libjpeg.{0}'.format(dso_suffix))),
'-DJPEG_INCLUDE_DIR:PATH={0}'.format(libjpeg.prefix.include)
])
This does not consider the possibility that the path should be libjpeg.prefix.lib64.
I'm currently manually symlinking lib64/libjpeg.so to lib/libjpeg.so, as a stopgap.
- Does
libjpeg.prefix.lib64 exist, in the context above? Can it? Should it?
- Is there some way to get libjpeg-turbo to install to lib instead of lib64? None of the changes in libjpeg-turbo stood out as the reason it changed directories.
Recently (#8102), libjpeg-turbo started building libraries to lib64 instead of lib on my machine.
I believe this is the culprit (in opencv's package.py):
This does not consider the possibility that the path should be
libjpeg.prefix.lib64.I'm currently manually symlinking lib64/libjpeg.so to lib/libjpeg.so, as a stopgap.
libjpeg.prefix.lib64exist, in the context above? Can it? Should it?