Am Mittwoch, 9. Dezember 2009 schrieb Roger Oberholtzer:
I am trying to compile another company's proprietary library, and I have run in to something beyond my experience. The library is written in C++, and I am a C programmer. Anyway, all compiles and links ok, except that the following remains:
undefined symbol: __dso_handle
I have searched, and it seems this is often attributed to number of factors, including (1) an error in the system libraries, or (2) an incorrect mix of libraries when linking. I have no idea which is my problem. But item 1 indicates that I should check the system setup. So, I am. I see that SUSE's Andreas Jaeger has been part of the discussions way back. Otherwise, I have not noted any recent SUSE-specific references to this topic. A search on bugzilla and SUSE forums returned 0 references.
Anyone have this issue on openSUSE 11.2? Or anyone have any idea where one would start to look? I tried removing all the libraries I link with, but the reference remained (ldd -r on the .so). Not sure what that means. I also tried making an app with the library, just in case it is something that gets pulled in when an executable is made. No joy there. Perhaps I missed the library where this is defined?
Are you using ld for linking ? According to http://sourceware.org/ml/binutils/2002-11/msg00310.html only gcc can be used as linker for C++ on linux -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org