Re: glade_xml_signal_autoconnect cannot find functions NOT in shared libs?



On Fri, 2007-07-20 at 09:10 -0500, david hagood gmail com wrote:
[...]
Unfortunately, it didn't work for me, but thanks for the ideas to try.

Hi, what you need is "-Wl,--export-dynamic" in your app's link stage.

Its not good enough to add that "just anywhere" on the command line,
linker arguments have to be in specific orders.

You can:
  a.) play with the order in which you feed "-Wl,--export-dynamic"
      (you should find the recipe pretty quick)
  b.) use `pkg-config --libs gmodule-2.0` which will automatically
      add the "-Wl,--export-dynamic" in the right place (provided
      you are already using pkg-config)

Cheers,
               -Tristan





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