LD_LIBRARY_PATH must contain the path to libgdcm.so, no ?<br><br>[olivier@Olivier Recalage]$ ls /usr/local/lib/gdcm/<br>libgdcmjpeg12.so*  libgdcmjpeg16.so*  libgdcmjpeg8.so*  libgdcm.so*<br><br>Thx Olivier<br><br>PS: but I m really asking questions to myself. Normaly, when anyone wants to use gdcm, he installs cmake on his computer, then follow the installation rules indicated on the web site and then he is totally able to use gdcm, no ? Why doesn't it work like this for me ? :D <br>PS2: I ve just installed the mandriva community version (hope tomorrow I ll have the power pack) with gcc 343, but I have all the sames troubles as with mandrake 10.1 powerpack: must set GDCM_DIR, than add gdcm/file.h to get the correct path to my gdcm h files and then I m getting the error bellow.<br><br>----------------------------------------<br>What is the output of:<br><br>ls /usr/local/lib/gdcm/<br><br>Thanks<br>Mathieu<br><br><br>olivier.stern@swing.be wrote:<br>> Hello,<br>> <br>> sorry !
 to come
back on this subject, but I can't solve the problem. I've <br>> made:<br>> <br>> LD_LIBRARY_PATH=/usr/local/lib/gdcm/<br>> export LD_LIBRARY_PATH<br>> <br>> But the result is the same:<br>> <br>> /usr/bin/ld: cannot find -lgdcm<br>> <br>> Thanks a lot, Olivier<br>> <br>> ________________<br>> <br>> Hi,<br>> <br>> Your problem is the same you got with you gdcm.h not found : the gdcm<br>> library (libgdcm.so) is not in your library include path (eithier<br>> $LD_LIBRARY_PATH or included inline in the link line :<br>> -Lwherever_your_library_is -lgdcm instead of -lgdcm)<br>> <br>> /usr/bin/ld: cannot find -lgdcm ---> the linker can't find the gdcm<br>> library<br>> <br>> Yours,<br>> Emmanuel<br>> <br>> <br>> ------------------------------------------------------------------------<br>> <br>> _______________________________________________<br>> Dcmlib mailing list<br>> Dcmlib@creatis.insa-lyon.fr<br>> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib<br><br><br><br>