Thank you for your answer. My explanation was incomplete. My problem comes from a second stage library, a library made on libmesh.so or libmesh.a [ ex: libfoo ]
First I tried to make a library with example ex0 as in the tutorial : http://www.adp-gmbh.ch/cpp/gcc/create_lib.html The classic compilation with the makefile works perfectly but when creating the library, either I obtain "ar: -lz: No such file or directory" for a static library libex0.a or "segmentation fault (core dumped)" after compilation with shared libex0.so The segmentation fault seems to occur at instruction : libMesh::init(argc, argv); May be some libraries are not completely linked Maxime ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
