Hello Alexander,

thanks for your reply. Compiling the DCMTK source files with my project's
sources was not possible, but I have found a solution now. I had to
recompile the static DCMTK libs with -fPIC to generate position independent
code. Now DCMTK-part of my shared lib can be loaded dynamically too :)

Best regards

Marco

-----Ursprüngliche Nachricht-----
Von: Alexander Neundorf [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 27. April 2006 18:41
An: wedekind
Cc: [email protected]
Betreff: Re: [CMake] Missing symbols in library after successfull link to a
static lib on Linux

I don't know the exact details, but linking static libs to shared libs is 
problematic, you shouldn't do this. 
To have it work you would need special linker flags. 
Can you simply compile the source files of the static lib directly for 
the shared lib ? 
 
Bye 
Alex


_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to