Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    PKG_CONFIG_PATH not working


    as the title says, it is pointing to /usr/local/lib/pkg-config
    however, when I try
    Code:
    PKG_CONFIG_PATH=/usr/lib/pkg-config
    and/or
    Code:
    export PKG_CONFIG_PATH=/usr/lib/pkg-config
    it still points to /usr/local/lib/pkg-config

    It is a common problem (google search and lf search) but so far no solutions have worked.

    slackware 10.1, 2.6.10

    thanks in advance
    Brilliant Mediocrity - Making Failure Look Good

  2. #2
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    well if this is needed all the time then set an 'enviromental varible'
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  3. #3
    Quote Originally Posted by loft306
    well if this is needed all the time then set an 'enviromental varible'
    what like this
    Code:
    PKG_CONFIG_PATH=/usr/lib/pkg-config:$PATH:$/usr/local/lib/pkg-config
    Brilliant Mediocrity - Making Failure Look Good

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •