Skip to content

OpenCT with USB support #8

@luiszunigacr

Description

@luiszunigacr

I'm trying to install openct-0.6.20 on CENTOS 7 following these instructions.
On the ./configure step I get this output:
`OpenCT has been configured with the following options:

Version: 0.6.20
Libraries: /usr/lib

doc support: no
api doc support: no
usb support: no
pcsc support: no
non-privileged support: #

Host: x86_64-unknown-linux-gnu
Compiler: gcc
Preprocessor flags: -DOPENCT_CONF_PATH=""$(sysconfdir)/openct.conf"" -DOPENCT_SOCKET_PATH=""$(OPENCT_SOCKET_PATH)"" -DOPENCT_MODULES_PATH=""$(ifddir)"" -DOPENCT_IFDHANDLER_PATH=""$(sbindir)/ifdhandler""
Compiler flags: -g -O2
Linker flags:
Libraries:

LIBUSB_CFLAGS: -I/usr/include
LIBUSB_LIBS: -L/usr/lib -lusb

PCSC_CFLAGS:
PCSC_LIBS:

bundledir:
ifddir: ${libdir}/ifd
udevdir:
hotplugdir:

daemon user: openctd
daemon groups: usb
`

I'm concerned about the usb support because I need to initialize and use a Nitrokey HSM, which is a USB device.
I set the environment variables LIBUSB_CFLAGS and LIBUSB_LIBS manually, since pkg-config didn't find libusb... In /usr/lib I have libusb-1.0.so.0.1.0 (and a link to this library called libusb-1.0.so.0) and in /usr/include I have usb.h. Any ideas on what could be wrong?

I already installed OpenSC, but it is not recognizing the Nitrokey, I think that is what I need OpenCT for, right?
Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions