English 中文(简体)
Libtool think that a "library was moved" but it isn t the case
原标题:

I am currently recompiling gtk+ and dependencies from source (I have no other choices).

All my custom packages are installed in a specific custom point (let s call it /packages) (it can seem odd but this time again, I have no other choices).

When I try to recompile pango, it needs freetype. Freetype is already installed in /packages/freetype/2.1.10/amd64-linux (lib, include ... are in this directory) and the different config path are set (LD_LIBRARY_PATH, LIBRARY_PATH, CPLUS_INCLUDE_PATH, INCLUDE_PATH, PKG_CONFIG_PATH). configuration of pango run well. It find freetype and generate the Makefile. When I try to make, I get the following error :

libtool: link: warning: library `/packages/freetype/2.1.10/amd64-linux//lib/libfreetype.la  was moved.
grep: /usr/local/lib/libfreetype.la: No such file or directory

libtool has a problem with my lib (but libfreetype.la exists in the directory /packages/freetype/2.1.10/amd64-linux//lib/and there s no problem of access). So libtool try to find it in the "classic places" like /usr/... and don t find it.

At the beginning, I thought that libtool get confused with the two slashes (probably due to an error in the --prefix flag during the compilation of freetype) so I did recompile freetype without the typo but it didn t change anything.

Has anybody an idea to help me ? I have never used libtool in my personnal projects before so I don t know if there s a way to solve this strange behavior... (It s maybe irrelevant but libtool is version 1.5.22)

Thanks in advance.

最佳回答

Have you looked inside the libfreetype.la file? Libtool .la files are just text files describing libraries. By default, they are commented. Search for the libdir and dependency_libs settings and check if they point to the right places.

问题回答

暂无回答




相关问题
Pointers in Lisp?

I ve started learning Lisp recently and wanted to write a program which uses gtk interface. I ve installed lambda-gtk bindings (on CMUCL). I want to have putpixel/getpixel ability on a pixbuf. But I ...

In Gtk, how do I make a Button with just a stock icon?

I want to create a button with the stock "Remove" icon on it, but without the text "Remove". If I use Button button = new Button(Stock.Remove);, I get the opposite: just the text, and no icon. I will ...

Using GtkMenu in Gtk+-2.14.0

I am building an application which has GtkMenu widget. I am using Glade RAD tool to develop UI and while creating project in Glade I have specified version of GTK as 2.16 which supports GtkMenu and ...

Can you set the FileFilters for a Gtk Dialog in Glade?

In my code, I have lines like this: Builder builder = new Builder(); builder.AddFromFile(gladefile); FileChooserDialog dialog = (FileChooserDialog) builder.GetObject("dialog"); FileFilter[] ...

热门标签