[Slackbuilds-users] issue with openimageio after pybind11 update

Tim Dickson dickson.tim at googlemail.com
Fri Jan 19 22:56:08 UTC 2024


since the pybind11 update opencolorio is no longer building for me.
at 86% it gives
[ 86%] Linking CXX executable ociolutimage
/usr/bin/ld: warning: libdcmimage.so.17, needed by 
/usr/lib64/libOpenImageIO.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libdcmimgle.so.17, needed by 
/usr/lib64/libOpenImageIO.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libdcmdata.so.17, needed by 
/usr/lib64/libOpenImageIO.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: liboflog.so.17, needed by 
/usr/lib64/libOpenImageIO.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libofstd.so.17, needed by 
/usr/lib64/libOpenImageIO.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`OFString::OFString()'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DcmStack::top() const'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`OFLog::configure(OFLogger::LogLevel)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DcmFileFormat::getDataset()'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`OFFilename::OFFilename(char const*, bool)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DcmItem::findAndGetFloat32(DcmTagKey const&, float&, unsigned long, bool)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DiRegister::DiRegister()'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DcmTag::getTagName()'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DcmFileFormat::loadFile(OFFilename const&, E_TransferSyntax, 
E_GrpLenEncoding, unsigned int, E_FileReadMode)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DicomImage::DicomImage(char const*, unsigned long, unsigned long, 
unsigned long)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DcmItem::findAndGetOFString(DcmTagKey const&, OFString&, unsigned long, 
bool)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DiRegister::~DiRegister()'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DcmFileFormat::DcmFileFormat()'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DcmItem::findAndGetSint32(DcmTagKey const&, int&, unsigned long, bool)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DcmItem::findAndGetUint32(DcmTagKey const&, unsigned int&, unsigned 
long, bool)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`OFString::~OFString()'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DcmStack::DcmStack()'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DcmStack::~DcmStack()'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DcmItem::findAndGetFloat64(DcmTagKey const&, double&, unsigned long, bool)'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`OFFilename::~OFFilename()'
/usr/bin/ld: /usr/lib64/libOpenImageIO.so: undefined reference to 
`DcmItem::findAndGetUint16(DcmTagKey const&, unsigned short&, unsigned 
long, bool)'
collect2: error: ld returned 1 exit status
make[2]: *** 
[src/apps/ociolutimage/CMakeFiles/ociolutimage.dir/build.make:100: 
src/apps/ociolutimage/ociolutimage] Error 1
make[1]: *** [CMakeFiles/Makefile2:1690: 
src/apps/ociolutimage/CMakeFiles/ociolutimage.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

I don't know why it's trying to link to libOpenImageIO files when it is 
not marked as a dependency (I do have openimageio-2.2.21.0-4 installed)
anyone else seeing this or got a fix?
thanks,Tim


More information about the SlackBuilds-users mailing list