I am running KDE desktop and trying to build and install libfpx as first step in building GraphicsMagick to work with .fpx files.
The installation instructions included in the libfpx-master download from git suggest that the installation should put libfpx in /use/local/bin:-
Installation Names
By default,
make install' will install the package's files in
/usr/local/bin’,/usr/local/man', etc. You can specify an installation prefix other than
/usr/local’ by givingconfigure' the option
–prefix=PATH’.
Sadly libfpx has not appeared in this directory but I have no errors that I can see in the installation process. Here is what the installation did:-
Making install in fpx
make[1]: Entering directory '/home/alastair/Downloads/libfpx-master/fpx'
make[2]: Entering directory '/home/alastair/Downloads/libfpx-master/fpx'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/alastair/Downloads/libfpx-master/fpx'
make[1]: Leaving directory '/home/alastair/Downloads/libfpx-master/fpx'
make[1]: Entering directory '/home/alastair/Downloads/libfpx-master'
make[2]: Entering directory '/home/alastair/Downloads/libfpx-master'
/usr/bin/mkdir -p '/usr/local/lib64'
/bin/sh ./libtool --mode=install /usr/bin/install -c libfpx.la '/usr/local/lib64'
libtool: install: /usr/bin/install -c .libs/libfpx.so.1.0.31 /usr/local/lib64/libfpx.so.1.0.31
libtool: install: (cd /usr/local/lib64 && { ln -s -f libfpx.so.1.0.31 libfpx.so.1 || { rm -f libfpx.so.1 && ln -s lib
fpx.so.1.0.31 libfpx.so.1; }; })
libtool: install: (cd /usr/local/lib64 && { ln -s -f libfpx.so.1.0.31 libfpx.so || { rm -f libfpx.so && ln -s libfpx.
so.1.0.31 libfpx.so; }; })
libtool: install: /usr/bin/install -c .libs/libfpx.lai /usr/local/lib64/libfpx.la
libtool: install: /usr/bin/install -c .libs/libfpx.a /usr/local/lib64/libfpx.a
libtool: install: chmod 644 /usr/local/lib64/libfpx.a
libtool: install: ranlib /usr/local/lib64/libfpx.a
libtool: finish: PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin:/sbin" ldconfig -n /usr/local/lib
64
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib64
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/mkdir -p '/usr/local/include'
/usr/bin/install -c -m 644 fpxlib.h '/usr/local/include'
make[2]: Leaving directory '/home/alastair/Downloads/libfpx-master'
make[1]: Leaving directory '/home/alastair/Downloads/libfpx-master'
Well out of my depth here but I cannot see the part that tells me that the libfpx file should be in my /usr/local/bin directory. I ran the installation as sudo because otherwise the program refused to make directories in my system, which I assume is all as it should be. Have I messed up so far?