Package Details: dcmtk 3.6.6-3

Git Clone URL: (read-only, click to copy)
Package Base: dcmtk
Description: A collection of libraries and applications implementing large parts the DICOM standard
Upstream URL:
Licenses: Other
Submitter: Skatox
Maintainer: Skatox
Last Packager: Skatox
Votes: 53
Popularity: 1.10
First Submitted: 2008-11-07 13:14
Last Updated: 2021-06-23 03:54

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Skatox commented on 2021-06-23 03:50

Removed options=(), now it compiles. Sorry for any inconveniences

lahwaacz commented on 2021-06-21 07:18

The PKGBUILD contains

#Currently it's not building otherwise

which is false, the package builds just fine without overriding buildflags. Please remove this.

Skatox commented on 2021-06-21 00:46

Removed -lssl flag.

bartus commented on 2021-04-08 06:50

-lssl LDFLAGS hack is no longer required, you can safely drop it.

lahwaacz commented on 2021-04-06 07:26

libssh was removed from depends in the last update:

tavianator commented on 2021-04-05 18:36

Since libssh isn't a dependency, but -lssh is manually added to LDFLAGS for some reason, I get this:

-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at /usr/share/cmake-3.20/Modules/CMakeTestCCompiler.cmake:66 (message):
  The C compiler


  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /build/dcmtk/src/dcmtk-3.6.6/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/make -f Makefile cmTC_49963/fast && /usr/bin/make  -f CMakeFiles/cmTC_49963.dir/build.make CMakeFiles/cmTC_49963.dir/build
    make[1]: Entering directory '/build/dcmtk/src/dcmtk-3.6.6/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_49963.dir/testCCompiler.c.o
    /usr/bin/cc    -o CMakeFiles/cmTC_49963.dir/testCCompiler.c.o -c /build/dcmtk/src/dcmtk-3.6.6/CMakeFiles/CMakeTmp/testCCompiler.c
    Linking C executable cmTC_49963
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_49963.dir/link.txt --verbose=1
    /usr/bin/cc -lssh -lz  CMakeFiles/cmTC_49963.dir/testCCompiler.c.o -o cmTC_49963 
    /usr/bin/ld: cannot find -lssh
    collect2: error: ld returned 1 exit status
    make[1]: *** [CMakeFiles/cmTC_49963.dir/build.make:99: cmTC_49963] Error 1
    make[1]: Leaving directory '/build/dcmtk/src/dcmtk-3.6.6/CMakeFiles/CMakeTmp'
    make: *** [Makefile:127: cmTC_49963/fast] Error 2

Removing -lssh from LDFLAGS fixes it.

Skatox commented on 2021-04-03 20:11

@jas added your suggestions. And @haawda, thanks for the collaboration.

haawda commented on 2021-03-22 20:04


# Author: Miguel Useche <>
# Maintainer: Miguel Useche <>
# Contributor: Xiao-Long Chen <>

pkgdesc="A collection of libraries and applications implementing large parts the DICOM standard"
arch=('i686' 'x86_64')
depends=('zlib' 'libpng' 'libtiff' 'libxml2' 'openssl' 'libssh' 'libwrap')
makedepends=('cmake' 'make')

#Currently it's not building otherwise

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  # Fix linker flags
  export LDFLAGS="-lssh -lz ${LDFLAGS}"

  # Use CMake instead of autotools (./configure)
  # Must build from the root directory or the man pages won't get installed
  cmake . \

  make ${MAKEFLAGS}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}/" install

  # Move configuration files from /usr/etc to /etc
  mv "${pkgdir}/usr/etc/" "${pkgdir}/"

  # Remove empty files (0 length)
  find "${pkgdir}" -type f -empty -exec rm -v {} \;

jas commented on 2021-02-04 17:50

Just curious: Where does the libssh dependency in the PKGBUILD come from? DCMTK doesn't use it. The list of DCMTK's third party dependencies is given here: Perhaps consider adding a dependency to libiconv or ICU instead, in case someone needs better character set conversion support than provided by the glibc.

lahwaacz commented on 2019-05-18 10:47

Yes, it works. Also note that installing the directory ${pkgdir}/usr/lib/ [1] is useless, it already exists since make install.