Compiling error
Jong Cheol Jeong
utjustinjeong at yahoo.com
Fri May 29 22:08:06 EDT 2015
Thank you very much.
I have successfully installed OpenSlide.
As you said my problem was OpenJPEG 32bit.
I compiled OpenJPEG2.1 source code under current 64 bit system and then installed it.
One last thing I did was defining LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/home/justin/local/bin/openjpeg/usr/local/lib:/home/justin/local/bin/openslide/lib
Again, thank you very much for your help.
— Justin
On May 29, 2015, at 4:56 PM, Benjamin Gilbert <bgilbert at cs.cmu.edu> wrote:
> On 2015-05-29 11:19, Justin JEONG wrote:
>> OPENJPEG2_LIBS=-L/home/justin/local/bin/openjpeg-2.1.0-Linux-i386/lib
>
> This fails because you have not included -lopenjp2. If you add it, you
> will get the error below.
>
>> /usr/bin/ld: skipping incompatible
>> /home/justin/local/bin/openjpeg-2.1.0-Linux-i386/lib/libopenjp2.so
>> when searching for -lopenjp2
>
> It appears that you are trying to build a 64-bit OpenSlide and link it
> to a 32-bit OpenJPEG.
>
> --Benjamin Gilbert
>
> _______________________________________________
> openslide-users mailing list
> openslide-users at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users
More information about the openslide-users
mailing list