Description of problem: Some DCMTK libraries (e.g., dcmimage) depend on libtiff.so, which is provided by libtiff-devel, but that package is not a dependency of dcmtk-devel Version-Release number of selected component (if applicable): dcmtk-devel-3.6.0-8.fc17.x86_64 libtiff-devel-3.9.7-1.fc17.x86_64 How reproducible: Install dcmtk-devel package on a system without libtiff-devel already installed. Try to link program against dcmimage library. Steps to Reproduce: 1. Install dcmtk-devel 2. Create c++ source file, /tmp/main.cxx containing "int main() { return 0; }" 3. Run "g++ -L/usr/lib64/dcmtk -ldcmimage -ldcmimgle -ldcmdata -lofstd -loflog -lpthread -lz -ltiff -lpng /tmp/main.cxx" Actual results: /usr/bin/ld: cannot find -ltiff /usr/bin/ld: cannot find -lpng Expected results: Program should link. Additional info: Leaving out "-ltiff" and "-lpng" produces: /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `png_create_info_struct' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `png_write_info' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `TIFFSetField' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `png_write_image' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `png_set_IHDR' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `png_destroy_write_struct' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `png_set_text' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `TIFFFlushData' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `png_init_io' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `TIFFCleanup' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `TIFFFdOpen' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `png_set_longjmp_fn' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `TIFFWriteScanline' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `png_convert_from_time_t' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `png_write_end' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `png_set_tIME' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `png_create_write_struct' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `png_access_version_number' /usr/lib64/dcmtk/libdcmimage.so: undefined reference to `TIFFGetVersion' so dcmimage definitely depends on libtiff and libpng.
Hello Torsten, thanks for reporting. I can reproduce the bug and I'll look into it. Mario
This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Re-targeting it to Rawhide to prevent accidental closure.
Sorry I forgot about this one. New spec is building in rawhide now...
dcmtk-3.6.0-14.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/dcmtk-3.6.0-14.fc19
Package dcmtk-3.6.0-14.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dcmtk-3.6.0-14.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-12739/dcmtk-3.6.0-14.fc19 then log in and leave karma (feedback).
dcmtk-3.6.0-14.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
This problem still exists. It is not enough to add Requires to the devel sub-package! At least the libdcmimage binary must actually be linked to libtiff and libpng.
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22
I'm not sure what I saw there, but the issue doesn't exist any longer.