Created on 2018-02-23.15:00:41 by admin, last changed by admin.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Type | Edit | Remove |
| cmake.log | admin, 2020-06-29.15:18:16 | text/plain | ||
| make.log | admin, 2020-06-29.15:18:15 | text/plain | ||
| Messages | |||
|---|---|---|---|
| msg364 (view) | Author: admin | Date: 2018-02-23.15:00:41 | |
[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. |
|||
| msg365 (view) | Author: admin | Date: 2020-06-29.15:18:15 | |
[Bugzilla user: s.jodogne@gmail.com] [Bugzilla date: 2020-06-29T13:18:15+00:00] Created attachment 80 make.log |
|||
| msg366 (view) | Author: admin | Date: 2020-06-29.15:18:16 | |
[Bugzilla user: s.jodogne@gmail.com] [Bugzilla date: 2020-06-29T13:18:16+00:00] Created attachment 81 cmake.log |
|||
| msg367 (view) | Author: admin | Date: 2018-02-23.15:43:10 | |
[BitBucket user: Sébastien Jodogne] [BitBucket date: 2018-02-23.14:43:10] Hello, I'm pretty sure the following changeset that is pending in the mainline will fix your linking issue: https://hg.orthanc-server.com/orthanc/changeset/cbb8deaacdf7aed7d4db067ab256546e9a74192b Please could you give a try? It will be part of Orthanc 1.3.2 release. |
|||
| msg368 (view) | Author: admin | Date: 2018-02-23.16:15:35 | |
[BitBucket user: Jukka Laaksola] [BitBucket date: 2018-02-23.15:15:35] Thank you Sébastian for the fast answer! That helped and now the linking will be done successfully. I will try at the Monday how the Orthanc is now working. Thanks again! |
|||
| msg369 (view) | Author: admin | Date: 2018-02-23.16:16:21 | |
[BitBucket user: Jukka Laaksola] [BitBucket date: 2018-02-23.15:16:21] Applied this patch and the linking is working. Thanks! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2026-07-29 15:51:21 | admin | create | |