Pergunta

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.

Foi útil?

Solução

It turns adding explicit -lg does help.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top