Question

I am getting errors when I try to run my executable together with my shared library on AIX:

    Symbol __dbargs (number 191) is not exported from dependent
      module /opt/CA/SharedComponents/lib/libcfOSServices.a.
    Symbol __dbsubc (number 192) is not exported from dependent
      module /opt/CA/SharedComponents/lib/libcfOSServices.a.
    Symbol __dbsubg (number 193) is not exported from dependent
      module /opt/CA/SharedComponents/lib/libcfOSServices.a.
    Symbol __dbsubn (number 194) is not exported from dependent
      module /opt/CA/SharedComponents/lib/libcfOSServices.a.

According to my Google searches it could be remedied by removing the -g option during compilation and linking. But I would rather keep the debugging info there. Is it possible? I have even tried to add -lg, as some of my search results have suggested. It did not help either.

UPDATE

It turns adding explicit -lg does help.

Était-ce utile?

La solution

It turns adding explicit -lg does help.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top