[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OTB packaging



> thanks for the fixes. Now it builds and installs fine, but on running I
> get an error:
>
> otbApplicationLauncherCommandLine
> otbApplicationLauncherCommandLine: error while loading shared libraries:
> libOTBWrapperCommandLine.so.4.2: cannot open shared object file: No such
> file or
> directory
>
> even though:
>
> $ locate libOTBWrapperCommandLine
> /usr/lib/otb/libOTBWrapperCommandLine.so
> /usr/lib/otb/libOTBWrapperCommandLine.so.4.2
> /usr/lib/otb/libOTBWrapperCommandLine.so.4.2.1

/usr/lib/otb is not in the library search path.

Those libraries need to be installed in /usr/lib or /usr/lib/otb needs to
be added to the search path, preferably the former.

As a workaround you can create /etc/ld.so.conf.d/otb.conf with
/usr/lib/otb as its content and run ldconfig.

Kind Regards,

Bas


Reply to: