Bug 745277

Summary: dcmtk-devel should require CharLS-devel
Product: [Fedora] Fedora Reporter: Torsten Rohlfing <rohlfing>
Component: dcmtkAssignee: Mario Ceresa <mrceresa>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: lemenkov, mrceresa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dcmtk-3.6.0-6.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-20 16:30:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Torsten Rohlfing 2011-10-11 21:08:40 UTC
Description of problem:

In order to link against the DCMTK libraries from the dcmtk package, libCharLS.so (symlink) is required. This file is provided by CharLS-devel. But dcmtk/dcmtk-devel formally depend only on CharLS, which provides only /usr/lib64/libCharLS.so.1 (symlink) and /usr/lib64/libCharLS.so.1.0 (file).


Version-Release number of selected component (if applicable):

3.6.0

How reproducible:

Try to link against dcmtk libraries.

Steps to Reproduce:
1. Create /tmp/test.c as "int main() { return 0; }"
2. With CharLS-devel NOT installed, run

gcc -o testbin -L/usr/lib64/dcmtk -ldcmjpls -ldcmimgle -ldcmdata -lofstd -loflog -lpthread -lz -lCharLS /tmp/test.c

  
Actual results:

  /usr/bin/ld: cannot find -lCharLS


Expected results:

  Linking suceeds.

Additional info:

Comment 1 Fedora Update System 2011-10-19 15:39:52 UTC
dcmtk-3.6.0-6.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/dcmtk-3.6.0-6.fc14

Comment 2 Fedora Update System 2011-10-19 15:40:00 UTC
dcmtk-3.6.0-6.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/dcmtk-3.6.0-6.fc15

Comment 3 Mario Ceresa 2011-10-19 15:42:22 UTC
Hello Torsten! thanks for your report.

These updates should fix the problem:

https://admin.fedoraproject.org/updates/dcmtk-3.6.0-6.fc14
https://admin.fedoraproject.org/updates/dcmtk-3.6.0-6.fc15

Best,

Mario

Comment 4 Fedora Update System 2011-10-20 09:56:09 UTC
Package dcmtk-3.6.0-6.fc14:
* should fix your issue,
* was pushed to the Fedora 14 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-6.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14651
then log in and leave karma (feedback).

Comment 5 Torsten Rohlfing 2011-10-20 16:30:33 UTC
Works (tested on F15):

[root@axon cups]# rpm -e CharLS-devel
error: Failed dependencies:
        CharLS-devel is needed by (installed) dcmtk-devel-3.6.0-6.fc15.x86_64

Thanks! :)

Comment 6 Fedora Update System 2011-11-25 02:02:04 UTC
dcmtk-3.6.0-6.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2011-11-25 02:20:05 UTC
dcmtk-3.6.0-6.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.