Code Sample |
dsl@box:/opt/gtk+-2.10.9/usr/local/lib$ ls libpng.so libpng.so.3.1.2.8 libpng12.so.0 libpng.so.3 libpng12.so libpng12.so.0.1.2.8 |
Code Sample |
PNG_LIBS = -L/usr/local/lib -lpng PNG_CFLAGS = -I/usr/local/include |
Quote |
PNG_LIBS = -L/usr/local/lib -lpng PNG_CFLAGS = -I/usr/local/include |
Code Sample |
$ cp -a /opt/compile-3.3.5/include /opt $ export CPPFLAGS=-I/opt/include [libusb-0.1.12] $ ./configure --prefix=/opt/gtkam --enable-shared --disable-static [make, make install] $ sudo ln -s /opt/gtkam/bin/* /opt/bin $ export PKG_CONFIG_PATH=/opt/gtkam/lib/pkgconfig:/opt/cairo-1.2/lib/pkgconfig:/opt/gtk+2.10/lib/pkgconfig:/opt/xorg72/lib/pkgconfig [libexif-0.6.16] $ ./configure --prefix=/opt/gtkam --enable-shared --disable-static --disable-docs [make, make install] $ sudo ln -s /opt/gtkam/include/libexif/* /opt/gtkam/include [libexif-gtk-0.3.5] $ ./configure --prefix=/opt/gtkam --enable-shared --disable-static [make, make install] [libgphoto2-2.4.1] $ ./configure --prefix=/opt/gtkam --enable-shared --disable-static [make, make install] [gphoto2-2.4.1] $ ./configure --prefix=/opt/gtkam --enable-shared --disable-static [make, make install] [gtkam-0.1.15] $ ./configure --prefix=/opt/gtkam --enable-shared --disable-static Configuration (gtkam 0.1.15): Build Source code location: . Compiler: gcc Features Use translations: yes libgphoto2: yes bonobo support: no (bonobo-activation, bononoboui libs) Gnome support: no (gnomeui lib) GTKAM_C_IDENTIFIER: file:$(datadir)/gnome/help/gtkam/C/gtkam.xml Gimp support: no libexif: yes libexif-gtk: yes [make, make install] |
Code Sample |
$ LD_LIBRARY_PATH=/opt/gtkam/lib /opt/gtkam/bin/gtkam /opt/gtkam/bin/gtkam: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory [fix] $ sudo cp /opt/compile-3.3.5/lib/libltdl* /opt/gtkam/lib [redo *uci] |