Re: [gtkmm] ANNOUNCE: gtkmm 2.2.2



Murray Cumming Comneon com wrote:

From: Andrew E. Makeev [mailto:andrew solvo ru]
Right, well, if you give us a real error report for the regular
configure/make build then that might help. Otherwise we
don't know anything
more than that the .spec.in files don't work. And that's no
great surprise.


Well, as I suspected - you cannot build and run gtkmm applications, using LIBS from "pkg-config --libs gtkmm-2.0", because shared library files are missing .so extension after configure, make install. Don't worry about LD_LIBRARY_PATH and PATH environment variables, everything set properly.

Please show us an error message of some kind. Maybe I'm just having a bad
day, but this seems unnecesarily frustrating.

It is obvious.

g++ -g -o test `pkg-config --libs --cflags gtkmm-2.0` test.cpp
/usr/bin/ld: cannot find -lgtkmm-2.0
collect2: ld returned 1 exit status

I heard, you may trace autoconf processing and see what it's doing. Probably, then you may discover why it generates shrext=".so" and library_names_spec=...{$shared_ext}... And I don't know why I am alone here who reported about that error... Oh wait! I know, people just didn't uninstall old library files and linker could find 'em instead of new... Well, well, good luck in fixing.

Regards,
-andrew





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