Message364

Author admin
Recipients
Date 2018-02-23.15:00:41
Content
[BitBucket user: Jukka Laaksola]
[BitBucket date: 2018-02-23.14:00:41]

Hi!

I'm trying to build static binary of the Orthanc 1.3.1 at RedHat Enterprise Linux Server 6.9. 

The server has old libjpeg and trying to use Orthanc's libjpeg. cmake command will download the thirdparty libjpeg from http://www.orthanc-server.com/downloads/third-party/jpegsrc.v9a.tar.gz to directory /jpeg-9a/.

The problem is it does not build libjpeg library.

Actually it does not matter if building static binary or dynamic with -DUSE_SYSTEM_LIBJPEG=OFF parameter.

The cmake command is following:
$ cmake  -DALLOW_DOWNLOADS=ON -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release ../

And the building is done with command:
$ make

The real problem comes at linking stage when these is no libjpeg available... There is also problems linking to Curl library.

There is attached log of the cmake and make commands.
History
Date User Action Args
2026-07-29 15:51:21adminlinkissue81 messages
2026-07-29 15:51:21admincreate