Package Details: libxc 3.0.0-2

Git Clone URL: https://aur.archlinux.org/libxc.git (read-only)
Package Base: libxc
Description: library of exchange-correlation functionals for density-functional theory
Upstream URL: http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
Licenses: LGPL
Submitter: jspencer
Maintainer: jspencer
Last Packager: jspencer
Votes: 4
Popularity: 0.000449
First Submitted: 2012-04-13 01:45
Last Updated: 2016-10-01 19:17

Latest Comments

jspencer commented on 2017-01-04 21:27

Compiling gpaw is somewhat out of scope for the libxc package but the issue is with gpaw -- it hardcodes (in config.py) the python library and the assumption it uses for the naming scheme is no longer valid for python 3 (see https://www.python.org/dev/peps/pep-3149/ for details).

gpaw should instead use sysconfig.get_config_var('LDLIBRARY'). This can be done for earlier versions of python using distutils.sysconfig as well.

PandaScience commented on 2017-01-04 12:30

The linker looks for a file libpython3.5.so which is not present in /usr/lib. I had only the following libraries available:

/usr/lib/libpython2.7.so.1.0
/usr/lib/libpython3.5m.so -> libpython3.5m.so.1.0
/usr/lib/libpython3.5m.so.1.0
/usr/lib/libpython3.so

You can make it work by creating a soft link like this:
ln -s /usr/lib/libpython3.5m.so /usr/lib/libpython3.5.so

It's not a very clean solution however. Maybe someone can comment on why the python2 libs are named using major+minor version while the python3 is not.

jspencer commented on 2016-10-01 19:17

I've added the shared libraries (--enable-shared) rather than adding --with-pic.-- gpaw installation for me now fails due to linking to python 3.5 but I don't have any experience with gpaw compilation. Could you test? Thanks.

hcar commented on 2016-09-28 08:47

Can you please add the --with-pic option to ./configure? Otherwise
the installation of gpaw fails.

jspencer commented on 2016-02-15 20:43

'Updated' to 2.2.2. Note: this is actually the same as 2.1.2 except that the Fortran library is split out but it keeps getting flagged as out of date..

sctincman commented on 2014-02-24 16:49

No problem, thanks for updating&maintaining this :D

jspencer commented on 2014-02-23 22:37

Oops. I understand now. Thanks. Not sure how this worked before...

jspencer commented on 2014-02-23 22:17

Thanks. Got a link for that information? I couldn't see it anywhere online. I don't use octopus though...

sctincman commented on 2014-02-23 21:59

Just a heads up: in order to build Octopus this package needs the static library and libtool files included, which requires "options=(libtool static-libs)" in the PKGBUILD to do so.

jspencer commented on 2013-06-19 19:46

Hi,

Thanks for pointing this out.

The issue is better fixed with using the correct CPPFLAGS. I've updated the PKGBUILD accordingly.

I've just noticed that there's a new version (2.0.1) of libxc out. I'll upload this shortly.

All comments