Skip to content

Install fails: "Package osiconic was not found in the pkg-config search path" because stage directory isn't in PKG_CONFIG_PATH #2

@yurivict

Description

@yurivict
test -z "/usr/local/lib/pkgconfig" || /disk-samsung/freebsd-ports/math/osi-conic/work/OSI-CONIC-releases-1.0.0/install-sh -d "/disk-samsung/freebsd-ports/math/osi-conic/work/stage/usr/local/lib/pkgconfig"
 install  -m 0644 'osiconic.pc' '/disk-samsung/freebsd-ports/math/osi-conic/work/stage/usr/local/lib/pkgconfig/osiconic.pc'
gmake  install-data-hook
gmake[4]: Entering directory '/disk-samsung/freebsd-ports/math/osi-conic/work/OSI-CONIC-releases-1.0.0'
PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig: \
pkgconf --libs osiconic > /disk-samsung/freebsd-ports/math/osi-conic/work/stage/usr/local/share/coin/doc/OsiConic/osiconic_addlibs.txt
Package osiconic was not found in the pkg-config search path.
Perhaps you should add the directory containing `osiconic.pc'
to the PKG_CONFIG_PATH environment variable
Package 'osiconic', required by 'virtual:world', not found
gmake[4]: *** [Makefile:771: install-data-hook] Error 1

It is trying to find its own .pc file but fails to prepend the stage directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions