AIX run time error: Symbol __dbargs (number 191) is not exported from dependent

StackOverflow https://stackoverflow.com/questions/17741423

  •  03-06-2022
  •  | 
  •  

سؤال

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.

هل كانت مفيدة؟

المحلول

It turns adding explicit -lg does help.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top