- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
my problem is that the linker fails with:
ld: library not found for -llibfparser.a
when I use:
ifort -L/usr/local/lib/ -I/usr/local/include/fparser-v1.1/ -llibfparser.a test.f90
if I compile specifying the complete path all is OK
ifort -I/usr/local/include/fparser-v1.1/ /usr/local/lib/libfparser.a test.f90
this gives me the correct executable file.
There are two modules that are correctly seen through the -I switch what seems to not work is the -L switch.
Thanks
(sorry for my English)
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
According to Unix conventions, the command should be
ifort -I/usr/local/include/fparser-v1.1/ test.f90 -L/usr/local/lib -lfparser
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
According to Unix conventions, the command should be
ifort -I/usr/local/include/fparser-v1.1/ test.f90 -L/usr/local/lib -lfparser

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page