InternationalColorConsortium / DemoIccMAX

Demonstration Implementation for iccMAX color profiles
Other
121 stars 37 forks source link

export path libIccXML2.so.2 #63

Closed 24fpsDaVinci closed 4 months ago

24fpsDaVinci commented 7 months ago

for me the correct export path was export LD_LIBRARY_PATH=$HOME/.local/lib64:$LD_LIBRARY_PATH this is for the debug build flag in the instructions example

xsscx commented 4 months ago

Hello @24fpsDaVinci

Thank you for sharing your confirmed working export example, very helpful.

The existing instructions are: https://github.com/InternationalColorConsortium/DemoIccMAX/blob/55f4f773498a294d35fe5d26a6fd5909dda8d57f/Readme.md?plain=1#L343

A rough draft for your PR for the updated instructions may take the form of: ...

Linux Issues and Solutions

You may also need to set LD_LIBRARY_PATH to CMAKE_INSTALLPREFIX/lib so that libIccProfLib2.so and libIccXML.so shared libraries can be located at runtime.

Depending on the Host:

export LD_LIBRARY_PATH=$HOME/.local/lib:$LD_LIBRARY_PATH

or

export LD_LIBRARY_PATH=$HOME/.local/lib64:$LD_LIBRARY_PATH

... Submit a PR if you can, or I can add into my next PR.

Thank you for the confirmed datapoint, very helpful for all to reference.

xsscx commented 4 months ago

PR Merged in https://github.com/InternationalColorConsortium/DemoIccMAX/pull/83