1) Delete the .la files. The libtool/linker will then pick up the .so files instead.
2) Add some -l linker options in the pkgconfig .pc files. The .la files encapsulated some dependent library information which now must be supplied explicitly to the linker. I don't have handy the exact libraries on which .pc files (or maybe the freetype-config script), but hopefully you can figure it out from the error messages.
My problem is I really am moving the libraries around. Since it doesn't seem like you are, I don't know why you get the same messages. It may indicate some problem with the search order, or the build process from one of the other packages (i.e. something linked into /usr/lib instead of /opt/target/lib). In any case, my workaround may provide some relief...
Good luck,
Jace Krull www.balatech.com
Peter Gasper wrote:
I am trying to compile the gtkFB libraries for a target system. gtkFB and all its dependencies have been installed with: ./configure --prefix=/opt/target --with-gdktarget=linux-fb
Additionally I have the following environmental variable declared: LD_LIBRARY_PATH=/opt/target/lib PKG_CONFIG_PATH=/opt/target/lib/pkgconfig In the make stage it errors out with the following errors: libtool: link: warning: `/opt/target/lib/libfreetype.la' seems to be moved libtool: link: warning: `/opt/target//lib/libpangoft2-1.0.la' seems to be moved libtool: link: warning: `/opt/target//lib/libpango-1.0.la' seems to be moved libtool: link: warning: `/opt/target//lib/libgobject-2.0.la' seems to be moved libtool: link: warning: `/opt/target//lib/libgmodule-2.0.la' seems to be moved libtool: link: warning: `/opt/target//lib/libglib-2.0.la' seems to be moved grep: /usr/lib/libgobject-2.0.la: No such file or directory /bin/sed: can't read /usr/lib/libgobject-2.0.la: No such file or directory libtool: link: `/usr/lib/libgobject-2.0.la' is not a valid libtool archive make[3]: *** [libgtk-linux-fb-2.0.la] Error 1 make[3]: Leaving directory `/home/pgasper/gtk+targetinstall/gtk+-2.2.2/gtk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/pgasper/gtk+targetinstall/gtk+-2.2.2/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/pgasper/gtk+targetinstall/gtk+-2.2.2' make: *** [all-recursive-am] Error 2
I don't know why it is giving those errors as those files exhist in /opt/target/lib/ Please shed some light on the subject and tell me what I'm doing wrong here. thanks