/usr/bin/../lib/libpangoft2-1.0.so.0: undefined reference to `g_assertion_message_expr'



Hi everybody,

I'm trying to use a specific version of gtkmm (2.12.7) for my
application. So, I use jhbuild and installed the gtkmm 2.12.-7 int the
/target directory.

But when I try to compile I get the following error:

g++ MyApp.cpp main.cpp `export
PKG_CONFIG_PATH=/target/lib/pkgconfig;pkg-config gtkmm-2.4 glibmm-2.4
gthread-2.0 --cflags --libs` -o MyApp
/usr/bin/../lib/libpangoft2-1.0.so.0: undefined reference to
`g_assertion_message_expr'
collect2: ld returned 1 exit status
make: *** [linux] Error 1

One thing that I discover is that if I set the LD_LIBRARY_PATH to the
/target/lib the application compiles successfully! Is this the only
way to fix the problem?

Thanks in advance!
Paulo Flabiano Smorigo


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