Re: Problem linking hdf5-libs in gfortran on SUSE
You should provide in your post...
The package info about your library
Code:
zypper info packagename
Although the above should be good enough for your post, you might include but should run for your own info anyway the following which describes your package contents
Code:
rpm -ql packagename
The above should be all that's necessary to know what is installed and where on your system but if you want to verify on your system, I use the "locate" utility which works instantaneously fast compared to slower utilities like find...
To install locate
After installation, although its database updates automatically every 24 hrs, we don't want to wait a day so want to populate the database immediately (or immediately after any significant changes) with the following
Now, you can "locate" any file or file including a partial path (for instance if you want only binaries prepend "/bin/" to your file name)
You should also include information about what you are trying to do...
- If there is a published guide you're following or source like a git project, provide the URL to the guide or project you're following.
- Oftentimes there is an INSTALL file or other file that describes building your project or source. If this is the case, provide a URL to that file or describe how it can be found (in the package or source?).
Lastly, it's <critical> that you display the errors you get verbatim. This typically means either extracting the errors from a logfile (or posting the entire logfile to a pastebin and providing a link to that in your Forum post) or copying the error lines out of your windowed console (possible in most openSUSE consoles which are automatically enhanced) using your choice of the following
1. Highlight the lines to be copied and use the console's Edit menu selections
2. Highlight the lines to be copied and clicking CTL-SHFT-C
3. Re-run the command but re-direct console output to file, the following is an example for re-directing make output to a file called "make_log.txt"
Code:
make > make_log.text
Like any other kind of script, a makefile can be built specific to a specific architecture like MacOS or a specific distro instead of using relative paths. In this case, you either have to modify the makefile yourself or message with the authors of the file/project for modifications.
TSU
-
Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
Solved a problem recently? Create a wiki page for future personal reference!
Learn something new?
Attended a computing event?
Post and Share!
Bookmarks