On 5/28/03 12:30 AM, "Mich�le Garoche" <[EMAIL PROTECTED]> wrote:
> I've just issued a fink selfupdate-cvs, fink update-all. Fink wanted to > update gcc3 and g77. After hours of compiling, I get the following: > gcc .libs/h5dumpS.o -O2 -o .libs/h5dump h5dump.o > ../lib/.libs/libh5tools.a -L/sw/lib -L../../src/.libs -lhdf5 -lz -lm > ld: Undefined symbols: > _H5Tis_variable_str This is actually happening while compiling hdf5. The problem is the "-L/sw/lib"; the existing installation of libhdf5 in /sw/lib will be the one that is linked to, and not the one that is in ../../src/.libs, which comes later in that line. But it looks like the new libhdf5 has this symbol HSTis_variable_str that the old one does not. I was able to do "fink remove hdf5" (remove the old version) and then "fink update-all"; this way the old library wasn't there to interfere. You might be able to do that, or you might run into dependency problems trying to remove it. In that case you are going to have to pull some kind of a hack. It doesn't look like "/sw/lib" is specified anywhere in the file /sw/fink/10.2/unstable/main/finkinfo/sci/hdf5-1.4.5-1.info So I think the -L/sw/lib part is coming from your environment variables. Check for this in things like LIBRARY_PATH or CFLAGS, unset those, and try to update-all again (you don't need to modify any files; just change the variables in the current shell). -Chad ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
