[ghemical-devel] automake and MPQC ; Makefile.include ok?
Tommi Hassinen
thassine@messi.uku.fi
Thu, 26 Aug 2004 15:52:35 +0300 (WET)
Thanks,
I added the patches other than libghemical->ghemical directory name change
today, and added them to CVS.
> > Then, linking the final ghemical executable has some other issues. It
> > appears that only the static library has the MPQC code added ; perhaps
> > that is how the shared libs are inteded to work but now the executable
> > linked into libghemical.so won't contain all of the MPQC code.
>
> I think that's because SC_LIBS did not get add to LDFLAGS. The above
> patch fixes this as well, I now get:
>
> nighthawk~/src/libghemical$ ldd src/.libs/libghemical.so.0.0.0
> libSCoptions.so.6 => /usr/lib/libSCoptions.so.6 (0x4070d000)
> libSCpsi.so.6 => /usr/lib/libSCpsi.so.6 (0x40711000)
> libSCmbpt.so.6 => /usr/lib/libSCmbpt.so.6 (0x40735000)
> libSCdft.so.6 => /usr/lib/libSCdft.so.6 (0x40784000)
> etc...
This did not work for me, but I seem have an oldish version of mpqc:
$ sc-config --version
2.1.3
$
Perhaps that explains something?
Regards,
Tommi